Loading capif/.gitlab-ci.yml +5 −5 Original line number Diff line number Diff line Loading @@ -30,13 +30,13 @@ stages: variables: GITLAB_API: "https://labs.etsi.org/api/v4" CI_JOB_TOKEN: $CI_JOB_TOKEN # CI_JOB_TOKEN: $CI_JOB_TOKEN CI_DEBUG_TRACE: "true" PROJECT_ID: "294" SAST_EXCLUDED_ANALYZERS: "nodejs-scan" CI_REGISTRY_USER: $CI_REGISTRY_USER CI_REGISTRY: $CI_REGISTRY CAPIF_DOCKER_REGISTRY: $CAPIF_DOCKER_REGISTRY # CI_REGISTRY_USER: $CI_REGISTRY_USER # CI_REGISTRY: $CI_REGISTRY # CAPIF_DOCKER_REGISTRY: $CAPIF_DOCKER_REGISTRY .main_common: &main_common Loading Loading @@ -230,7 +230,7 @@ main_build_and_push: - export TMP_PWD=$PWD - echo "TMP_PWD=$TMP_PWD" - echo "### docker login###" - docker login --username $CI_REGISTRY_USER --password $CAPIF_DOCKER_REGISTRY $CI_REGISTRY - echo "$CI_JOB_TOKEN" | docker login $CI_REGISTRY --username $CI_REGISTRY_USER --password-stdin - echo "----------------------------------------------------" - echo "### build and push nginx image###" - cd $TMP_PWD/services/nginx/ Loading capif/templates/cd-deploy-ocf.gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -11,13 +11,13 @@ variables: DOMAIN_STAGING: ocf.validation DOMAIN_DEV: ocf.develop DOMAIN_PROD: prod.int CI_JOB_TOKEN: $CI_JOB_TOKEN # CI_JOB_TOKEN: $CI_JOB_TOKEN IMAGE_TAG_DEV: $CI_COMMIT_REF_SLUG IMAGE_TAG_STAGING: $CI_COMMIT_REF_SLUG VAULT_HOSTNAME: $VAULT_HOSTNAME VAULT_PORT: $VAULT_PORT VAULT_ACCESS_TOKEN: $VAULT_ACCESS_TOKEN CI_REGISTRY: $CI_REGISTRY # CI_REGISTRY: $CI_REGISTRY .staging_common: &staging_common only: Loading capif/templates/ci_dev.gitlab-ci.yml +0 −1 Original line number Diff line number Diff line Loading @@ -128,7 +128,6 @@ dev_build_and_push: - export TMP_PWD=$PWD - echo "TMP_PWD=$TMP_PWD" - echo "### docker login###" # - docker login --username $CI_REGISTRY_USER --password $CAPIF_DOCKER_REGISTRY $CI_REGISTRY - echo "$CI_JOB_TOKEN" | docker login $CI_REGISTRY --username $CI_REGISTRY_USER --password-stdin - echo "----------------------------------------------------" - echo "### build and push nginx image###" Loading capif/templates/ci_staging.gitlab-ci.yml +4 −4 Original line number Diff line number Diff line Loading @@ -10,11 +10,11 @@ stages: - staging_build_and_push_mr variables: CI_JOB_TOKEN: $CI_JOB_TOKEN # CI_JOB_TOKEN: $CI_JOB_TOKEN CI_DEBUG_TRACE: "false" CI_REGISTRY_USER: $CI_REGISTRY_USER CI_REGISTRY: $CI_REGISTRY CAPIF_DOCKER_REGISTRY: $CAPIF_DOCKER_REGISTRY # CI_REGISTRY_USER: $CI_REGISTRY_USER # CI_REGISTRY: $CI_REGISTRY # CAPIF_DOCKER_REGISTRY: $CAPIF_DOCKER_REGISTRY .staging_common: &staging_common only: Loading capif/templates/ci_unit_test.gitlab-ci.yml +4 −4 Original line number Diff line number Diff line Loading @@ -2,11 +2,11 @@ stages: - staging_unit_tests variables: CI_JOB_TOKEN: $CI_JOB_TOKEN # CI_JOB_TOKEN: $CI_JOB_TOKEN CI_DEBUG_TRACE: "false" CI_REGISTRY_USER: $CI_REGISTRY_USER CI_REGISTRY: $CI_REGISTRY CAPIF_DOCKER_REGISTRY: $CAPIF_DOCKER_REGISTRY # CI_REGISTRY_USER: $CI_REGISTRY_USER # CI_REGISTRY: $CI_REGISTRY # CAPIF_DOCKER_REGISTRY: $CAPIF_DOCKER_REGISTRY .staging_common: &staging_common only: Loading Loading
capif/.gitlab-ci.yml +5 −5 Original line number Diff line number Diff line Loading @@ -30,13 +30,13 @@ stages: variables: GITLAB_API: "https://labs.etsi.org/api/v4" CI_JOB_TOKEN: $CI_JOB_TOKEN # CI_JOB_TOKEN: $CI_JOB_TOKEN CI_DEBUG_TRACE: "true" PROJECT_ID: "294" SAST_EXCLUDED_ANALYZERS: "nodejs-scan" CI_REGISTRY_USER: $CI_REGISTRY_USER CI_REGISTRY: $CI_REGISTRY CAPIF_DOCKER_REGISTRY: $CAPIF_DOCKER_REGISTRY # CI_REGISTRY_USER: $CI_REGISTRY_USER # CI_REGISTRY: $CI_REGISTRY # CAPIF_DOCKER_REGISTRY: $CAPIF_DOCKER_REGISTRY .main_common: &main_common Loading Loading @@ -230,7 +230,7 @@ main_build_and_push: - export TMP_PWD=$PWD - echo "TMP_PWD=$TMP_PWD" - echo "### docker login###" - docker login --username $CI_REGISTRY_USER --password $CAPIF_DOCKER_REGISTRY $CI_REGISTRY - echo "$CI_JOB_TOKEN" | docker login $CI_REGISTRY --username $CI_REGISTRY_USER --password-stdin - echo "----------------------------------------------------" - echo "### build and push nginx image###" - cd $TMP_PWD/services/nginx/ Loading
capif/templates/cd-deploy-ocf.gitlab-ci.yml +2 −2 Original line number Diff line number Diff line Loading @@ -11,13 +11,13 @@ variables: DOMAIN_STAGING: ocf.validation DOMAIN_DEV: ocf.develop DOMAIN_PROD: prod.int CI_JOB_TOKEN: $CI_JOB_TOKEN # CI_JOB_TOKEN: $CI_JOB_TOKEN IMAGE_TAG_DEV: $CI_COMMIT_REF_SLUG IMAGE_TAG_STAGING: $CI_COMMIT_REF_SLUG VAULT_HOSTNAME: $VAULT_HOSTNAME VAULT_PORT: $VAULT_PORT VAULT_ACCESS_TOKEN: $VAULT_ACCESS_TOKEN CI_REGISTRY: $CI_REGISTRY # CI_REGISTRY: $CI_REGISTRY .staging_common: &staging_common only: Loading
capif/templates/ci_dev.gitlab-ci.yml +0 −1 Original line number Diff line number Diff line Loading @@ -128,7 +128,6 @@ dev_build_and_push: - export TMP_PWD=$PWD - echo "TMP_PWD=$TMP_PWD" - echo "### docker login###" # - docker login --username $CI_REGISTRY_USER --password $CAPIF_DOCKER_REGISTRY $CI_REGISTRY - echo "$CI_JOB_TOKEN" | docker login $CI_REGISTRY --username $CI_REGISTRY_USER --password-stdin - echo "----------------------------------------------------" - echo "### build and push nginx image###" Loading
capif/templates/ci_staging.gitlab-ci.yml +4 −4 Original line number Diff line number Diff line Loading @@ -10,11 +10,11 @@ stages: - staging_build_and_push_mr variables: CI_JOB_TOKEN: $CI_JOB_TOKEN # CI_JOB_TOKEN: $CI_JOB_TOKEN CI_DEBUG_TRACE: "false" CI_REGISTRY_USER: $CI_REGISTRY_USER CI_REGISTRY: $CI_REGISTRY CAPIF_DOCKER_REGISTRY: $CAPIF_DOCKER_REGISTRY # CI_REGISTRY_USER: $CI_REGISTRY_USER # CI_REGISTRY: $CI_REGISTRY # CAPIF_DOCKER_REGISTRY: $CAPIF_DOCKER_REGISTRY .staging_common: &staging_common only: Loading
capif/templates/ci_unit_test.gitlab-ci.yml +4 −4 Original line number Diff line number Diff line Loading @@ -2,11 +2,11 @@ stages: - staging_unit_tests variables: CI_JOB_TOKEN: $CI_JOB_TOKEN # CI_JOB_TOKEN: $CI_JOB_TOKEN CI_DEBUG_TRACE: "false" CI_REGISTRY_USER: $CI_REGISTRY_USER CI_REGISTRY: $CI_REGISTRY CAPIF_DOCKER_REGISTRY: $CAPIF_DOCKER_REGISTRY # CI_REGISTRY_USER: $CI_REGISTRY_USER # CI_REGISTRY: $CI_REGISTRY # CAPIF_DOCKER_REGISTRY: $CAPIF_DOCKER_REGISTRY .staging_common: &staging_common only: Loading