Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
goSDN
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor 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
danet
goSDN
Commits
e0249d0f
Commit
e0249d0f
authored
4 years ago
by
Manuel Kieweg
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' into 99-commit-confirm-mechanic-for-ond-changes
parents
7f7ae7e9
43cc6b00
No related branches found
No related tags found
9 merge requests
!246
Develop
,
!245
Develop into Master
,
!244
Master into develop2 into master
,
!219
Draft: Testing
,
!214
Test pipelines
,
!195
DO NOT MERGE 2
,
!194
DO NOT MERGE! just for testing
,
!147
Commit-Confirm Mechanic for PND
,
!138
Develop
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-1
2 additions, 1 deletion
.gitlab-ci.yml
build/ci/.uml-autogen-ci.yml
+31
-0
31 additions, 0 deletions
build/ci/.uml-autogen-ci.yml
with
33 additions
and
1 deletion
.gitlab-ci.yml
+
2
−
1
View file @
e0249d0f
...
@@ -21,4 +21,5 @@ include:
...
@@ -21,4 +21,5 @@ include:
-
local
:
'
/build/ci/.build-container.yml'
-
local
:
'
/build/ci/.build-container.yml'
-
local
:
'
/build/ci/.test.yml'
-
local
:
'
/build/ci/.test.yml'
-
local
:
'
/build/ci/.terraform-ci.yml'
-
local
:
'
/build/ci/.terraform-ci.yml'
-
local
:
'
/build/ci/.deploy-k8s.yml'
-
local
:
'
/build/ci/.deploy-k8s.yml'
\ No newline at end of file
-
local
:
'
/build/ci/.uml-autogen-ci.yml'
This diff is collapsed.
Click to expand it.
build/ci/.uml-autogen-ci.yml
0 → 100644
+
31
−
0
View file @
e0249d0f
goplantuml
:
image
:
golang:1.14
stage
:
.post
only
:
-
develop
when
:
manual
variables
:
FILENAME
:
"
home.md"
WIKI_URL
:
"
${CI_SERVER_PROTOCOL}://project_${CI_PROJECT_ID}_bot3:${GOPLANTUML_TOKEN}@${CI_SERVER_HOST}:${CI_SERVER_PORT}/${CI_PROJECT_PATH}.wiki.git"
script
:
# install goplantuml
-
go get github.com/jfeliu007/goplantuml/cmd/goplantuml
# remove old wiki folder
-
rm -rf "/tmp/${CI_PROJECT_NAME}.wiki"
# clone and move to wiki folder
-
cd /tmp
-
git clone "${WIKI_URL}"
-
cd "${CI_PROJECT_NAME}.wiki"
-
echo '```plantuml' > "$FILENAME"
# run goplantuml
-
goplantuml "${CI_PROJECT_DIR}/nucleus/" >> "$FILENAME"
-
echo '```' >> "$FILENAME"
# git commit
-
git config user.name "$GITLAB_USER_NAME"
-
git config user.email "$GITLAB_USER_EMAIL"
-
git add "$FILENAME"
-
git commit -m "Auto-updated UML diagram via goplantuml CI job"
-
git push origin "HEAD:master"
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