Add Dependabot to Galaxy workflow (#359)
This commit is contained in:
parent
3ad13e2641
commit
3f107d6179
4
.github/workflows/galaxy.yml
vendored
4
.github/workflows/galaxy.yml
vendored
@ -7,7 +7,7 @@ on:
|
||||
jobs:
|
||||
galaxy:
|
||||
name: Galaxy
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Check out the codebase
|
||||
uses: actions/checkout@v2
|
||||
@ -18,7 +18,7 @@ jobs:
|
||||
python-version: 3.x
|
||||
|
||||
- name: Install Ansible
|
||||
run: pip3 install ansible-base==2.10.3
|
||||
run: pip3 install -r .github/workflows/requirements_galaxy.txt
|
||||
|
||||
- name: Import release to Ansible Galaxy
|
||||
run: ansible-galaxy role import --api-key ${{ secrets.GALAXY_API_KEY }} $(echo ${{ github.repository }} | cut -d/ -f1) $(echo ${{ github.repository }} | cut -d/ -f2)
|
||||
|
4
.github/workflows/molecule.yml
vendored
4
.github/workflows/molecule.yml
vendored
@ -14,7 +14,7 @@ on:
|
||||
jobs:
|
||||
molecule:
|
||||
name: Molecule
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
matrix:
|
||||
scenario:
|
||||
@ -43,7 +43,7 @@ jobs:
|
||||
|
||||
- name: Install Molecule dependencies
|
||||
if: "!(contains(matrix.scenario, 'plus') && github.event.pull_request.head.repo.full_name != github.repository)"
|
||||
run: pip3 install -r .github/workflows/requirements.txt
|
||||
run: pip3 install -r .github/workflows/requirements_molecule.txt
|
||||
|
||||
- name: Run Molecule tests
|
||||
if: "!(contains(matrix.scenario, 'plus') && github.event.pull_request.head.repo.full_name != github.repository)"
|
||||
|
1
.github/workflows/requirements_galaxy.txt
vendored
Normal file
1
.github/workflows/requirements_galaxy.txt
vendored
Normal file
@ -0,0 +1 @@
|
||||
ansible-base==2.10.4
|
@ -9,6 +9,7 @@ Add support for Dependabot.
|
||||
ENHANCEMENTS:
|
||||
|
||||
* Only run GitHub actions Galaxy CI/CD workflow when a new release is published.
|
||||
* Specify GitHub actions Ubuntu release.
|
||||
* Update list of supported platforms.
|
||||
|
||||
## 0.19.1 (January 11, 2021)
|
||||
|
Loading…
Reference in New Issue
Block a user