rename jobsets to artiq-fast/artiq-full

This commit is contained in:
Sebastien Bourdeauducq 2019-07-17 19:19:43 +08:00
parent 0a231bb200
commit dfa5b47d9b
41 changed files with 14 additions and 14 deletions

View File

@ -3,7 +3,7 @@ let
artiqSrc = <artiqSrc>;
generatedNix = pkgs.runCommand "generated-nix" { buildInputs = [ pkgs.nix pkgs.git ]; }
''
cp --no-preserve=mode,ownership -R ${./artiq} $out
cp --no-preserve=mode,ownership -R ${./artiq-fast} $out
REV=`git --git-dir ${artiqSrc}/.git rev-parse HEAD`
MAJOR_VERSION=`cat ${artiqSrc}/MAJOR_VERSION`
COMMIT_COUNT=`git --git-dir ${artiqSrc}/.git rev-list --count HEAD`
@ -44,11 +44,11 @@ let
# installation for users.
matplotlib-qt = pkgs.lib.hydraJob (pkgs.python3Packages.matplotlib.override { enableQt = true; });
# For Raspberry Pi JTAG servers
openocd-aarch64 = pkgs.lib.hydraJob ((import <nixpkgs> { system = "aarch64-linux"; }).callPackage ./artiq/pkgs/openocd.nix {});
openocd-aarch64 = pkgs.lib.hydraJob ((import <nixpkgs> { system = "aarch64-linux"; }).callPackage ./artiq-fast/pkgs/openocd.nix {});
};
in
jobs // {
generated-nix = pkgs.lib.hydraJob generatedNix; # used by sinara-systems
generated-nix = pkgs.lib.hydraJob generatedNix; # used by artiq-full
channel = pkgs.releaseTools.channel rec {
name = "main";
src = generatedNix;

View File

@ -53,9 +53,9 @@ let
"wipm3"
];
artiq = import <m-labs> { inherit pkgs; };
artiq-board = import <m-labs/artiq-board.nix> { inherit pkgs; };
conda-artiq-board = import <m-labs/conda-artiq-board.nix> { inherit pkgs; };
artiq-fast = import <artiq-fast> { inherit pkgs; };
artiq-board = import <artiq-fast/artiq-board.nix> { inherit pkgs; };
conda-artiq-board = import <artiq-fast/conda-artiq-board.nix> { inherit pkgs; };
src = pkgs.fetchgit {
url = "https://git.m-labs.hk/M-Labs/sinara-systems.git";
rev = "$REV";
@ -78,7 +78,7 @@ let
} // (pkgs.lib.optionalAttrs ((builtins.fromJSON (builtins.readFile json)).base == "standalone") {
"device-db-\''${target}-\''${variant}" = pkgs.stdenv.mkDerivation {
name = "device-db-\''${target}-\''${variant}";
buildInputs = [ artiq.artiq ];
buildInputs = [ artiq-fast.artiq ];
phases = [ "buildPhase" ];
buildPhase = "
mkdir \$out

View File

@ -4,12 +4,12 @@
''
cat > $out << EOF
{
"main": {
"fast": {
"enabled": 1,
"hidden": false,
"description": "Main ARTIQ packages and board support packages for HITL CI",
"description": "Core ARTIQ packages to build fast for CI purposes",
"nixexprinput": "nixScripts",
"nixexprpath": "main.nix",
"nixexprpath": "artiq-fast.nix",
"checkinterval": 300,
"schedulingshares": 10,
"enableemail": false,
@ -21,12 +21,12 @@
"artiqSrc": { "type": "git", "value": "git://github.com/m-labs/artiq.git master 1", "emailresponsible": false }
}
},
"sinara-systems": {
"full": {
"enabled": 1,
"hidden": false,
"description": "Board support packages for other Sinara systems",
"description": "Full set of ARTIQ packages",
"nixexprinput": "nixScripts",
"nixexprpath": "sinara-systems.nix",
"nixexprpath": "artiq-full.nix",
"checkinterval": 86400,
"schedulingshares": 1,
"enableemail": false,
@ -36,7 +36,7 @@
"nixpkgs": { "type": "git", "value": "git://github.com/NixOS/nixpkgs-channels nixos-19.03", "emailresponsible": false },
"nixScripts": { "type": "git", "value": "https://git.m-labs.hk/M-Labs/nix-scripts.git", "emailresponsible": false },
"sinaraSystemsSrc": { "type": "git", "value": "https://git.m-labs.hk/M-Labs/sinara-systems.git master 1", "emailresponsible": false },
"m-labs": { "type": "sysbuild", "value": "artiq:main:generated-nix", "emailresponsible": false }
"artiq-fast": { "type": "sysbuild", "value": "artiq:artiq-fast:generated-nix", "emailresponsible": false }
}
},
"urukul": {