Skip to content
Snippets Groups Projects
Commit 71a1d0a6 authored by Charlotte Hausman's avatar Charlotte Hausman
Browse files

turn pipeline stages back on

parent af6e2e99
No related branches found
No related tags found
1 merge request!1042fix ingestion message catching for autocalibration
Pipeline #6471 passed
This commit is part of merge request !1042. Comments created here will be created in the context of that merge request.
......@@ -7,8 +7,8 @@ stages:
- test-coverage
- push
- deploy-coverage-page
# - generate-yaml
# - trigger
- generate-yaml
- trigger
- deploy
# - e2e-test # e2e tests disabled
- .post
......@@ -300,93 +300,93 @@ pages:
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
## Generate PEX builder yaml for child pipeline
#pex generate yaml:
# stage: generate-yaml
# image: python:3.8-slim
# before_script:
# - apt update && apt install -y git
# - pip install pyyaml
# script:
# - DEPLOY_ENV=${DEPLOY_ENV} ./ci/bin/generate-yaml.py
# rules:
# - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
# changes:
# - apps/cli/executables/pexable/**/*
# - if: '$CI_COMMIT_TAG =~ /^end-of-sprint-[0-9]+/ || $CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]+/'
# variables:
# # override DEPLOY_ENV
# DEPLOY_ENV: "test"
# - if: '$CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+$/'
# variables:
# DEPLOY_ENV: "prod"
# artifacts:
# paths:
# - generated-pex-build-pipeline.yml
#
## Trigger child pipeline based on generated PEX builder yaml
#pex child pipeline:
# stage: trigger
# trigger:
# include:
# - artifact: generated-pex-build-pipeline.yml
# job: pex generate yaml
# strategy: depend
# rules:
# - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
# changes:
# - apps/cli/executables/pexable/**/*
# - if: '$CI_COMMIT_TAG =~ /^end-of-sprint-[0-9]+/ || $CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]+/'
# variables:
# # override DEPLOY_ENV
# DEPLOY_ENV: "test"
# - if: '$CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+$/'
# variables:
# DEPLOY_ENV: "prod"
#
## Generate go builder yaml for child pipeline
#go generate yaml:
# stage: generate-yaml
# image: python:3.8-slim
# before_script:
# - apt update && apt install -y git
# - pip install pyyaml
# script:
# - DEPLOY_ENV=${DEPLOY_ENV} ./ci/bin/generate-go-yaml.py
# rules:
# - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
# changes:
# - apps/cli/executables/go/**/*
# - if: '$CI_COMMIT_TAG =~ /^end-of-sprint-[0-9]+/ || $CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]+/'
# variables:
# # override DEPLOY_ENV
# DEPLOY_ENV: "test"
# - if: '$CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+$/'
# variables:
# DEPLOY_ENV: "prod"
# artifacts:
# paths:
# - generated-go-build-pipeline.yml
#
## Trigger child pipeline based on generated go builder yaml
#go child pipeline:
# stage: trigger
# trigger:
# include:
# - artifact: generated-go-build-pipeline.yml
# job: go generate yaml
# strategy: depend
# rules:
# - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
# changes:
# - apps/cli/executables/go/**/*
# - if: '$CI_COMMIT_TAG =~ /^end-of-sprint-[0-9]+/ || $CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]+/'
# variables:
# # override DEPLOY_ENV
# DEPLOY_ENV: "test"
# - if: '$CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+$/'
# variables:
# DEPLOY_ENV: "prod"
# Generate PEX builder yaml for child pipeline
pex generate yaml:
stage: generate-yaml
image: python:3.8-slim
before_script:
- apt update && apt install -y git
- pip install pyyaml
script:
- DEPLOY_ENV=${DEPLOY_ENV} ./ci/bin/generate-yaml.py
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
changes:
- apps/cli/executables/pexable/**/*
- if: '$CI_COMMIT_TAG =~ /^end-of-sprint-[0-9]+/ || $CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]+/'
variables:
# override DEPLOY_ENV
DEPLOY_ENV: "test"
- if: '$CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+$/'
variables:
DEPLOY_ENV: "prod"
artifacts:
paths:
- generated-pex-build-pipeline.yml
# Trigger child pipeline based on generated PEX builder yaml
pex child pipeline:
stage: trigger
trigger:
include:
- artifact: generated-pex-build-pipeline.yml
job: pex generate yaml
strategy: depend
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
changes:
- apps/cli/executables/pexable/**/*
- if: '$CI_COMMIT_TAG =~ /^end-of-sprint-[0-9]+/ || $CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]+/'
variables:
# override DEPLOY_ENV
DEPLOY_ENV: "test"
- if: '$CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+$/'
variables:
DEPLOY_ENV: "prod"
# Generate go builder yaml for child pipeline
go generate yaml:
stage: generate-yaml
image: python:3.8-slim
before_script:
- apt update && apt install -y git
- pip install pyyaml
script:
- DEPLOY_ENV=${DEPLOY_ENV} ./ci/bin/generate-go-yaml.py
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
changes:
- apps/cli/executables/go/**/*
- if: '$CI_COMMIT_TAG =~ /^end-of-sprint-[0-9]+/ || $CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]+/'
variables:
# override DEPLOY_ENV
DEPLOY_ENV: "test"
- if: '$CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+$/'
variables:
DEPLOY_ENV: "prod"
artifacts:
paths:
- generated-go-build-pipeline.yml
# Trigger child pipeline based on generated go builder yaml
go child pipeline:
stage: trigger
trigger:
include:
- artifact: generated-go-build-pipeline.yml
job: go generate yaml
strategy: depend
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
changes:
- apps/cli/executables/go/**/*
- if: '$CI_COMMIT_TAG =~ /^end-of-sprint-[0-9]+/ || $CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]+/'
variables:
# override DEPLOY_ENV
DEPLOY_ENV: "test"
- if: '$CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+$/'
variables:
DEPLOY_ENV: "prod"
# Development
deploy:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment