Skip to content

Commit

Permalink
chore: upgrade to alma9 image
Browse files Browse the repository at this point in the history
* link to alma9-base image in CI

* link to container registry
  • Loading branch information
mmikhasenko authored Apr 4, 2024
1 parent 0ec8d9c commit 88cb582
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions git/11-ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ with each job having it's own environment. A minimal example of this file is:

```yaml
my_first_job:
image: gitlab-registry.cern.ch/ci-tools/ci-worker:cc7
image: gitlab-registry.cern.ch/linuxsupport/alma9-base
script:
- python -c 'import this'
- echo "My first CI produced file" > output.txt
Expand All @@ -39,7 +39,8 @@ my_first_job:
This creates a single job named `my_first_job` and the `image:` key defines a
[docker image](https://www.freecodecamp.org/news/a-beginner-friendly-introduction-to-containers-vms-and-docker-79a9e3e119b/)
which is used the define the environment that is used to run the job. In this case we use an
[official CERN CentOS 7 image](https://gitlab.cern.ch/ci-tools/ci-worker/container_registry).
[official CERN AlmaLinux 9 image](https://gitlab.cern.ch:/linuxsupport/alma9-base/container_registry).
More images are listed at the [documentation pages](https://linux.web.cern.ch/dockerimages/) for linux at CERN.
The `script:` key then defines one or more commands which are executed
sequentially. If any of the command return a non-zero exit code the execution
stops and the "build" is marked as failed.
Expand Down

0 comments on commit 88cb582

Please sign in to comment.