Skip to content

Commit

Permalink
Remove unnecessarily duplicated variable declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
azangru committed Oct 10, 2024
1 parent 7d39b5f commit 0b6bc68
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ stages:
variables:
CONTAINER_IMAGE: ${CI_REGISTRY_IMAGE}:nginx-${CI_COMMIT_SHORT_SHA}
CONTAINER_NODE_IMAGE: ${CI_REGISTRY_IMAGE}:node-${CI_COMMIT_SHORT_SHA}
KUBE_CONTEXT: ens-dev-ctx
ENVIRONMENT: production
DOCKER_TLS_CERTDIR: ""

Expand Down Expand Up @@ -198,8 +197,6 @@ Test_N_Build:review:
# main branch -> Staging, Live
Node:Live:
extends: .build-node
variables:
CONTAINER_NODE_IMAGE: ${CI_REGISTRY_IMAGE}:node-${CI_COMMIT_SHORT_SHA}
rules:
- if: $CI_COMMIT_BRANCH == "main"
needs:
Expand Down Expand Up @@ -237,7 +234,6 @@ Node:review:
Live:
extends: .deploy
variables:
CONTAINER_NODE_IMAGE: ${CI_REGISTRY_IMAGE}:node-${CI_COMMIT_SHORT_SHA}
AGENT: ${PROD_AGENT}
NAMESPACE: ${PROD_NS}
environment:
Expand Down Expand Up @@ -270,8 +266,6 @@ Pub:Live:
LiveFallback:
extends: .deploy
variables:
CONTAINER_IMAGE: ${CI_REGISTRY_IMAGE}:nginx-${CI_COMMIT_SHORT_SHA}
CONTAINER_NODE_IMAGE: ${CI_REGISTRY_IMAGE}:node-${CI_COMMIT_SHORT_SHA}
AGENT: ${FALLBACK_AGENT}
NAMESPACE: ${FALLBACK_NS}
environment:
Expand Down Expand Up @@ -338,7 +332,6 @@ Dev:
extends: .deploy
stage: deploy-preview
variables:
CONTAINER_NODE_IMAGE: ${CI_REGISTRY_IMAGE}:node-${CI_COMMIT_SHORT_SHA}
AGENT: ${DEV_AGENT}
NAMESPACE: ${DEV_NS}
environment:
Expand Down

0 comments on commit 0b6bc68

Please sign in to comment.