From a5ff275898d4df7bda2a0942573393464a3b856a Mon Sep 17 00:00:00 2001 From: Nicolo Parmiggiani <parmiggiani@iasfbo.inaf.it> Date: Tue, 30 Mar 2021 15:41:09 +0200 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2b1a8f6..f93dd07 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,12 +25,12 @@ before_script: ## Install ssh-agent if not already installed, it is required by Docker. ## (change apt-get to yum if you use an RPM-based image) ## - - 'command -v ssh-agent >/dev/null || ( yum install openssh-client -y )' + #- 'command -v ssh-agent >/dev/null || ( yum install openssh-client -y )' ## ## Run ssh-agent (inside the build environment) ## - - eval $(ssh-agent -s) + #- eval $(ssh-agent -s) ## ## Add the SSH key stored in SSH_PRIVATE_KEY variable to the agent store @@ -38,18 +38,18 @@ before_script: ## without extra base64 encoding. ## https://gitlab.com/gitlab-examples/ssh-private-key/issues/1#note_48526556 ## - - echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - + #- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add - ## ## Create the SSH directory and give it the right permissions ## - - mkdir -p ~/.ssh - - chmod 700 ~/.ssh + #- mkdir -p ~/.ssh + #- chmod 700 ~/.ssh - - echo "$SSH_KNOWN_HOSTS" >> ~/.ssh/known_hosts - - chmod 644 ~/.ssh/known_hosts + #- echo "$SSH_KNOWN_HOSTS" >> ~/.ssh/known_hosts + #- chmod 644 ~/.ssh/known_hosts - - cat ~/.ssh/known_hosts + #- cat ~/.ssh/known_hosts ## ## Optionally, if you will be using any Git commands, set the user name and ## and email. @@ -57,11 +57,11 @@ before_script: # - git config --global user.email "user@example.com" # - git config --global user.name "User name" - - ssh-add -l + #- ssh-add -l - - git clone git@git.ia2.inaf.it:nicolo.parmiggiani/test_ci_2.git + - git clone https://test_cu:UHsawm6MvxUmDRVsAHrs@www.ict.inaf.it/gitlab/nicolo.parmiggiani/test_ci3.git - - ls -la test_ci_2 + - ls -la test_ci3 build-job: stage: build -- GitLab