How to rename a branch in Gitlab? HI, I need to rename branch “branch” to “branch_old” in gitlab, I searched for it and found that I need to do the following Checkout the branch locally Rename it locally delete remote branch push the locally renamed branch to remote When I do this I get errors of pre-recive hooks rejecting the deletion of protected branches Then I go to gitlab and delete the protected branch via GUI
Git clone of other repos during CI CD process - GitLab CI CD 🤗 Please help fill in this template with all the details to help others help you more efficiently Use formatting blocks for code, config, logs and ensure to remove sensitive data Problem to solve During our PREBUILD step - we need to use GIT to pull other projects from the GITLAB server Steps to reproduce Example in a PREBUILD script step - I need to “git clone” other repos on the
Gitlab-Runner - How to Use GitLab - GitLab Forum Hi All, When a job runs in a gitlab-runner hosted in Docker container, through the server when we try to access the files created during run time
GitLab Forum Community Forum about GitLab, the AI-powered DevSecOps platform
Pass an environment variable to another job - GitLab Forum I want to pass variable from one stage to another moreover I want to use that variable in definition of stage’s docker image that need to be used I want to do something like that: first-stage: stage: pre script: - echo "MY_TAG=dynamic_image_name_123" > build env artifacts: reports: dotenv: build env second-stage: stage: build image: ${MY_TAG} needs: - first-stage script: - echo ${TAG_NAME
Runner not picking up jobs after upgrade to 17. 11 - GitLab CI CD . . . Problem to solve After upgrading our GitLab instance and the runner to version 17 11 0, the runner is not able to pick up jobs It has worked after every update before this one The runner is listed as online (and idle) in the runners overview Trying to run gitlab-runner verify i get this output Runtime platform arch=amd64 os=linux pid=196535 revision=0f67ff19 version=17 11 0 Running in
When does a runner get displayed as offline? - Observability - GitLab Forum Verify that the running container results in Gitlab correctly displaying the runner as online; Stop the container (podman stop gitlab-runner) Check the runner in the Gitlab interface; Expected result: Gitlab says the runner is offline after at most a few minutes Observed result: Gitlab says the runner is online, even after an hour Versions
Setting the parallel:matrix with a variable - GitLab CI CD I’m attempting to run jobs in a matrix (parallel:matrix) using a build time variable In the pipeline, I attempt to read a descriptor, e g , POM, with yq and with the values collected set a variable
Docker containing consuming disk space - Self-managed - GitLab Forum I did install an instance of gitlab using docker compose, as explained in Install GitLab in a Docker container | GitLab The docker-compose yml file: version: ‘3 6’ services: gitlab: image: ‘gitlab gitlab-ce:17 1 4-c hellip;