diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2b1a8f685fc1bd3dc20c38a16a67d17f9b26525e..f93dd07011424e20f16660823fe2252287f9f3d4 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