following is my Gitlab CI code:- I’m trying to validate the JIRA status by calling its API after retrieving Jira id from title of Merge Request. There is a problem in the If condition below if [[ “$JIRA_STATUS” == “^(Done|Completed|Closed)$” ]] as it is not validating it properly. Every time, the else condition is getting executed and printing the message
Tag: gitlab-ci
Can’t install bash in multiarch build on Alpine
I am trying to build image for linux/arm64/v8 on linux/amd64 Gitlab runner. I run it with this command: My Dockerfile is fairly simple: But it fails with: It’s Gitlab runner version 13.4.1 and Docker executor docker:stable. What can I do about this issue? Answer There were three problems with my approach: I needed to install buildx extension I had to
Couldn’t connect to Docker daemon
I am new in Docker and CICD I am using a vps with Ubuntu 18.04. The docker of the project runs locally and works fine. I don’t quite understand why the server is trying to find the docker on http, not on tcp. override.conf docker service status daemon.json gitlab-ci.yml Error Answer Set the DOCKER_HOST variable. When using the docker:dind service,
Trying to download python from a docker container while using GitLab CI
The last stage of my GitLab CI pipeline is a selenium test. I’m trying to automate it through GitLab CI: I have tried writing this a few different ways– not installing curl, installing everything on a different line… But every time I get this same result: I understand that it is better to have a docker container pre-packaged with python
Copy Gitlab repositories to another Gitlab server through filesystem
I had a gitlab server of 7.6.2 version with some repositories. Now this server was upgraded by newest Ubuntu and it has an empty gitlab server of version 12.0.1. I also have a HDD backup from old gitlab server. I need to move all repositories from old gitlab server to the new one. I tried to copy .git repositories from
In gitlab CI the gitlab runner choose wrong executor
I have the following problem with my Gitlab Pipeline Setup. I recognized that in the bash there is shown “shell runner” but in the .yml file I used “tags: -docker”. If I re-run the job, sometimes it works and uses the right runner, but most of the time not. The is the bash output: Running with gitlab-runner 10.8.0 (079cad9e) on
GitLab Ci Runner error ” bash: line 21: xcodebuild: command not found “
I hava a gitlab-ci service on Linux , here is the information I followed this tutorial https://about.gitlab.com/2016/03/10/setting-up-gitlab-ci-for-ios-projects/ , before the section How to trigger builds everything worked fine , the only different is the environment which is OS “El Capitan” and “Linux” . When I try git push then error appear , I have no idea hot to solve this