Commit 14a2c183 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

refactor(yaml): replace anchors with ref tags

parent faf35967
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -472,7 +472,7 @@ stages:
    - name: "$TBC_TRACKING_IMAGE"
      command: ["--service", "{{ cookiecutter.project_slug }}", "1.0.0"]
  before_script:
    - *{{ cookiecutter.template_prefix }}-scripts
    - !reference [.{{ cookiecutter.template_prefix }}-scripts]
    - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}"
  # Cache downloaded dependencies and plugins between builds.
  # To keep cache across branches add 'key: "$CI_JOB_NAME"'
@@ -554,7 +554,7 @@ stages:
  extends: .{{ cookiecutter.template_prefix }}-base
  stage: publish
  before_script:
    - *{{ cookiecutter.template_prefix }}-scripts
    - !reference [.{{ cookiecutter.template_prefix }}-scripts]
    # verify ${{ cookiecutter.template_PREFIX }}_PUBLISH_LOGIN and ${{ cookiecutter.template_PREFIX }}_PUBLISH_PASSWORD are set
    - assert_defined "${{ cookiecutter.template_PREFIX }}_PUBLISH_LOGIN" 'Missing required env ${{ cookiecutter.template_PREFIX }}_PUBLISH_LOGIN'
    - assert_defined "${{ cookiecutter.template_PREFIX }}_PUBLISH_PASSWORD" 'Missing required env ${{ cookiecutter.template_PREFIX }}_PUBLISH_PASSWORD'
@@ -582,7 +582,7 @@ stages:
    - name: "$TBC_TRACKING_IMAGE"
      command: ["--service", "{{ cookiecutter.project_slug }}", "1.0.0"]
  before_script:
    - *{{ cookiecutter.template_prefix }}-scripts
    - !reference [.{{ cookiecutter.template_prefix }}-scripts]
    - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}"
    - {{ cookiecutter.template_prefix }}_login

@@ -757,7 +757,7 @@ stages:
    paths:
      - .cache/
  before_script:
    - *{{ cookiecutter.template_prefix }}-scripts
    - !reference [.{{ cookiecutter.template_prefix }}-scripts]
    - install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}"
    - eval_env_url
    - cd "${{ cookiecutter.template_PREFIX }}_ROOT_DIR"