forked from fluidattacks/makes
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(back): fluidattacks#1234 computeOnAwsBatch
- adjust python env for the computeOnAwsBatch util - support dry run to enable the util build check - add a job that checks the build of the util - update docs Signed-off-by: Daniel F. Murcia Rivera <danmur97@outlook.com>
- Loading branch information
Showing
16 changed files
with
186 additions
and
110 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
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
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
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,20 @@ | ||
{computeOnAwsBatch, ...}: | ||
computeOnAwsBatch { | ||
dryRun = true; | ||
allowDuplicates = true; | ||
attempts = 1; | ||
attemptDurationSeconds = 60; | ||
command = ["foo"]; | ||
definition = "foo"; | ||
environment = []; | ||
includePositionalArgsInName = true; | ||
name = "foo"; | ||
nextJob = {}; | ||
memory = 1; | ||
parallel = 1; | ||
propagateTags = true; | ||
queue = "foo"; | ||
setup = []; | ||
tags = {}; | ||
vcpus = 1; | ||
} |
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
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
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
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
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
28 changes: 22 additions & 6 deletions
28
src/args/compute-on-aws-batch/batch-client/build/deps/arch_lint.nix
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 |
---|---|---|
@@ -1,13 +1,29 @@ | ||
{ | ||
lib, | ||
makes_inputs, | ||
nixpkgs, | ||
python_pkgs, | ||
python_version, | ||
}: let | ||
commit = "72a495bb933f052ad812292b468ca3e18fd9dde4"; | ||
src = builtins.fetchTarball { | ||
sha256 = "sha256:0413zl4y92dbdfmck070x7dhp5cxx66xd2pxpxg3gbhaw0yqzhqd"; | ||
commit = "fd64a300bda15c2389f5bfb314f48fb5b2a0e47a"; # 2.4.0+2 | ||
raw_src = builtins.fetchTarball { | ||
sha256 = "sha256:0g1md5fiyzqi9xfh1qxf0mh32k8nb06w0yhc17rr5a0ijiskb8i4"; | ||
url = "https://gitlab.com/dmurciaatfluid/arch_lint/-/archive/${commit}/arch_lint-${commit}.tar"; | ||
}; | ||
in | ||
import "${src}/build" { | ||
src = import "${raw_src}/build/filter.nix" nixpkgs.nix-filter raw_src; | ||
bundle = import "${raw_src}/build" { | ||
makesLib = makes_inputs; | ||
inherit nixpkgs python_version src; | ||
} | ||
}; | ||
in | ||
bundle.build_bundle ( | ||
default: required_deps: builder: | ||
builder lib ( | ||
required_deps ( | ||
python_pkgs | ||
// { | ||
inherit (default.python_pkgs) grimp; | ||
} | ||
) | ||
) | ||
) |
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
Oops, something went wrong.