Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TTool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
mbe-tools
TTool
Commits
7292398b
Commit
7292398b
authored
8 months ago
by
Ludovic Apvrille
Browse files
Options
Downloads
Patches
Plain Diff
Update on pipeline documentation
parent
20e47906
No related branches found
No related tags found
No related merge requests found
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/cidoc.md
+38
-1
38 additions, 1 deletion
scripts/cidoc.md
with
38 additions
and
1 deletion
scripts/cidoc.md
+
38
−
1
View file @
7292398b
# Preparation
-
create a .gitlab-ci.yml at the root of the gitlab
-
create an eval script
...
...
@@ -7,11 +9,46 @@
-
build the docker image
docker build -f Dockerfile -t ttoolci:latest .
-
run
the docker
image
-
to test if
the docker
file runs as expected:
docker run -it --rm ttoolci:latest bash
# yvrac
-
launch the gitlab-runner so as to start a docker machine for each pull
sudo gitlab-runner register -n --name ttool@yvrac -r GR13489416h8xwG1z62GLNe5Q1phV -u https://gitlab.telecom-paris.fr/ --executor docker --docker-image ttoolci:latest --docker-pull-policy never
# cadillac
-
create a new runner in the gitlab interface:
https://gitlab.telecom-paris.fr/mbe-tools/TTool/-/settings/ci_cd
-
edit gitlab-runner configuration in cadillac
emacs -nw sudo more /etc/gitlab-runner/config.toml
[[runners]]
name = "ttool@cadillac"
url = "https://gitlab.telecom-paris.fr/"
id = 112
token = "glrt-8xpskVidT7YyKkj7edmH"
token_obtained_at = 2024-06-28T10:11:08Z
token_expires_at = 0001-01-01T00:00:00Z
executor = "docker"
[runners.cache]
MaxUploadedArchiveSize = 0
[runners.docker]
tls_verify = false
image = "ttoolci"
pull_policy = ["never"]
privileged = false
disable_entrypoint_overwrite = false
oom_kill_disable = false
disable_cache = false
volumes = ["/cache"]
shm_size = 0
network_mtu = 0
-
restart gitlab-runner
systemctl restart gitlab-runner.service
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