Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
argopkgs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
argo
argopkgs
Commits
b55f75e2
Commit
b55f75e2
authored
Feb 17, 2019
by
Valentin Reis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing new-style ci code factoring.
parent
3427e094
Pipeline
#5369
failed
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
86 additions
and
74 deletions
+86
-74
.gitlab-ci.yml
.gitlab-ci.yml
+2
-74
gitlab-ci/argonix.yml
gitlab-ci/argonix.yml
+12
-0
gitlab-ci/components.yml
gitlab-ci/components.yml
+36
-0
gitlab-ci/integration.yml
gitlab-ci/integration.yml
+36
-0
No files found.
.gitlab-ci.yml
View file @
b55f75e2
# This file should be read like a 'pure' function and these variables act as
# arguments: Gitlab overrides with their local affectations when using the
# "include" directive.
variables
:
#The authoritative packaging source
ARGOPKGS
:
"
./default.nix"
#Extra argonix arguments
EXTRA
:
"
"
#This updates argonix before each step if necessary. The trick with
#XDG_CACHE_HOME is there to make sure that no state is propagated through
#caching, making this file as much of a "pure" function as we can. the
#`argonix` binary does this too when wrapping nix utilities.
before_script
:
-
CACHE=$(mktemp -d --suffix=nixcache /tmp/deletable-nix-cache-XXXX)
-
XDG_CACHE_HOME=$CACHE nix-env -f $ARGOPKGS -iA argonix
-
rm -rf $CACHE
stages
:
-
build
-
test
#calling other local files.
include
:
-
local
:
'
/gitlab-ci/argonix.yml'
-
local
:
'
/gitlab-ci/stack.yml'
-
local
:
'
/gitlab-ci/repoquality.yml'
####### templates
.build
:
stage
:
build
tags
:
-
integration
.test
:
stage
:
test
tags
:
-
integration
###### component builds
nrm.build
:
extends
:
.build
script
:
-
"
argonix
build
nrm
--argopkgs
$ARGOPKGS
$EXTRA
--verbose"
libnrm.build
:
extends
:
.build
script
:
-
"
argonix
build
libnrm
--argopkgs
$ARGOPKGS
$EXTRA
--verbose"
containers.build
:
extends
:
.build
script
:
-
"
argonix
build
containers
--argopkgs
$ARGOPKGS
$EXTRA
--verbose"
argotk.build
:
extends
:
.build
script
:
-
"
argonix
build
argotk
--argopkgs
$ARGOPKGS
$EXTRA
--verbose"
###### integration tests
testHello.build
:
extends
:
.test
script
:
-
"
argonix
build
testHello
--argopkgs
$ARGOPKGS
$EXTRA
--verbose"
testListen.build
:
extends
:
.test
script
:
-
"
argonix
build
testListen
--argopkgs
$ARGOPKGS
$EXTRA
--verbose"
testPerfwrapper.build
:
extends
:
.test
script
:
-
"
argonix
build
testPerfwrapper
--argopkgs
$ARGOPKGS
$EXTRA
--verbose"
testPower.build
:
extends
:
.test
script
:
-
"
argonix
build
testPower
--argopkgs
$ARGOPKGS
$EXTRA
--verbose"
tags
:
-
knl
gitlab-ci/argonix.yml
0 → 100644
View file @
b55f75e2
#ARGUMENTS:
#The authoritative packaging source
#ARGOPKGS
#This updates argonix before each step if necessary. The trick with
#XDG_CACHE_HOME is there to make sure that no state is propagated through
#caching, making this file as much of a "pure" function as we can. the
#`argonix` binary does this too when wrapping nix utilities.
before_script
:
-
CACHE=$(mktemp -d --suffix=nixcache /tmp/deletable-nix-cache-XXXX)
-
XDG_CACHE_HOME=$CACHE nix-env -f $ARGOPKGS -iA argonix
-
rm -rf $CACHE
gitlab-ci/components.yml
0 → 100644
View file @
b55f75e2
#ARGUMENTS:
#The authoritative packaging source
#ARGOPKGS
#Extra argonix arguments
#EXTRA
stages
:
-
test
.test
:
stage
:
test
tags
:
-
integration
###### integration tests
testHello.build
:
extends
:
.test
script
:
-
"
argonix
build
testHello
--argopkgs
$ARGOPKGS
$EXTRA
--verbose"
testListen.build
:
extends
:
.test
script
:
-
"
argonix
build
testListen
--argopkgs
$ARGOPKGS
$EXTRA
--verbose"
testPerfwrapper.build
:
extends
:
.test
script
:
-
"
argonix
build
testPerfwrapper
--argopkgs
$ARGOPKGS
$EXTRA
--verbose"
testPower.build
:
extends
:
.test
script
:
-
"
argonix
build
testPower
--argopkgs
$ARGOPKGS
$EXTRA
--verbose"
tags
:
-
knl
gitlab-ci/integration.yml
0 → 100644
View file @
b55f75e2
#ARGUMENTS:
#The authoritative packaging source
#ARGOPKGS
#Extra argonix arguments
#EXTRA
stages
:
-
test
.test
:
stage
:
test
tags
:
-
integration
###### integration tests
testHello.build
:
extends
:
.test
script
:
-
"
argonix
build
testHello
--argopkgs
$ARGOPKGS
$EXTRA
--verbose"
testListen.build
:
extends
:
.test
script
:
-
"
argonix
build
testListen
--argopkgs
$ARGOPKGS
$EXTRA
--verbose"
testPerfwrapper.build
:
extends
:
.test
script
:
-
"
argonix
build
testPerfwrapper
--argopkgs
$ARGOPKGS
$EXTRA
--verbose"
testPower.build
:
extends
:
.test
script
:
-
"
argonix
build
testPower
--argopkgs
$ARGOPKGS
$EXTRA
--verbose"
tags
:
-
knl
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment