Compare commits

..

2 Commits

Author SHA1 Message Date
4832e7bc34 Unlock gitlab-runner to use in multiple projects
Some checks failed
CI / build:cross (push) Failing after 9s
CI / build:all (push) Failing after 15s
Fixes: rarias/jungle#241
Reviewed-by: Aleix Boné <abonerib@bsc.es>
2026-03-17 18:35:31 +01:00
39eddb76c1 Add To headers in OmpSs-2 robot email
Cc: Antoni Navarro <antoni.navarro@bsc.es>
Reviewed-by: Aleix Boné <abonerib@bsc.es>
2026-03-17 17:45:13 +01:00
4 changed files with 8 additions and 5 deletions

View File

@@ -11,10 +11,10 @@ jobs:
build:all: build:all:
runs-on: native runs-on: native
steps: steps:
- uses: https://codeberg.org/LeixB/checkout@v6-gitea - uses: https://gitea.com/ScMi1/checkout@v1.4
- run: nix build -L --no-link --print-out-paths .#bsc.ci.all - run: nix build -L --no-link --print-out-paths .#bsc.ci.all
build:cross: build:cross:
runs-on: native runs-on: native
steps: steps:
- uses: https://codeberg.org/LeixB/checkout@v6-gitea - uses: https://gitea.com/ScMi1/checkout@v1.4
- run: nix build -L --no-link --print-out-paths .#bsc.ci.cross - run: nix build -L --no-link --print-out-paths .#bsc.ci.cross

View File

@@ -61,6 +61,8 @@
registrationFlags = [ registrationFlags = [
# Increase build log length to 64 MiB # Increase build log length to 64 MiB
"--output-limit 65536" "--output-limit 65536"
# Allow the runner to be used in multiple projects
"--locked=false"
]; ];
preBuildScript = pkgs.writeScript "setup-container" '' preBuildScript = pkgs.writeScript "setup-container" ''
mkdir -p -m 0755 /nix/var/log/nix/drvs mkdir -p -m 0755 /nix/var/log/nix/drvs

View File

@@ -29,6 +29,7 @@
closing = pkgs.writeText "closing.txt" closing = pkgs.writeText "closing.txt"
'' ''
Subject: OmpSs-2 release enters closing period Subject: OmpSs-2 release enters closing period
To: star@bsc.es
Hi, Hi,
@@ -42,6 +43,7 @@
freeze = pkgs.writeText "freeze.txt" freeze = pkgs.writeText "freeze.txt"
'' ''
Subject: OmpSs-2 release enters freeze period Subject: OmpSs-2 release enters freeze period
To: star@bsc.es
Hi, Hi,
@@ -55,6 +57,7 @@
release = pkgs.writeText "release.txt" release = pkgs.writeText "release.txt"
'' ''
Subject: OmpSs-2 release now Subject: OmpSs-2 release now
To: star@bsc.es
Hi, Hi,
@@ -69,7 +72,7 @@
script = '' script = ''
set -eu set -eu
set -o pipefail set -o pipefail
cat ${mail} | ${config.security.wrapperDir}/sendmail star@bsc.es cat ${mail} | ${config.security.wrapperDir}/sendmail -t star@bsc.es
''; '';
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";

View File

@@ -21,8 +21,6 @@ in
}; };
log.LEVEL = "Warn"; log.LEVEL = "Warn";
actions.DEFAULT_ACTIONS_URL = "self";
mailer = { mailer = {
ENABLED = true; ENABLED = true;
FROM = "jungle-robot@bsc.es"; FROM = "jungle-robot@bsc.es";