Commit 21a66fd4 authored by Jakob Lambert-Hartmann's avatar Jakob Lambert-Hartmann
Browse files

added verifier

parent 99d5272f
Pipeline #133373 failed with stages
in 8 seconds
.auto-deploy:
image: "registry.gitlab.com/gitlab-org/cluster-integration/auto-deploy-image:latest"
image: "quay.io/buildah/stable:v1.23.1"
variables:
PROJECT_NAME: template
# persistent volume "name:mountpoint:space [...]"
PERSISTENT_VOLUMES: ""
# secrets "name:mountpoint [...]
SECRETS: ""
MAX_MEM: "1Gi"
MAX_CPU: "1"
APP_PORT: "8545" # Specify the main communication port to the App. This port will be used to determine if service is online. (default 5000)
INGRESS_PORT: "8545" # Specify the port exposed externally via nginx as a web app. (default 5000)
INTERNAL_PORTS: "8546" # Specify additional ports exposed to the cluster, separated by space. (default none)
EXTERNAL_PORTS: "30303" # Specify additional ports exposed to the world, separated by space. (default node)
POSTGRES_ENABLED: "false"
STORAGE_DRIVER: "overlay"
BUILDAH_FORMAT: "docker"
BUILDAH_ISOLATION: "chroot"
ROLLOUT_RESOURCE_TYPE: deployment
KUBE_INGRESS_BASE_DOMAIN: test.bloxberg.org
GIT_SUBMODULE_STRATEGY: recursive
ENV_NUT_PIPELINE_STAGING: "pipeline staging"
ENV_QA_PIPELINE_QA: "pipeline qa"
ENV_PRODUCTION_PIPELINE_PRODUCTION: "pipeline production"
ENV_THOTH_PIPELINE_THOTH: "pipeline thoth"
ENV_NUT_PIPELINE_NUT: "pipeline nut"
stages:
- build
- publish
- staging
- qa
- production
build:
stage: build
script:
- bloxberg-pipeline-template/.pipeline/build/buildah
rules:
- if: $CI_COMMIT_BRANCH # Execute jobs when a new commit is pushed to master branch
- if: $CI_MERGE_REQUEST_ID # Execute jobs in merge request context
registry:
stage: publish
script:
- bloxberg-pipeline-template/.pipeline/publish/buildah
rules:
- if: $CI_COMMIT_BRANCH # Execute jobs when a new commit is pushed to master branch
dependencies:
- build
nut start stage:
extends: .auto-deploy
stage: staging
dependencies: []
script:
- source bloxberg-pipeline-template/.pipeline/env
- auto-deploy check_kube_domain
- auto-deploy download_chart
- auto-deploy ensure_namespace
- auto-deploy initialize_tiller
- auto-deploy create_secret
- bloxberg-pipeline-template/.pipeline/staging/dns-record
- auto-deploy deploy
environment:
name: nut/staging
url: https://$CI_PROJECT_PATH_SLUG.nut.$KUBE_INGRESS_BASE_DOMAIN
on_stop: nut stop stage
when: manual
nut stop stage:
extends: .auto-deploy
stage: staging
variables:
GIT_STRATEGY: none
dependencies: []
script:
- auto-deploy initialize_tiller
- auto-deploy delete
environment:
name: nut/staging
action: stop
when: manual
thoth start stage:
extends: .auto-deploy
stage: staging
dependencies: []
script:
- source bloxberg-pipeline-template/.pipeline/env
- auto-deploy check_kube_domain
- auto-deploy download_chart
- auto-deploy ensure_namespace
- auto-deploy initialize_tiller
- auto-deploy create_secret
- bloxberg-pipeline-template/.pipeline/staging/dns-record
- auto-deploy deploy
environment:
name: thoth/staging
url: https://$CI_PROJECT_PATH_SLUG.thoth.$KUBE_INGRESS_BASE_DOMAIN
on_stop: thoth stop stage
when: manual
thoth stop stage:
extends: .auto-deploy
stage: staging
variables:
GIT_STRATEGY: none
dependencies: []
script:
- auto-deploy initialize_tiller
- auto-deploy delete
environment:
name: thoth/staging
action: stop
when: manual
nut start qa:
extends: .auto-deploy
stage: qa
dependencies: []
script:
- source bloxberg-pipeline-template/.pipeline/env
- auto-deploy check_kube_domain
- auto-deploy download_chart
- auto-deploy ensure_namespace
- auto-deploy initialize_tiller
- bloxberg-pipeline-template/.pipeline/qa/dns-record
- bloxberg-pipeline-template/.pipeline/qa/deploy
environment:
name: nut/qa
url: https://$PROJECT_NAME.qa.nut.$KUBE_INGRESS_BASE_DOMAIN
on_stop: nut stop qa
when: manual
nut stop qa:
extends: .auto-deploy
stage: qa
dependencies: []
script:
- auto-deploy initialize_tiller
- auto-deploy delete
- bloxberg-pipeline-template/.pipeline/qa/stop
environment:
name: nut/qa
action: stop
when: manual
thoth start qa:
extends: .auto-deploy
stage: qa
dependencies: []
script:
- source bloxberg-pipeline-template/.pipeline/env
- auto-deploy check_kube_domain
- auto-deploy download_chart
- auto-deploy ensure_namespace
- auto-deploy initialize_tiller
- bloxberg-pipeline-template/.pipeline/qa/dns-record
- bloxberg-pipeline-template/.pipeline/qa/deploy
environment:
name: thoth/qa
url: https://$PROJECT_NAME.qa.thoth.$KUBE_INGRESS_BASE_DOMAIN
on_stop: thoth stop qa
when: manual
thoth stop qa:
extends: .auto-deploy
stage: qa
dependencies: []
script:
- auto-deploy initialize_tiller
- auto-deploy delete
- bloxberg-pipeline-template/.pipeline/qa/stop
environment:
name: thoth/qa
action: stop
when: manual
prod nut GWDG:
extends: .auto-deploy
stage: production
dependencies: []
script:
- source bloxberg-pipeline-template/.pipeline/env
- auto-deploy check_kube_domain
- auto-deploy download_chart
- auto-deploy ensure_namespace
- auto-deploy initialize_tiller
- auto-deploy create_secret
- auto-deploy deploy
environment:
name: nut/production
url: https://$PROJECT_NAME.nut.$KUBE_INGRESS_BASE_DOMAIN
only:
refs:
- stable
when: manual
prod thoth MCPDF:
extends: .auto-deploy
stage: production
dependencies: []
script:
- auto-deploy check_kube_domain
- auto-deploy download_chart
- auto-deploy ensure_namespace
- auto-deploy initialize_tiller
- auto-deploy create_secret
- auto-deploy deploy
environment:
name: thoth/production
url: https://$PROJECT_NAME.nut.$KUBE_INGRESS_BASE_DOMAIN
only:
refs:
- stable
when: manual
activate nut:
extends: .auto-deploy
stage: production
dependencies: []
script:
- bloxberg-pipeline-template/.pipeline/prod/dns-record
environment:
name: nut/production
url: https://$PROJECT_NAME.$KUBE_INGRESS_BASE_DOMAIN
when: manual
activate thoth:
extends: .auto-deploy
stage: production
dependencies: []
script:
- bloxberg-pipeline-template/.pipeline/prod/dns-record
environment:
name: thoth/production
url: https://$PROJECT_NAME.$KUBE_INGRESS_BASE_DOMAIN
when: manual
include: '.autodevops-template.yml'
variables:
PROJECT_NAME: certify-verify-js
MAX_MEM: "1Gi"
MAX_CPU: "1"
APP_PORT: "18000" # Specify the main communication port to the App. This port will be used to determine if service is online. (default 5000)
INGRESS_PORT: "" # Specify the port exposed externally via nginx. Please set it accordingly to avoid security exposure. (default none)
INTERNAL_PORTS: "" # Specify additional ports exposed to the cluster, separated by space. (default none)
EXTERNAL_PORTS: "" # Specify additional ports exposed to the world, separated by space. (default node)
[submodule "bloxberg-pipeline-template"]
path = bloxberg-pipeline-template
url = https://gitlab.mpcdf.mpg.de/mpdl-bloxberg/bloxberg-pipeline-template.git
branch = main
Subproject commit d40894b67e043bdd39b6f146fcd1951cf8b569a3
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment