Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MLAir
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
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
esde
machine-learning
MLAir
Commits
f392ad53
Commit
f392ad53
authored
5 years ago
by
lukas leufen
Browse files
Options
Downloads
Patches
Plain Diff
added gitlab ci yml file to run CI
parent
ef1a6126
No related branches found
No related tags found
2 merge requests
!6
updated inception model and data prep class
,
!5
Running CI
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+104
-0
104 additions, 0 deletions
.gitlab-ci.yml
with
104 additions
and
0 deletions
.gitlab-ci.yml
0 → 100644
+
104
−
0
View file @
f392ad53
stages
:
-
init
-
test
-
pages
### Static Badges ###
version
:
stage
:
init
tags
:
-
leap
-
zam347
-
base
only
:
-
master
-
tags
script
:
-
chmod +x ./CI/update_badge.sh
-
chmod +x ./CI/create_version_badge.sh
-
./CI/create_version_badge.sh
artifacts
:
name
:
pages
when
:
always
paths
:
-
badges/
### Tests ###
tests
:
tags
:
-
leap
-
zam347
-
base
-
django
stage
:
test
variables
:
FAILURE_THRESHOLD
:
90
before_script
:
-
chmod +x ./CI/update_badge.sh
-
./CI/update_badge.sh > /dev/null
script
:
-
pip install -r requirements.txt
-
chmod +x ./CI/run_pytest.sh
-
./CI/run_pytest.sh
after_script
:
-
./CI/update_badge.sh > /dev/null
artifacts
:
name
:
pages
when
:
always
paths
:
-
badges/
coverage
:
tags
:
-
leap
-
zam347
-
base
-
django
stage
:
test
variables
:
FAILURE_THRESHOLD
:
50
COVERAGE_PASS_THRESHOLD
:
80
before_script
:
-
chmod +x ./CI/update_badge.sh
-
./CI/update_badge.sh > /dev/null
script
:
-
pip install -r requirements.txt
-
chmod +x ./CI/run_pytest_coverage.sh
-
./CI/run_pytest_coverage.sh
after_script
:
-
./CI/update_badge.sh > /dev/null
artifacts
:
name
:
pages
when
:
always
paths
:
-
badges/
-
coverage/
#### Pages ####
pages
:
stage
:
pages
tags
:
-
leap
-
zam347
-
base
script
:
-
mkdir -p public/badges/
-
cp -af badges/badge_*.svg public/badges/
-
ls public/badges/
-
mkdir -p public/coverage
-
cp -af coverage/. public/coverage
-
ls public/coverage
-
ls public
when
:
always
artifacts
:
name
:
pages
when
:
always
paths
:
-
public
-
badges/
-
coverage/
cache
:
key
:
old-pages
paths
:
-
public/badges/
-
public/coverage/
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