Skip to content

Commit

Permalink
[gitlab] contaiener_deploy: fix missing targets (#30790)
Browse files Browse the repository at this point in the history
  • Loading branch information
truthbk committed Nov 6, 2024
1 parent 0bf64ee commit 0f97d17
Showing 1 changed file with 18 additions and 13 deletions.
31 changes: 18 additions & 13 deletions .gitlab/deploy_containers/deploy_containers_a7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ include:
extends: .docker_publish_job_definition
stage: deploy_containers
dependencies: []
before_script:
- if [[ "$VERSION" == "" ]]; then VERSION="$(inv agent.version --url-safe --pipeline-id $PARENT_PIPELINE_ID)-ot-beta" || exit $?; fi
- export IMG_SOURCES="${SRC_AGENT}:v${PARENT_PIPELINE_ID}-${CI_COMMIT_SHORT_SHA}-7-ot-beta${JMX}-amd64,${SRC_AGENT}:v${PARENT_PIPELINE_ID}-${CI_COMMIT_SHORT_SHA}-7-ot-beta${JMX}-arm64"
- export IMG_DESTINATIONS="${AGENT_REPOSITORY}:${VERSION}${JMX}"

deploy_containers-a7:
extends: .deploy_containers-a7_external
Expand All @@ -59,6 +63,11 @@ deploy_containers-a7-ot:
extends: .deploy_containers-a7-base-ot
rules:
!reference [.manual_on_deploy_auto_on_rc-ot]
parallel:
matrix:
- JMX:
- ""
- "-jmx"

deploy_containers-a7-rc:
extends: .deploy_containers-a7_external
Expand All @@ -73,6 +82,11 @@ deploy_containers-a7-ot-rc:
!reference [.on_rc-ot]
variables:
VERSION: 7-ot-beta-rc
parallel:
matrix:
- JMX:
- ""
- "-jmx"

deploy_containers-dogstatsd:
extends: .docker_publish_job_definition
Expand Down Expand Up @@ -105,24 +119,15 @@ deploy_containers-a7-ot_internal:
extends: .deploy_containers-a7-base-ot
rules:
!reference [.on_internal_final-ot]
before_script:
- if [[ "$VERSION" == "" ]]; then VERSION="$(inv agent.version --url-safe --pipeline-id $PARENT_PIPELINE_ID)" || exit $?; fi
- export IMG_SOURCES="${SRC_AGENT}:v${PARENT_PIPELINE_ID}-${CI_COMMIT_SHORT_SHA}-7-ot-beta${JMX}-amd64,${SRC_AGENT}:v${PARENT_PIPELINE_ID}-${CI_COMMIT_SHORT_SHA}-7-ot-beta${JMX}-arm64"
- export IMG_DESTINATIONS="${AGENT_REPOSITORY}:${VERSION}-ot-beta${JMX}"
parallel:
matrix:
- JMX:
- ""
- "-jmx"
variables:
JMX: "-jmx"

deploy_containers-a7-ot_internal-rc:
extends: .deploy_containers-a7-base-ot
rules:
!reference [.on_internal_rc-ot]
before_script:
- if [[ "$VERSION" == "" ]]; then VERSION="$(inv agent.version --url-safe --pipeline-id $PARENT_PIPELINE_ID)" || exit $?; fi
- export IMG_SOURCES="${SRC_AGENT}:v${PARENT_PIPELINE_ID}-${CI_COMMIT_SHORT_SHA}-7-ot-beta${JMX}-amd64,${SRC_AGENT}:v${PARENT_PIPELINE_ID}-${CI_COMMIT_SHORT_SHA}-7-ot-beta${JMX}-arm64"
- export IMG_DESTINATIONS="${AGENT_REPOSITORY}:${VERSION}-ot-beta${JMX}"
variables:
VERSION: 7-ot-beta-rc
parallel:
matrix:
- JMX:
Expand Down

0 comments on commit 0f97d17

Please sign in to comment.