Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use elasticsearch operator 4.2, add workflow for 4.1 #631

Merged
merged 4 commits into from
Sep 11, 2019

Conversation

pavolloffay
Copy link
Member

@pavolloffay pavolloffay commented Sep 2, 2019

  • Deploy ES 4.2 by default
  • Add workflow to test ES operator 4.1

Es operator 4.2 uses operator SDK v0.7.0. I think we should keep copied ES CR model files to allows us to update SDK to newer versions e.g. #609

Signed-off-by: Pavol Loffay [email protected]

@pavolloffay
Copy link
Member Author

@jpkrohling any idea why CI is failing?

@jpkrohling
Copy link
Contributor

Probably because of actions/checkout#23. For the record, I'm currently seeing other CI failures as well, like timeouts to get code from git.apache.org:

go: git.apache.org/[email protected]: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /home/runner/go/pkg/mod/cache/vcs/83dba939f95a790e497d565fc4418400145a1a514f955fa052f662d56e920c3e: exit status 128:
	fatal: unable to access 'https://git.apache.org/thrift.git/': Failed to connect to git.apache.org port 443: Connection timed out

@pavolloffay
Copy link
Member Author

We should build an image with the vendor deps and just mount it :)

Signed-off-by: Pavol Loffay <[email protected]>
Makefile Outdated Show resolved Hide resolved
TEST_GROUP: ${{ matrix.TEST_GROUP }}
ES_OPERATOR_BRANCH: release-4.1
ES_OPERATOR_IMAGE: quay.io/openshift/origin-elasticsearch-operator:4.1
run: ./.ci/run-e2e-tests.sh
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should it run all e2e tests here, or just the es ones?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The original OCP workflow run es-self-provisioned test group. This file is just copied to run the same CI as before.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jpkrohling Thoughts - should it just be limited to run the self provisioned tests? and also update the other workflow aswell?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@objectiser It seems like a separate issue/discussion. Could you please create an issue to discuss which tests should be run on OCP?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should it just be limited to run the self provisioned tests? and also update the other workflow aswell?

Good question. I think I would still like to know if something is broken when using an externally managed ES. It might have been limited first for development purposes, and I probably forgot to enable it for the other tests.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am might be missing something, but it seems to me we are talking about different things here.

There is a test for externally managed elasticsearch - the group name is es. The question is whether we want to run it on openshift, at the moment we run it only on k8s.

I think externally managed elasticsearch test on openshift is not very important. However there might be other tests more suitable to run on Openshift e.g. test oauth proxy (I am not sure if there is such a test).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok will open a separate issue.

Makefile Outdated Show resolved Hide resolved
Signed-off-by: Pavol Loffay <[email protected]>
.github/workflows/e2e-openshift-4.1.yaml Outdated Show resolved Hide resolved
.github/workflows/e2e-openshift-4.1.yaml Outdated Show resolved Hide resolved
@pavolloffay
Copy link
Member Author

I have addressed all comments. CI passed.

@objectiser objectiser merged commit cbaf830 into jaegertracing:master Sep 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants