Compare commits

..

3 Commits

Author SHA1 Message Date
c8e151701f Add description to jungle flake
Some checks failed
CI / build:cross (pull_request) Failing after 50s
CI / build:all (pull_request) Failing after 56s
2026-03-17 18:37:56 +01:00
0a47e17054 wip: change workflows checkout action to self hosted version 2026-03-17 18:37:02 +01:00
4b4423d3cf Set DEFAULT_ACTIONS_URL to self 2026-03-17 15:31:21 +01:00
6 changed files with 7 additions and 10 deletions

View File

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

View File

@@ -3,6 +3,8 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
};
description = "configuration for jungle machines";
outputs = { self, nixpkgs, ... }:
let
mkConf = name: nixpkgs.lib.nixosSystem {

View File

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

View File

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

View File

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

View File

@@ -3,7 +3,6 @@
, lib
, fetchFromGitHub
, cmake
, ninja
, bash
, python3
, perl
@@ -63,7 +62,6 @@ in stdenv.mkDerivation {
nativeBuildInputs = [
bash
cmake
ninja
elfutils
llvmPackages_latest.lld
pkg-config