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
ea6eabd7
Commit
ea6eabd7
authored
1 year ago
by
Neil-Jocelyn Schark
Browse files
Options
Downloads
Patches
Plain Diff
remove uml gen
parent
986feb44
No related branches found
No related tags found
1 merge request
!665
Remove legacy integration test refs and k8s deployment
Pipeline
#175841
failed
1 year ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab/ci/.uml-autogen-ci.yml
+0
-31
0 additions, 31 deletions
.gitlab/ci/.uml-autogen-ci.yml
with
0 additions
and
31 deletions
.gitlab/ci/.uml-autogen-ci.yml
deleted
100644 → 0
+
0
−
31
View file @
986feb44
goplantuml
:
image
:
${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/golang:$GOLANG_VERSION
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