Loading {{cookiecutter.project_slug}}/templates/gitlab-ci-{{cookiecutter.project_slug}}.yml +4 −4 Original line number Diff line number Diff line Loading @@ -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"' Loading Loading @@ -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' Loading Loading @@ -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 Loading Loading @@ -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" Loading Loading
{{cookiecutter.project_slug}}/templates/gitlab-ci-{{cookiecutter.project_slug}}.yml +4 −4 Original line number Diff line number Diff line Loading @@ -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"' Loading Loading @@ -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' Loading Loading @@ -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 Loading Loading @@ -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" Loading