Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
adaptive-paper
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Quantum Tinkerer
adaptive-paper
Commits
56b7ab3c
Commit
56b7ab3c
authored
5 years ago
by
Bas Nijholt
Browse files
Options
Downloads
Patches
Plain Diff
remove cruft
parent
ba9c5369
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#20163
passed with warnings
5 years ago
Stage: build-env
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-41
3 additions, 41 deletions
.gitlab-ci.yml
with
3 additions
and
41 deletions
.gitlab-ci.yml
+
3
−
41
View file @
56b7ab3c
...
...
@@ -2,14 +2,8 @@ image: gitlab.kwant-project.org:5005/qt/adaptive-paper
stages
:
-
build-env
-
build
-
test
variables
:
# rsync is used to send documentation to our web servers: we never send any
# secret information, and using 'ssh-keyscan' causes the CI server's IP to be blacklisted
IGNORE_HOSTKEY
:
"
ssh
-o
StrictHostKeyChecking=no
-o
UserKnownHostsFile=/dev/null"
## Building Docker environments
## Only runs when docker specifications change
...
...
@@ -26,7 +20,7 @@ variables:
-
mkdir -p /kaniko/.docker
-
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
build-env:ubuntu
:
build-env:ubuntu
:
&build-docker
<<
:
*build-env
only
:
changes
:
...
...
@@ -38,45 +32,13 @@ build-env:ubuntu:
--destination $CI_REGISTRY_IMAGE/ubuntu
## Build Jobs
build:ubuntu
:
<<
:
*build
<<
:
*ubuntu_env
## Test Jobs
check whitespace style
:
stage
:
test
script
:
./check_whitespace
allow_failure
:
true
check for dependencies installed
:
stage
:
test
script
:
-
if [ -d .eggs ]; then echo "$(ls -d .eggs/*/) downloaded by build, update build environment" >&2; fi
allow_failure
:
true
.test
:
&test
stage
:
test
script
:
-
py.test -r w --flakes kwant --junitxml=tests.xml --durations=10
artifacts
:
reports
:
junit
:
tests.xml
.make
:
&make
<<
:
*build-docker
stage
:
test
script
:
-
make
artifacts
:
paths
:
-
*pdf
test:ubuntu
:
<<
:
*test
<<
:
*ubuntu_env
dependencies
:
-
build:ubuntu
-
paper.pdf
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