Add support for Dependabot (#357)

This commit is contained in:
Alessandro Fael Garcia 2021-01-20 18:52:28 +01:00 committed by GitHub
parent 6d48c2a397
commit 3ad13e2641
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 36 additions and 12 deletions

11
.github/dependabot.yml vendored Normal file
View File

@ -0,0 +1,11 @@
---
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "pip"
directory: "/.github/workflows"
schedule:
interval: "daily"

View File

@ -2,6 +2,8 @@
name: Ansible Galaxy import name: Ansible Galaxy import
on: on:
release: release:
types:
- published
jobs: jobs:
galaxy: galaxy:
name: Galaxy name: Galaxy

View File

@ -43,13 +43,7 @@ jobs:
- name: Install Molecule dependencies - name: Install Molecule dependencies
if: "!(contains(matrix.scenario, 'plus') && github.event.pull_request.head.repo.full_name != github.repository)" if: "!(contains(matrix.scenario, 'plus') && github.event.pull_request.head.repo.full_name != github.repository)"
run: | run: pip3 install -r .github/workflows/requirements.txt
pip3 install ansible-base==2.10.4
pip3 install ansible==2.10.5
pip3 install ansible-lint==4.3.7
pip3 install yamllint==1.25.0
pip3 install "molecule[docker]"==3.2.2
pip3 install docker==4.4.1
- name: Run Molecule tests - name: Run Molecule tests
if: "!(contains(matrix.scenario, 'plus') && github.event.pull_request.head.repo.full_name != github.repository)" if: "!(contains(matrix.scenario, 'plus') && github.event.pull_request.head.repo.full_name != github.repository)"

6
.github/workflows/requirements.txt vendored Normal file
View File

@ -0,0 +1,6 @@
ansible-base==2.10.4
ansible==2.10.5
ansible-lint==4.3.7
yamllint==1.25.0
molecule[docker]==3.2.2
docker==4.4.1

View File

@ -1,5 +1,16 @@
# Changelog # Changelog
## 0.19.2 (Unreleased)
FEATURES:
Add support for Dependabot.
ENHANCEMENTS:
* Only run GitHub actions Galaxy CI/CD workflow when a new release is published.
* Update list of supported platforms.
## 0.19.1 (January 11, 2021) ## 0.19.1 (January 11, 2021)
ENHANCEMENTS: ENHANCEMENTS:

View File

@ -65,8 +65,8 @@ SUSE/SLES:
Ubuntu: Ubuntu:
- xenial - xenial
- bionic - bionic
- eoan
- focal - focal
- groovy
``` ```
### NGINX Plus ### NGINX Plus
@ -88,9 +88,8 @@ Debian:
- buster - buster
FreeBSD: FreeBSD:
- 11.2+ - 11.2+
- 12 - 12.1+
Oracle Linux: Oracle Linux:
- 6.5+
- 7.4+ - 7.4+
Red Hat: Red Hat:
- 7.4+ - 7.4+
@ -101,8 +100,8 @@ SUSE/SLES:
Ubuntu: Ubuntu:
- xenial - xenial
- bionic - bionic
- eoan
- focal - focal
- groovy
``` ```
### NGINX Amplify Agent ### NGINX Amplify Agent

View File

@ -30,12 +30,13 @@ galaxy_info:
- name: FreeBSD - name: FreeBSD
versions: versions:
- 11.2 - 11.2
- 12.0 - 12.1
- name: Ubuntu - name: Ubuntu
versions: versions:
- xenial - xenial
- bionic - bionic
- focal - focal
- groovy
- name: SLES - name: SLES
versions: versions:
- 12 - 12