remove unneccessary installs
This commit is contained in:
parent
1113e0ddd0
commit
c13f6500d0
1 changed files with 0 additions and 5 deletions
|
@ -7,10 +7,7 @@ stages: # List of stages for jobs, and their order of execution
|
||||||
get-build-repo: # This job runs in the build stage, which runs first.
|
get-build-repo: # This job runs in the build stage, which runs first.
|
||||||
stage: get
|
stage: get
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update -y && apt-get install -yqqf openssh-client git unzip sshpass rsync --fix-missing
|
|
||||||
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client git -y )'
|
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- echo "$GITLAB_DEPLOY_KEY"
|
|
||||||
- echo "$GITLAB_DEPLOY_KEY" | base64 -d | tr -d '\r' | ssh-add - > /dev/null
|
- echo "$GITLAB_DEPLOY_KEY" | base64 -d | tr -d '\r' | ssh-add - > /dev/null
|
||||||
|
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
|
@ -33,8 +30,6 @@ get-build-repo: # This job runs in the build stage, which runs first.
|
||||||
build-packages: # This job runs in the deploy stage.
|
build-packages: # This job runs in the deploy stage.
|
||||||
stage: build # It only runs when *both* jobs in the test stage complete successfully.
|
stage: build # It only runs when *both* jobs in the test stage complete successfully.
|
||||||
before_script:
|
before_script:
|
||||||
- apt-get update -y && apt-get install -yqqf openssh-client git unzip sshpass rsync --fix-missing
|
|
||||||
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client git -y )'
|
|
||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- echo "$GITLAB_DEPLOY_KEY" | base64 -d | tr -d '\r' | ssh-add - > /dev/null
|
- echo "$GITLAB_DEPLOY_KEY" | base64 -d | tr -d '\r' | ssh-add - > /dev/null
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue