From 7def518c9d9dc48b684fe8f25d7152b1c5fb0f70 Mon Sep 17 00:00:00 2001 From: Misha Mikhasenko Date: Thu, 4 Apr 2024 14:57:07 +0200 Subject: [PATCH 1/2] link to alma9-base image in CI --- git/11-ci.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/git/11-ci.md b/git/11-ci.md index 6fcb35f3..db953414 100644 --- a/git/11-ci.md +++ b/git/11-ci.md @@ -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 @@ -39,7 +39,7 @@ 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://linux.web.cern.ch/dockerimages/). 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. From 471f59e897b895b9a56af926b6b4a4a9f88ace46 Mon Sep 17 00:00:00 2001 From: Misha Mikhasenko Date: Thu, 4 Apr 2024 15:05:29 +0200 Subject: [PATCH 2/2] link to container registry --- git/11-ci.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/git/11-ci.md b/git/11-ci.md index db953414..08c35725 100644 --- a/git/11-ci.md +++ b/git/11-ci.md @@ -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 AlmaLinux 9 image](https://linux.web.cern.ch/dockerimages/). +[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.