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

Run a KUDO deployment for E2E testing #1243

Merged
merged 2 commits into from
Jan 8, 2020
Merged

Run a KUDO deployment for E2E testing #1243

merged 2 commits into from
Jan 8, 2020

Conversation

nfnt
Copy link
Member

@nfnt nfnt commented Jan 2, 2020

What this PR does / why we need it:
A Docker image of the KUDO manager is built and deployed in the E2E test cluster.
This is done by adding the build KUDO image to the KinD cluster and changing the 'kubctl kudo init' output to ensure that this image will be used when deploying KUDO.

Fixes #1177

@nfnt nfnt force-pushed the nfnt/extend-e2e-testing branch 12 times, most recently from a7c8fde to 265d9dc Compare January 6, 2020 09:11
A Docker image of the KUDO manager is built and deployed in the E2E test cluster.
This is done by adding the build KUDO image to the KinD cluster and changing the 'kubctl kudo init' output to ensure that this image will be used when deploying KUDO.
@nfnt nfnt self-assigned this Jan 6, 2020
@nfnt nfnt marked this pull request as ready for review January 6, 2020 09:54

./bin/kubectl-kudo init --dry-run --output yaml \
| sed -E -e "/image:/ s/:[[:alnum:]]+/:$VERSION/" -e '/imagePullPolicy/ s/Always/Never/' \
> test/manifests/kudo.yaml
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we should have a file in test/manifests/kudo.yaml with a note that the file will be overwritten all the time? Just to prevent that somebody tries to put a static config there?

Copy link
Member Author

Choose a reason for hiding this comment

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

Good point! The tests currently creates artifacts all over the place and doesn't bother with cleaning up temporaries once they're done. This is something that need to be fixed at some point, but independently from this PR. How about having a separate manifests folder for these generated files?

Co-Authored-By: Andreas Neumann <aneumann@mesosphere.com>
Copy link
Contributor

@zen-dog zen-dog left a comment

Choose a reason for hiding this comment

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

🚢

@nfnt nfnt merged commit 20bdc93 into master Jan 8, 2020
@nfnt nfnt deleted the nfnt/extend-e2e-testing branch January 8, 2020 12:35
ANeumann82 added a commit that referenced this pull request Feb 13, 2020
A Docker image of the KUDO manager is built and deployed in the E2E test cluster.
This is done by adding the build KUDO image to the KinD cluster and changing the 'kubectl kudo init' output to ensure that this image will be used when deploying KUDO.


Co-Authored-By: Andreas Neumann <aneumann@mesosphere.com>
Signed-off-by: Andreas Neumann <aneumann@mesosphere.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve E2E testing
4 participants