-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade RVM Ruby galaxy to version 2.2.0
Now we don't have to overwrite the GPG servers anymore, since the ones we were using are the default ones in the new version. I've considered using a git submodule instead of downloading the release, but decided against it because using git submodules would require an extra step in order to run the installer (running the command `git submodule update --init`).
- Loading branch information
Showing
22 changed files
with
353 additions
and
138 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @rvm/ansible |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
version: 2 | ||
mergeable: | ||
- when: pull_request.* | ||
name: "triage" | ||
validate: | ||
- do: label | ||
and: | ||
- no_empty: | ||
enabled: true | ||
- must_exclude: | ||
regex: duplicate|feedback|invalid|wont|progress | ||
- do: assignee | ||
min: | ||
count: 1 | ||
- do: description | ||
no_empty: | ||
enabled: true | ||
message: Description should not be empty. Provide details with **what** was changed, **why** it was changed, and **how** it was changed. | ||
- do: dependent | ||
changed: | ||
file: '*' | ||
files: ['CHANGELOG.md'] | ||
message: Missing CHANGELOG entry | ||
fail: | ||
- do: assign | ||
assignees: [ '@author' ] | ||
|
||
# Stale PR | ||
- when: schedule.repository | ||
validate: | ||
- do: stale | ||
days: 20 | ||
type: pull_request, issues | ||
pass: | ||
- do: comment | ||
payload: | ||
body: There was no activity for 20 days. Is this still relevant? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
name: CI | ||
on: | ||
push: | ||
pull_request: | ||
# Run monthly as a canary for issues such as package installation failure. | ||
# Note: scheduled workflows are disabled automatically after 60 days of | ||
# repository inactivity. | ||
# https://docs.github.com/en/actions/managing-workflow-runs/disabling-and-enabling-a-workflow | ||
schedule: | ||
- cron: '46 3 20 * *' | ||
|
||
jobs: | ||
tests: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
playbook: | ||
- user.yml | ||
- root.yml | ||
platform: | ||
- centos | ||
- debian | ||
- ubuntu | ||
|
||
runs-on: ubuntu-latest | ||
|
||
defaults: | ||
run: | ||
working-directory: tests | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
# Docker Image Caching: Step 1 | ||
# Pull the latest image to build, and avoid caching pull-only images. | ||
# (docker pull is faster than caching in most cases.) | ||
- run: docker-compose pull | ||
|
||
# Docker Image Caching: Step 2 | ||
# In this step, this action saves a list of existing images, | ||
# the cache is created without them in the post run. | ||
# It also restores the cache if it exists. | ||
- uses: satackey/[email protected] | ||
# Ignore the failure of a step and avoid terminating the job. | ||
continue-on-error: true | ||
|
||
# Docker Image Caching: Step 3 | ||
- name: Launch containers | ||
run: ls -1 ./dockerfiles/ | fgrep ${{ matrix.platform }} | xargs docker-compose up --build -d | ||
|
||
- name: Run The Tests | ||
run: ansible-playbook ${{ matrix.playbook }} -l ${{ matrix.platform }} | ||
|
||
- name: Shut down containers | ||
run: docker-compose down | ||
|
||
# Docker Image Caching: Step 4 | ||
# Finally a post-run action of satackey/action-docker-layer-caching, | ||
# which is the process of saving the cache, will be executed automatically. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.