Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
GettingStartedWithModernCpp
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
Container registry
Model registry
Operate
Environments
Terraform modules
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
Admin message
GitLab upgrade completed. Current version is 17.11.3.
Show more breadcrumbs
Formations
Cpp
GettingStartedWithModernCpp
Commits
403e7af4
Commit
403e7af4
authored
4 years ago
by
Vicente Mataix Ferrándiz
Browse files
Options
Downloads
Patches
Plain Diff
Adding to CI
parent
621249f8
No related branches found
No related tags found
1 merge request
!13
[DO NOT MERGE] Tutor lottery for the notebooks
Pipeline
#245308
passed
4 years ago
Stage: lottery
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+15
-0
15 additions, 0 deletions
.gitlab-ci.yml
with
15 additions
and
0 deletions
.gitlab-ci.yml
+
15
−
0
View file @
403e7af4
...
...
@@ -2,6 +2,7 @@ image: docker
stages
:
-
build
-
lottery
build_docker
:
stage
:
build
...
...
@@ -16,3 +17,17 @@ build_docker:
-
docker build -f docker/Dockerfile -t $CI_REGISTRY/$CI_PROJECT_PATH:latest .
-
docker container prune
-
docker push $CI_REGISTRY/$CI_PROJECT_PATH:latest
lottery
:
image
:
ubuntu:latest
stage
:
lottery
tags
:
-
linux
only
:
-
merge_requests
script
:
-
export DEBIAN_FRONTEND=noninteractive
-
apt-get -y update
-
apt-get -y install python3
-
python3 ./Scripts/lottery.py
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