Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Nexus Tools
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
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
Public
Nexus Tools
Commits
cd092087
Commit
cd092087
authored
2 years ago
by
Dean Lovett
Browse files
Options
Downloads
Patches
Plain Diff
chore: added changelog tools
parent
4c3c3e17
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!3
Update Nexus Tools
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
run.sh
+7
-0
7 additions, 0 deletions
run.sh
with
7 additions
and
0 deletions
run.sh
+
7
−
0
View file @
cd092087
...
...
@@ -12,6 +12,7 @@ display_help() {
echo
"restart Stops and then starts a docker-compose service"
echo
"rebuild Stops, builds and then starts a docker-compose service"
echo
"logs Shows the logs for a docker-compose service"
echo
"changelog, cl Runs the service changelog tool, for managing compiled changelogs"
echo
"cq, code-quality Runs the nexus code quality tool"
echo
"gu, gemfile-updater Runs the gemfile updater tool, outputting common gemfiles in the console"
echo
"bu, bundle-update Mounts the Gemfile and lockfile and runs bundle update."
...
...
@@ -65,6 +66,12 @@ case "$1" in
docker pull
$CQ_IMAGE
docker run
--rm
-v
"
$PWD
"
:/app/mounted
$CQ_IMAGE
"
$@
"
;;
changelog|cl
)
shift
CL_IMAGE
=
registry.nexusmods.com/nexus-mods/devops/tools/services-changelog:stable
docker pull
$CL_IMAGE
docker run
--rm
-v
${
SSH_AUTH_SOCK
}
:/ssh-agent
-e
SSH_AUTH_SOCK
=
/ssh-agent
-v
"
$PWD
"
:/app
$CL_IMAGE
"
$@
"
;;
gu|gemfile-updater
)
shift
GU_IMAGE
=
registry.nexusmods.com/public/gemfile-updater:stable
...
...
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