[templates] Add E2E.gitlab-ci.yml reusable storage-e2e pipeline#91
Open
duckhawk wants to merge 3 commits into
Open
[templates] Add E2E.gitlab-ci.yml reusable storage-e2e pipeline#91duckhawk wants to merge 3 commits into
duckhawk wants to merge 3 commits into
Conversation
Port of the storage-e2e GitHub reusable workflow to GitLab: resolve -> bootstrap -> run -> teardown jobs driving cmd/bootstrap-cluster, cmd/remove-cluster and e2e-run-tests.sh via the commander provider. Runs on the storage-test runner, gated on the e2e/commander/run MR label, config-driven with defaults so a module connects it with a single include line plus the e2e/e2e_teardown stages. Signed-off-by: v.oleynikov <vasily.oleynikov@flant.com>
Go marks module-cache dirs read-only (0555); with GOMODCACHE inside $CI_PROJECT_DIR, GitLab's git clean between jobs failed with Permission denied and aborted e2e jobs on the persistent shell runner. Move all Go state under $HOME/.cache, set GIT_CLEAN_FLAGS: none, and purge any stale in-checkout caches in before_script. Signed-off-by: v.oleynikov <vasily.oleynikov@flant.com>
…r name Rename templates/E2E.gitlab-ci.yml -> templates/storage-e2e.gitlab-ci.yml. The resolve job now appends a random 4-char hex suffix (e.g. -a5b6) to the per-MR namespace/cluster name so each run is unique and two runs never collide on the same cluster. Signed-off-by: v.oleynikov <vasily.oleynikov@flant.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a reusable GitLab CI template that ports the storage-e2e GitHub reusable workflow: resolve -> bootstrap -> run -> teardown jobs driving cmd/bootstrap-cluster, cmd/remove-cluster and e2e-run-tests.sh via the commander provider.
Consumers connect it with a single include line plus the e2e/e2e_teardown stages. Already in use by csi-huawei (e2e passing 9/9) and wired into csi-hpe/csi-netapp/csi-s3.
These are the commits currently released on the v14.0 branch.