Below you will find pages that utilize the taxonomy term “gitlab”
Posts
Gitlab CI/CD job is not showing up
This happened to me today: A Gitlab CI/CD job in a valid stage without any dependencies or rules was not showing up in my Gitlab CI/CD pipeline. It looked like this:
# Incorrect, job does NOT show up in pipeline as it is seen as a job template .e2e: image: cypress/browsers:node12.14.1-chrome85-ff81 stage: .post artifacts: when: always paths: - cypress/videos/**/*.mp4 - cypress/screenshots/**/*.png expire_in: 3 day script: - npm ci - npm run test:e2e After some experimenting I found out that the name of the job was the culprit.
Posts
Where is Gitlab's test coverage parsing setting
Today, I wanted to set the regular expression for my test coverage results in Gitlab.
According to Gitlab’s documentation image/svg+xml , I should be able to do that in the test coverage parsing setting in my project settings, by navigating to Settings > CI/CD > General pipelines.
Problem However, I could not find the setting there. So where can I set the regular expression for the test coverage parsing setting in Gitlab?
Posts
Setup Gitlab token for private composer packages
Have you ever received the following error?
[Composer\Downloader\TransportException] The "https://gitlab.my-gitlab-instance.com/api/v4/group/666/-/packages/composer/packages.json" file could not be downloaded (HTTP/2 404 ): {"message":"404 Group Not Found"} I have, and it has kept me from doing my work several times. The readme files of several projects give some attention to this issue, but you might not be working in those specific projects when you encounter these terrible issues. This is why I wrote this short instructions post on Confluence; hopefully Confluence’s search feature will find this post everytime I (or you) run into the same ol' story and forget how to solve it.
Posts
Update the PUBLIC_URL environment variable in Gitlab's CI for a React website hosted in a subfolder
When hosting a React website in a subfolder, you want the paths to the images and fonts to be updated as well. When the path of an image in your development environment is /images/background.jpg and your website is hosted at https://example.com/app, you want the path to be updated to /app/images/background.jpg in the production build.
You can do this using the PUBLIC_URL environment variable image/svg+xml .