Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
aml
Commits
669cfa5f
Commit
669cfa5f
authored
May 02, 2019
by
Nicolas Denoyelle
Browse files
Merge branch 'v0.0.x' into 'master'
Readthedocs on branch See merge request
!55
parents
5fddaeb5
fa0d140f
Pipeline
#7091
passed with stages
in 4 minutes and 43 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
669cfa5f
...
...
@@ -4,9 +4,21 @@ variables:
stages
:
-
style
-
build
-
d
ist
-
d
ocs
-
release
repoquality
:
stage
:
style
script
:
-
nix run -f "$ARGOPKGS" repoquality --command repoquality
tags
:
-
integration
checkpatch
:
stage
:
style
script
:
-
nix run -f "$ARGOPKGS" checkpatch --command checkpatch.pl
make:generic:
stage
:
build
script
:
...
...
@@ -44,55 +56,27 @@ make:knl:
tags
:
-
knl
repoquality
:
stage
:
style
script
:
-
nix run -f "$ARGOPKGS" repoquality --command repoquality
tags
:
-
integration
checkpatch
:
stage
:
style
script
:
-
nix run -f "$ARGOPKGS" checkpatch --command checkpatch.pl
dist-artifacts
:
stage
:
dist
when
:
on_success
only
:
-
tags
script
:
-
nix-build "$ARGOPKGS" -A aml-dist --arg aml-src ./.
-
echo "$CI_JOB_ID" > .cijobid
artifacts
:
when
:
on_success
paths
:
-
result/*.tar.gz
-
.cijobid
expire_in
:
1h
readthedocs
:
stage
:
release
stage
:
docs
when
:
on_success
only
:
-
master
-
/v
\.
[0-9]+\.[0-9]+\.x/
-
/v[0-9]+\.[0-9]+\.x/
script
:
-
nix run nixpkgs.curl -c curl -X POST -d "branch=$CI_COMMIT_REF_NAME" -d "token=$READTHEDOCS_TOKEN" https://readthedocs.org/api/v2/webhook/argo-aml/83161/
dist
-release
:
dist
:
stage
:
release
when
:
on_success
only
:
-
tags
dependencies
:
-
dist-artifacts
script
:
-
CI_ARTIFACT_JOB_ID="$(cat .cijobid)"
-
./release.sh CREATE $CI_
ARTIFACT_
JOB_ID $CI_PROJECT_ID $RELEASE_TOKEN $CI_COMMIT_REF_NAME
-
nix-build "$ARGOPKGS" -A aml-dist --arg aml-src ./.
-
./release.sh CREATE $CI_JOB_ID $CI_PROJECT_ID $RELEASE_TOKEN $CI_COMMIT_REF_NAME
artifacts
:
when
:
on_success
paths
:
-
result/*.tar.gz
-
CHECKSUM
expire_in
:
1000y
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