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

skip child stages for testing

parent 013c064d
No related branches found
No related tags found
1 merge request!1042fix ingestion message catching for autocalibration
Pipeline #6468 passed
...@@ -7,8 +7,8 @@ stages: ...@@ -7,8 +7,8 @@ stages:
- test-coverage - test-coverage
- push - push
- deploy-coverage-page - deploy-coverage-page
- generate-yaml # - generate-yaml
- trigger # - trigger
- deploy - deploy
# - e2e-test # e2e tests disabled # - e2e-test # e2e tests disabled
- .post - .post
...@@ -300,93 +300,93 @@ pages: ...@@ -300,93 +300,93 @@ pages:
rules: rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
# Generate PEX builder yaml for child pipeline ## Generate PEX builder yaml for child pipeline
pex generate yaml: #pex generate yaml:
stage: generate-yaml # stage: generate-yaml
image: python:3.8-slim # image: python:3.8-slim
before_script: # before_script:
- apt update && apt install -y git # - apt update && apt install -y git
- pip install pyyaml # - pip install pyyaml
script: # script:
- DEPLOY_ENV=${DEPLOY_ENV} ./ci/bin/generate-yaml.py # - DEPLOY_ENV=${DEPLOY_ENV} ./ci/bin/generate-yaml.py
rules: # rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
changes: # changes:
- apps/cli/executables/pexable/**/* # - 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]+/' # - if: '$CI_COMMIT_TAG =~ /^end-of-sprint-[0-9]+/ || $CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]+/'
variables: # variables:
# override DEPLOY_ENV # # override DEPLOY_ENV
DEPLOY_ENV: "test" # DEPLOY_ENV: "test"
- if: '$CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+$/' # - if: '$CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+$/'
variables: # variables:
DEPLOY_ENV: "prod" # DEPLOY_ENV: "prod"
artifacts: # artifacts:
paths: # paths:
- generated-pex-build-pipeline.yml # - generated-pex-build-pipeline.yml
#
# Trigger child pipeline based on generated PEX builder yaml ## Trigger child pipeline based on generated PEX builder yaml
pex child pipeline: #pex child pipeline:
stage: trigger # stage: trigger
trigger: # trigger:
include: # include:
- artifact: generated-pex-build-pipeline.yml # - artifact: generated-pex-build-pipeline.yml
job: pex generate yaml # job: pex generate yaml
strategy: depend # strategy: depend
rules: # rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
changes: # changes:
- apps/cli/executables/pexable/**/* # - 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]+/' # - if: '$CI_COMMIT_TAG =~ /^end-of-sprint-[0-9]+/ || $CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]+/'
variables: # variables:
# override DEPLOY_ENV # # override DEPLOY_ENV
DEPLOY_ENV: "test" # DEPLOY_ENV: "test"
- if: '$CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+$/' # - if: '$CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+$/'
variables: # variables:
DEPLOY_ENV: "prod" # DEPLOY_ENV: "prod"
#
# Generate go builder yaml for child pipeline ## Generate go builder yaml for child pipeline
go generate yaml: #go generate yaml:
stage: generate-yaml # stage: generate-yaml
image: python:3.8-slim # image: python:3.8-slim
before_script: # before_script:
- apt update && apt install -y git # - apt update && apt install -y git
- pip install pyyaml # - pip install pyyaml
script: # script:
- DEPLOY_ENV=${DEPLOY_ENV} ./ci/bin/generate-go-yaml.py # - DEPLOY_ENV=${DEPLOY_ENV} ./ci/bin/generate-go-yaml.py
rules: # rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
changes: # changes:
- apps/cli/executables/go/**/* # - 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]+/' # - if: '$CI_COMMIT_TAG =~ /^end-of-sprint-[0-9]+/ || $CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]+/'
variables: # variables:
# override DEPLOY_ENV # # override DEPLOY_ENV
DEPLOY_ENV: "test" # DEPLOY_ENV: "test"
- if: '$CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+$/' # - if: '$CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+$/'
variables: # variables:
DEPLOY_ENV: "prod" # DEPLOY_ENV: "prod"
artifacts: # artifacts:
paths: # paths:
- generated-go-build-pipeline.yml # - generated-go-build-pipeline.yml
#
# Trigger child pipeline based on generated go builder yaml ## Trigger child pipeline based on generated go builder yaml
go child pipeline: #go child pipeline:
stage: trigger # stage: trigger
trigger: # trigger:
include: # include:
- artifact: generated-go-build-pipeline.yml # - artifact: generated-go-build-pipeline.yml
job: go generate yaml # job: go generate yaml
strategy: depend # strategy: depend
rules: # rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH # - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
changes: # changes:
- apps/cli/executables/go/**/* # - 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]+/' # - if: '$CI_COMMIT_TAG =~ /^end-of-sprint-[0-9]+/ || $CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+-rc[0-9]+/'
variables: # variables:
# override DEPLOY_ENV # # override DEPLOY_ENV
DEPLOY_ENV: "test" # DEPLOY_ENV: "test"
- if: '$CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+$/' # - if: '$CI_COMMIT_TAG =~ /[0-9]+\.[0-9]+\.[0-9]+$/'
variables: # variables:
DEPLOY_ENV: "prod" # DEPLOY_ENV: "prod"
# Development # Development
deploy: 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