Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
itk-demo-optoboard
Manage
Activity
Members
Labels
Plan
Issues
15
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
6
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
ATLAS ITk Pixel System Test
itk-demo-sw
itk-demo-optoboard
Merge requests
!98
Api doc update
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Api doc update
api-doc-update
into
master
Overview
0
Commits
21
Pipelines
12
Changes
2
Merged
Daniele Dal Santo
requested to merge
api-doc-update
into
master
7 months ago
Overview
0
Commits
21
Pipelines
12
Changes
2
Expand
MR for issue
#41 (closed)
, full list of endpoints is
here
Edited
7 months ago
by
Daniele Dal Santo
👍
0
👎
0
Merge request reports
Compare
master
version 5
3f12d309
7 months ago
version 4
6b534001
7 months ago
version 3
b040a96c
7 months ago
version 2
05608ce9
7 months ago
version 1
0cf73612
7 months ago
master (base)
and
latest version
latest version
fe39511e
21 commits,
7 months ago
version 5
3f12d309
20 commits,
7 months ago
version 4
6b534001
19 commits,
7 months ago
version 3
b040a96c
18 commits,
7 months ago
version 2
05608ce9
17 commits,
7 months ago
version 1
0cf73612
16 commits,
7 months ago
2 files
+
27
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
api/.gitlab-ci.yml
+
25
−
1
Options
@@ -51,4 +51,28 @@ tag_tags:
NEWTAG
:
$CI_COMMIT_TAG
extends
:
.tag_image
only
:
-
tags
\ No newline at end of file
-
tags
documentation_update
:
stage
:
tag-api
image
:
python:3.9
script
:
-
cd ..
-
git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.cern.ch/bat/optoboard-system-docs.git
-
apt-get update
-
apt-get install nodejs npm -y
-
npm install -g widdershins
-
ls
-
widdershins itk-demo-optoboard/api/itk_demo_optoboard/api/openapi/openapi.yaml -o optoboard-system-docs/docs/software/itk-demo-optoboard/itk-demo-optoboard-api.md --code --omitHeader
-
perl -i -pe "s/(<h1 id=\"optoboard-flask-api\">Optoboard Flask API )\S+(<\/h1>)/\1${CI_COMMIT_TAG}\2/" optoboard-system-docs/docs/software/itk-demo-optoboard/itk-demo-optoboard-api.md
-
perl -i -ne 'print unless /> Scroll down for code samples/' ./optoboard-system-docs/software/itk-demo-optoboard/itk-demo-optoboard-api.md
-
git config --global user.email "itk-demo-optoboard-ci-bot@unibe.ch"
-
git config --global user.name "itk-demo-optoboard CI"
-
cd optoboard-system-docs
-
git add -A
-
git commit -m "Documentation update from https://gitlab.cern.ch/atlas-itk-pixel-systemtest/itk-demo-sw/itk-demo-optoboard CI, tag $CI_COMMIT_TAG"
-
git push https://gitlab-ci-token:${DOCS_ACCESS_TOKEN}@gitlab.cern.ch/bat/optoboard-system-docs.git master
only
:
-
tags
allow_failure
:
true
\ No newline at end of file
Loading