Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Staging image testing #532

Merged
merged 3 commits into from
Mar 24, 2020
Merged

Staging image testing #532

merged 3 commits into from
Mar 24, 2020

Conversation

Conky5
Copy link
Contributor

@Conky5 Conky5 commented Mar 19, 2020

Add a multijob for performing tests with staging images based on a
BUILD_ID.

The terraform helper now can create a docker registry secret in
kubernetes.

The bumper scripts now adds an imagePullSecrets entry to support
pulling from the private registry, and additionally handling to ensure
goss tests work when using BUILD_ID values as a bumped version.

Allow the makefile help generator to support goals that include
numbers.

- [ ] Chart version not bumped (the versions are all bumped and released at the same time)
- [ ] README.md updated with any new values or changes
- [ ] Updated template tests in ${CHART}/tests/*.py
- [ ] Updated integration tests in ${CHART}/examples/*/test/goss.yaml

@Conky5 Conky5 requested a review from a team March 19, 2020 17:56
jmlrt
jmlrt previously approved these changes Mar 20, 2020
Copy link
Member

@jmlrt jmlrt left a comment

Choose a reason for hiding this comment

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

Just not sure that we need to run bumper script before GKE cluster creation/cleaning, the rest LGTM

unset VAULT_ROLE_ID VAULT_SECRET_ID
set -x

env BUMPER_VERSION_7="$BUILD_ID" BUMPER_USE_STAGING_IMAGES="true" ./helpers/bumper.py
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need to run the bumper script before creating GKE clusters?

unset VAULT_ROLE_ID VAULT_SECRET_ID
set -x

env BUMPER_VERSION_7="$BUILD_ID" BUMPER_USE_STAGING_IMAGES="true" ./helpers/bumper.py
Copy link
Member

Choose a reason for hiding this comment

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

Why do we need to run the bumper script before cleaning GKE clusters?

Conky5 added 3 commits March 23, 2020 14:50
Add a multijob for performing tests with staging images based on a
BUILD_ID.

The terraform helper now can create a docker registry secret in
kubernetes.

The bumper scripts now adds an `imagePullSecrets` entry to support
pulling from the private registry, and additionally handling to ensure
goss tests work when using BUILD_ID values as a bumped version.

Allow the makefile help generator to support goals that include
numbers.
jmlrt
jmlrt previously approved these changes Mar 24, 2020
Copy link
Member

@jmlrt jmlrt left a comment

Choose a reason for hiding this comment

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

@jmlrt
Copy link
Member

jmlrt commented Mar 24, 2020

https://devops-ci.elastic.co/job/elastic+helm-charts+pull-request+cluster-creation/436/ is failing because GKE dropped K8S 1.13 support, you'll need to rebase on master to include #533 which fix CI tests.

@Conky5
Copy link
Contributor Author

Conky5 commented Mar 24, 2020

@jmlrt I've rebased and removed the extra calls to the version bump script, please take another look.

Copy link
Member

@jmlrt jmlrt left a comment

Choose a reason for hiding this comment

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

@Conky5 Conky5 merged commit 2cdf960 into elastic:master Mar 24, 2020
@Conky5 Conky5 deleted the docker-registry-staging branch March 24, 2020 15:29
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants