-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
72 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[alice-system-deps] | ||
name=ALICE System Dependencies - EL9 | ||
baseurl=https://s3.cern.ch/swift/v1/alibuild-repo/RPMS/o2-full-deps_el9.aarch64/ | ||
enabled=0 | ||
gpgcheck=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"_comment": "Alma 9 builder", | ||
"variables": { | ||
"REPO": "registry.cern.ch/alisw/slc9-arm-builder", | ||
"TAG": "latest" | ||
}, | ||
"builders": [ | ||
{ | ||
"type": "docker", | ||
"image": "gitlab-registry.cern.ch/linuxsupport/alma9-base", | ||
"commit": true, | ||
"changes": [ | ||
"ENTRYPOINT [\"\"]", | ||
"CMD [\"/bin/bash\"]" | ||
] | ||
} | ||
], | ||
"provisioners": [ | ||
{ | ||
"type": "file", | ||
"source": "alice-system-deps.repo", | ||
"destination": "/etc/yum.repos.d/alice-system-deps.repo" | ||
}, | ||
{ | ||
"type": "shell", | ||
"script": "provision.sh" | ||
} | ||
], | ||
"post-processors": [ | ||
[ | ||
{ | ||
"type": "docker-tag", | ||
"repository": "{{user `REPO`}}", | ||
"tag": "{{user `TAG`}}" | ||
}, | ||
"docker-push" | ||
] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/bin/sh -ex | ||
|
||
useradd -rmUu 980 mesosalien | ||
useradd -rmUu 981 mesosci | ||
useradd -rmUu 982 mesosdaq | ||
useradd -rmUu 983 mesosuser | ||
useradd -rmUu 984 mesostest | ||
|
||
wipednf () { | ||
rpmdb --rebuilddb | ||
dnf clean all | ||
rm -rf /var/cache/yum | ||
} | ||
|
||
wipednf | ||
|
||
dnf install -y epel-release dnf-plugins-core | ||
|
||
# Formerly "powertools"; contains some dev tools we need. | ||
# See also: https://wiki.almalinux.org/repos/AlmaLinux.html | ||
dnf config-manager --set-enabled crb | ||
|
||
dnf update -y | ||
dnf groups install -y 'Development Tools' | ||
# python3-{pip,setuptools} and s3cmd needed for Jenkins builds. | ||
dnf install -y alice-o2-full-deps python3-pip python3-setuptools s3cmd | ||
|
||
wipednf |