-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 44202ba
Showing
686 changed files
with
30,132 additions
and
0 deletions.
There are no files selected for viewing
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,8 @@ | ||
skip_list: | ||
- 'yaml' | ||
- command-instead-of-module # Using command rather than module | ||
- git-latest # Git checkouts must contain explicit version | ||
- no-changed-when # Commands should not change things if nothing needs doing | ||
- package-latest # Package installs should not use latest | ||
- ignore-errors | ||
- var-naming[no-role-prefix] |
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,28 @@ | ||
--- | ||
name: Ansible Lint # feel free to pick your own name | ||
|
||
on: # yamllint disable-line rule:truthy | ||
# Run CI against all pushes (direct commits, also merged PRs), Pull Requests | ||
push: | ||
branches: [main] | ||
paths: | ||
- 'roles/**' | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [main] | ||
paths: | ||
- 'roles/**' | ||
|
||
jobs: | ||
ansible-lint: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
# Important: This sets up your GITHUB_WORKSPACE environment variable | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Lint Ansible Playbook | ||
# replace "master" with any valid ref | ||
uses: ansible/ansible-lint-action@main | ||
with: | ||
path: "roles/" |
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,51 @@ | ||
--- | ||
name: "alphanodes.setup.barman" | ||
'on': | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'roles/barman/**' | ||
- 'molecule/barman/**' | ||
- '.github/workflows/barman.yml' | ||
|
||
defaults: | ||
run: | ||
working-directory: 'alphanodes.barman' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
PY_COLORS: 1 | ||
ANSIBLE_FORCE_COLOR: 1 | ||
|
||
strategy: | ||
matrix: | ||
distro: | ||
- ubuntu2204 | ||
- debian11 | ||
|
||
steps: | ||
- name: Check out the codebase. | ||
uses: actions/checkout@v3 | ||
with: | ||
path: 'alphanodes.barman' | ||
|
||
- name: Set up Python 3. | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install test dependencies. | ||
run: | | ||
python -m pip install --no-cache-dir --upgrade pip | ||
python -m pip install -r requirements.txt | ||
- name: Run Molecule tests. | ||
run: | | ||
molecule --version | ||
molecule test -s barman | ||
env: | ||
MOLECULE_DISTRO: ${{ matrix.distro }} |
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,51 @@ | ||
--- | ||
name: "alphanodes.setup.memcached" | ||
'on': | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'roles/memcached/**' | ||
- 'molecule/memcached/**' | ||
- '.github/workflows/memcached.yml' | ||
|
||
defaults: | ||
run: | ||
working-directory: 'alphanodes.memcached' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
PY_COLORS: 1 | ||
ANSIBLE_FORCE_COLOR: 1 | ||
|
||
strategy: | ||
matrix: | ||
distro: | ||
- ubuntu2204 | ||
- debian11 | ||
|
||
steps: | ||
- name: Check out the codebase. | ||
uses: actions/checkout@v3 | ||
with: | ||
path: 'alphanodes.barman' | ||
|
||
- name: Set up Python 3. | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install test dependencies. | ||
run: | | ||
python -m pip install --no-cache-dir --upgrade pip | ||
python -m pip install -r requirements.txt | ||
- name: Run Molecule tests. | ||
run: | | ||
molecule --version | ||
molecule test -s memcached | ||
env: | ||
MOLECULE_DISTRO: ${{ matrix.distro }} |
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,44 @@ | ||
--- | ||
name: Systemd Timer | ||
'on': | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
|
||
defaults: | ||
run: | ||
working-directory: 'AlphaNodes.drupal_task' | ||
|
||
jobs: | ||
molecule: | ||
name: Molecule | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
distro: | ||
- ubuntu2204 | ||
- debian11 | ||
|
||
steps: | ||
- name: Check out the codebase. | ||
uses: actions/checkout@v3 | ||
with: | ||
path: 'AlphaNodes.drupal_task' | ||
|
||
- name: Set up Python 3. | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install test dependencies. | ||
run: pip3 install ansible molecule molecule-plugins[docker] docker | ||
|
||
- name: Run Molecule tests. | ||
run: | | ||
molecule --version | ||
molecule test -s mongodb | ||
env: | ||
PY_COLORS: '1' | ||
ANSIBLE_FORCE_COLOR: '1' | ||
MOLECULE_DISTRO: ${{ matrix.distro }} |
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,51 @@ | ||
--- | ||
name: "alphanodes.setup.mysql" | ||
'on': | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'roles/mysql/**' | ||
- 'molecule/mysql/**' | ||
- '.github/workflows/mysql.yml' | ||
|
||
defaults: | ||
run: | ||
working-directory: 'alphanodes.mysql' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
PY_COLORS: 1 | ||
ANSIBLE_FORCE_COLOR: 1 | ||
|
||
strategy: | ||
matrix: | ||
distro: | ||
- ubuntu2204 | ||
- debian11 | ||
|
||
steps: | ||
- name: Check out the codebase. | ||
uses: actions/checkout@v3 | ||
with: | ||
path: 'alphanodes.barman' | ||
|
||
- name: Set up Python 3. | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install test dependencies. | ||
run: | | ||
python -m pip install --no-cache-dir --upgrade pip | ||
python -m pip install -r requirements.txt | ||
- name: Run Molecule tests. | ||
run: | | ||
molecule --version | ||
molecule test -s mysql | ||
env: | ||
MOLECULE_DISTRO: ${{ matrix.distro }} |
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,51 @@ | ||
--- | ||
name: "alphanodes.setup.pip" | ||
'on': | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'roles/pip/**' | ||
- 'molecule/pip/**' | ||
- '.github/workflows/pip.yml' | ||
|
||
defaults: | ||
run: | ||
working-directory: 'alphanodes.pip' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
PY_COLORS: 1 | ||
ANSIBLE_FORCE_COLOR: 1 | ||
|
||
strategy: | ||
matrix: | ||
distro: | ||
- ubuntu2204 | ||
- debian11 | ||
|
||
steps: | ||
- name: Check out the codebase. | ||
uses: actions/checkout@v3 | ||
with: | ||
path: 'alphanodes.barman' | ||
|
||
- name: Set up Python 3. | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install test dependencies. | ||
run: | | ||
python -m pip install --no-cache-dir --upgrade pip | ||
python -m pip install -r requirements.txt | ||
- name: Run Molecule tests. | ||
run: | | ||
molecule --version | ||
molecule test -s pip | ||
env: | ||
MOLECULE_DISTRO: ${{ matrix.distro }} |
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,51 @@ | ||
--- | ||
name: "alphanodes.setup.postgresql" | ||
'on': | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'roles/postgresql/**' | ||
- 'molecule/postgresql/**' | ||
- '.github/workflows/postgresql.yml' | ||
|
||
defaults: | ||
run: | ||
working-directory: 'alphanodes.postgresql' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
PY_COLORS: 1 | ||
ANSIBLE_FORCE_COLOR: 1 | ||
|
||
strategy: | ||
matrix: | ||
distro: | ||
- ubuntu2204 | ||
- debian11 | ||
|
||
steps: | ||
- name: Check out the codebase. | ||
uses: actions/checkout@v3 | ||
with: | ||
path: 'alphanodes.barman' | ||
|
||
- name: Set up Python 3. | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install test dependencies. | ||
run: | | ||
python -m pip install --no-cache-dir --upgrade pip | ||
python -m pip install -r requirements.txt | ||
- name: Run Molecule tests. | ||
run: | | ||
molecule --version | ||
molecule test -s postgresql | ||
env: | ||
MOLECULE_DISTRO: ${{ matrix.distro }} |
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,51 @@ | ||
--- | ||
name: "alphanodes.setup.postgresql_client" | ||
'on': | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- 'roles/postgresql_client/**' | ||
- 'molecule/postgresql_client/**' | ||
- '.github/workflows/postgresql_client.yml' | ||
|
||
defaults: | ||
run: | ||
working-directory: 'alphanodes.postgresql_client' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
PY_COLORS: 1 | ||
ANSIBLE_FORCE_COLOR: 1 | ||
|
||
strategy: | ||
matrix: | ||
distro: | ||
- ubuntu2204 | ||
- debian11 | ||
|
||
steps: | ||
- name: Check out the codebase. | ||
uses: actions/checkout@v3 | ||
with: | ||
path: 'alphanodes.barman' | ||
|
||
- name: Set up Python 3. | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install test dependencies. | ||
run: | | ||
python -m pip install --no-cache-dir --upgrade pip | ||
python -m pip install -r requirements.txt | ||
- name: Run Molecule tests. | ||
run: | | ||
molecule --version | ||
molecule test -s postgresql_client | ||
env: | ||
MOLECULE_DISTRO: ${{ matrix.distro }} |
Oops, something went wrong.