About 11,600,000 results
Open links in new tab
  1. How to use if-else condition on gitlabci - Stack Overflow

    How to use if else condition inside the gitlab-CI. I have below code: deploy-dev: image: testimage environment: dev tags: - kubectl script: - kubectl apply -f demo1 --record=true ...

  2. how to run a bash script (with parameters) in gitlab ci?

    Mar 14, 2024 · To use your hello.sh script in GitLab CI and pass variables directly from your .gitlab-ci.yml, just define your variables under the variables section (below I included a GREETING variable …

  3. Use GitLab CI to run tests locally? - Stack Overflow

    Oct 4, 2015 · If a GitLab project is configured on GitLab CI, is there a way to run the build locally? I don't want to turn my laptop into a build "runner", I just want to take advantage of Docker and .gitlab-c...

  4. How to use pre-commit to automatically correct commits and merge ...

    In this article, I'm going to teach you about pre-commit hooks, how to set them up using pre-commit, and how to automate the whole process of keeping your repo in check using GitLab CI.

  5. Gitlab-CI: pass variable to a trigger stage? - Stack Overflow

    May 12, 2021 · Gitlab-CI: pass variable to a trigger stage? Asked 4 years, 7 months ago Modified 2 years, 9 months ago Viewed 44k times

  6. How to use curl in gitlab-ci file? - Stack Overflow

    Aug 10, 2018 · 28 In my gitlab-ci file, I want to use the command curl to get the result of a page and verify its content, but I don't know how to use it.

  7. Build .NET solution using GitLab CI Pipeline - Stack Overflow

    Mar 14, 2018 · If you are having issues still with the .gitlab-ci.yml file building properly, you can debug it locally (without having to keep triggering it through gitlab.com) by going to your solution folder in the …

  8. How can I pass GitLab artifacts to another stage?

    Jul 1, 2016 · I'd like to use GitLab CI with the .gitlab-ci.yml file to run different stages with separate scripts. The first stage produces a tool that must be used in a later stage to perform tests. I've decla...

  9. How do I push to a repo from within a gitlab CI pipeline?

    In my CI pipeline I am generating an artifact public/graph.png that visualises some aspect of my code. In a later step I want to commit that to the repo from within the CI pipeline. Here's the pert...

  10. gitlab - Set CI/CD variables depending on environment - Stack Overflow

    Dec 9, 2020 · For this, I want to use environment variables provided by GitLab CI/CD. However I don't know how to tell GitLab to run a different set of variables depending on my environment.