-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release Cluster Agent as part of Agent release (#12943)
- Loading branch information
1 parent
e665d8d
commit 5050a5e
Showing
10 changed files
with
101 additions
and
96 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
# FIXME: our current Gitlab version doesn't support importing a file more than once | ||
# For now, the workaround is to include "common" files once in the top-level .gitlab-ci.yml file | ||
# See: https://gitlab.com/gitlab-org/gitlab/-/issues/28987 | ||
# include: | ||
# - /.gitlab/docker_common/publish_job_templates.yml | ||
|
||
# | ||
# DCA image tagging & manifest publication | ||
# | ||
|
||
.deploy_containers-dca-base: | ||
extends: .docker_publish_job_definition | ||
stage: deploy_dca | ||
dependencies: [] | ||
before_script: | ||
- if [[ "$VERSION" == "" ]]; then export VERSION="$(inv -e agent.version --major-version 7 --url-safe)"; fi | ||
- export IMG_BASE_SRC="${SRC_DCA}:v${CI_PIPELINE_ID}-${CI_COMMIT_SHORT_SHA}" | ||
- export IMG_SOURCES=""${IMG_BASE_SRC}-amd64,${IMG_BASE_SRC}-arm64" | ||
- export IMG_DESTINATIONS="cluster-agent:${VERSION}" | ||
|
||
|
||
deploy_containers-dca: | ||
extends: .deploy_containers-dca-base | ||
rules: | ||
!reference [.on_deploy_a7_manual_auto_on_rc] | ||
|
||
|
||
deploy_containers-dca-rc: | ||
extends: .deploy_containers-dca-base | ||
rules: | ||
!reference [.on_deploy_a7_rc] | ||
variables: | ||
VERSION: rc | ||
|
||
|
||
deploy_containers-dca-latest: | ||
extends: .deploy_containers-dca-base | ||
rules: | ||
!reference [.on_deploy_a7_manual_final] | ||
variables: | ||
VERSION: latest |
This file contains 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
This file contains 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
This file contains 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
4 changes: 4 additions & 0 deletions
4
releasenotes-dca/notes/align-cluster-agent-release-4982c92b9a9c596f.yaml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
other: | ||
- | | ||
Align Cluster Agent version to Agent version. Cluster Agent will now be released with 7.x.y tags |
This file contains 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