Skip to content

Commit

Permalink
Update .gitlab-ci.yml file
Browse files Browse the repository at this point in the history
  • Loading branch information
cgerum committed Apr 8, 2024
1 parent 84ed638 commit 1842f36
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,25 +179,25 @@ run_sca:
interruptible: true
allow_failure: true

ml_cloud_integration:
stage: build
image: ubuntu:latest
dependencies: []
before_script:
- apt update
- apt -y install openssh-client
- eval $(ssh-agent -s)
- mkdir -p ~/.ssh
- echo "$ML_CLOUD_KEY" > ~/.ssh/ml_cloud.key
- chmod -R 0600 ~/.ssh
- ssh-add ~/.ssh/ml_cloud.key
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
script:
- set -e
- scp scripts/ml_cloud_ci.sh [email protected]:/home/bringmann/cgerum05/ci/ml_cloud_ci.sh
- ssh [email protected] /home/bringmann/cgerum05/ci/ml_cloud_ci.sh
rules:
- if: $CI_PIPELINE_SOURCE == "schedule"
#ml_cloud_integration:
# stage: build
# image: ubuntu:latest
# dependencies: []
# before_script:
# - apt update
# - apt -y install openssh-client
# - eval $(ssh-agent -s)
# - mkdir -p ~/.ssh
# - echo "$ML_CLOUD_KEY" > ~/.ssh/ml_cloud.key
# - chmod -R 0600 ~/.ssh
# - ssh-add ~/.ssh/ml_cloud.key
# - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
# script:
# - set -e
# - scp scripts/ml_cloud_ci.sh [email protected]:/home/bringmann/cgerum05/ci/ml_cloud_ci.sh
# - ssh [email protected] /home/bringmann/cgerum05/ci/ml_cloud_ci.sh
# rules:
# - if: $CI_PIPELINE_SOURCE == "schedule"


deploy to github:
Expand Down

0 comments on commit 1842f36

Please sign in to comment.