Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
batsched
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
poquet
millian
batsched
Commits
bfd37286
Commit
bfd37286
authored
5 years ago
by
Millian Poquet
Browse files
Options
Downloads
Patches
Plain Diff
[nix] clean release.nix
parent
e837a21f
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
release.nix
+7
-6
7 additions, 6 deletions
release.nix
with
7 additions
and
6 deletions
release.nix
+
7
−
6
View file @
bfd37286
...
...
@@ -2,7 +2,6 @@
(
fetchTarball
"https://github.com/oar-team/kapack/archive/master.tar.gz"
)
{}
,
doCheck
?
false
,
simgrid
?
kapack
.
simgrid322_2
,
batsim
?
kapack
.
batsim
,
batsim_dev
?
kapack
.
batsim_dev
,
batexpe
?
kapack
.
batexpe
...
...
@@ -14,7 +13,7 @@ let
buildPythonPackage
=
pythonPackages
.
buildPythonPackage
;
jobs
=
rec
{
# Bats
im
executable
binary file.
# Bats
ched
executable
file (built from local sources)
batsched
=
kapack
.
batsched
.
overrideAttrs
(
attr
:
rec
{
src
=
pkgs
.
lib
.
sourceByRegex
./.
[
"^src"
...
...
@@ -35,9 +34,10 @@ let
dontStrip
=
true
;
});
# Bats
im
integration tests.
# Bats
ched
integration tests.
integration_tests
=
pkgs
.
stdenv
.
mkDerivation
rec
{
name
=
"batsched-integration-tests"
;
pname
=
"batsched-integration-tests"
;
version
=
toString
builtins
.
currentTime
;
# Forces rebuild
src
=
pkgs
.
lib
.
sourceByRegex
./.
[
"^test"
"^test/.*
\.
py"
...
...
@@ -68,13 +68,14 @@ let
mv ./report/* ./pytest_returncode $out/
''
;
};
# Essentially the same as integration_tests, but with an up-to-date Batsim.
integration_tests_batlatest
=
integration_tests
.
overrideAttrs
(
attr
:
rec
{
buildInputs
=
with
pkgs
.
python37Packages
;
[
batsim_dev
batsched
batexpe
pkgs
.
redis
pytest
pytest_html
pandas
];
});
# Bats
im
doxygen documentation.
# Bats
ched
doxygen documentation.
doxydoc
=
pkgs
.
stdenv
.
mkDerivation
rec
{
name
=
"batsim-doxygen-documentation"
;
src
=
pkgs
.
lib
.
sourceByRegex
./.
[
...
...
@@ -101,7 +102,7 @@ let
doCheck
=
true
;
};
#
Dependencies
not in
n
ixpkgs
as I write these lines
.
#
The following packages are
not in
N
ixpkgs
so they are defined here
.
pytest_metadata
=
buildPythonPackage
{
name
=
"pytest-metadata-1.8.0"
;
doCheck
=
false
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment