Skip to content
Snippets Groups Projects
Commit f66381ba authored by Lene Wasskog's avatar Lene Wasskog
Browse files

build: Use apt-get instead of apk

parent 95fda329
No related branches found
No related tags found
1 merge request!7Gnuaffero
Pipeline #2179 failed
...@@ -29,7 +29,7 @@ before_script: ...@@ -29,7 +29,7 @@ before_script:
- cp $SETTINGS_XML ../$SETTINGS_XML - cp $SETTINGS_XML ../$SETTINGS_XML
- cd .. - cd ..
- rm -rf $COMMON_CONFIG_LOCAL - rm -rf $COMMON_CONFIG_LOCAL
- apt-get update -y && apt-get install -y python - apt-get update -y && apt-get install -y python && apt-get install -y rsync openssh-client
- 'python build_pom_with_models.py' - 'python build_pom_with_models.py'
build: build:
...@@ -49,7 +49,6 @@ test: ...@@ -49,7 +49,6 @@ test:
deploy-to-staging: deploy-to-staging:
stage: deploy stage: deploy
script: script:
- apk add --no-cache rsync openssh
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- echo "$SSH_PRIVATE_KEY" >> ~/.ssh/id_dsa - echo "$SSH_PRIVATE_KEY" >> ~/.ssh/id_dsa
- chmod 600 ~/.ssh/id_dsa - chmod 600 ~/.ssh/id_dsa
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment