Skip to content
Snippets Groups Projects
Commit c49ec8ff authored by Felix Reichenbach's avatar Felix Reichenbach
Browse files

refactor before script configurations

parent a1e94acf
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@ variables:
default:
before_script:
- ./gitlab/prepare.sh
- ./gitlab/configure_maven.sh
# check_version:
# stage: check_version
......@@ -50,7 +50,7 @@ default:
# test_build_deploy_helm_chart:
# stage: publish
# before_script:
# - ./gitlab/prepare.sh
# - ./gitlab/configure_maven.sh
# - ./gitlab/configure_git.sh
# - ./gitlab/configure_helm.sh
# script:
......@@ -61,12 +61,9 @@ trigger_dev_rollout:
# only:
# - main
before_script:
- ./gitlab/prepare.sh
- ./gitlab/configure_maven.sh
- ./gitlab/configure_git.sh
- apk add --no-cache python3 py3-pip
- python3 -m venv /path/to/venv
- . /path/to/venv/bin/activate
- pip3 install pyyaml
- ./gitlab/configure_python.sh
script:
- ./gitlab/perform_gitops_rollout.sh dev $SERVICE_NAME
......@@ -75,7 +72,7 @@ trigger_test_rollout:
only:
- release
before_script:
- ./gitlab/prepare.sh
- ./gitlab/configure_maven.sh
- ./gitlab/configure_git.sh
script:
- ./gitlab/perform_gitops_rollout.sh test $SERVICE_NAME
......
#!/usr/bin/env bash
apk add --no-cache python3 py3-pip
# install pyyaml in a virtual environment
python3 -m venv /path/to/venv
. /path/to/venv/bin/activate
pip3 install pyyaml
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment