Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
funkwhale
automation
Commits
e0498f42
Verified
Commit
e0498f42
authored
Jun 12, 2019
by
Eliot Berriot
Browse files
Caching
parent
97b1e10b
Pipeline
#4299
passed with stage
in 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
e0498f42
image
:
ruby:2.4
image
:
ruby:2
# Cache gems in between builds
cache
:
key
:
${CI_COMMIT_REF_SLUG}
paths
:
-
vendor/ruby
variables
:
PROJECTS
:
"
funkwhale/funkwhale
funkwhale/funkwhale.audio"
stages
:
-
triage
before_script
:
-
ruby -v
# Print out ruby version for debugging
-
bundle install gitlab-triage
dry-run:triage:
stage
:
triage
script
:
-
export PROJECTS_ARRAY=($PROJECTS)
-
gem install gitlab-triage
-
gitlab-triage --help
-
for proj in "${PROJECTS[@]}"; do echo "Triaging $proj" && gitlab-triage --dry-run --token $API_TOKEN --source projects --source-id $proj --host-url https://dev.funkwhale.audio; done
-
bundle exec gitlab-triage --help
-
bundle exec gitlab-triage --dry-run --token $API_TOKEN --source group --source-id funkwhale --host-url https://dev.funkwhale.audio
when
:
manual
except
:
-
schedules
...
...
@@ -20,7 +27,6 @@ dry-run:triage:
run:triage:
stage
:
triage
script
:
-
gem install gitlab-triage
-
gitlab-triage --dry-run --token $API_TOKEN --source projects --source-id $CI_PROJECT_PATH --host-url https://dev.funkwhale.audio
-
bundle exec gitlab-triage --token $API_TOKEN --source group --source-id funkwhale --host-url https://dev.funkwhale.audio
only
:
-
schedules
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment