Bump submodules/javascript-plugin from 90f981a
to a511526
#4715
Workflow file for this run
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
--- | |
name: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, synchronize, reopened] | |
env: | |
PY_COLORS: 1 | |
ANSIBLE_FORCE_COLOR: 1 | |
ANSIBLE_STDOUT_CALLBACK: yaml | |
jobs: | |
lint: | |
if: ${{ !contains(github.head.ref, 'dependabot') }} | |
runs-on: ubuntu-latest | |
container: leandelivery/docker-ansible-ci:ansible-7 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Lints | |
run: | | |
git clone https://github.com/lean-delivery/ansible-lint-rules.git ~/ansible-lint-rules | |
yamllint . -c .yamllint | |
# ansible-lint . -c .ansible-lint # https://github.com/lean-delivery/ansible-role-sonarqube/issues/3023 | |
sonarcloud: | |
name: SonarCloud | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
- name: SonarCloud Scan | |
uses: SonarSource/sonarcloud-github-action@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
all-sonar-latest: | |
needs: lint | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
container: leandelivery/docker-ansible-ci:ansible-7 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Prepare | |
run: | | |
ansible --version | |
ansible-lint --version | |
molecule --version | |
rm -rf molecule/resources/provisioning | |
git clone https://github.com/lean-delivery/ansible-molecule-drivers.git molecule/resources/provisioning | |
- name: Molecule | |
run: molecule test -s default | |
ubuntu1804-sonar: | |
needs: lint | |
strategy: | |
matrix: | |
sonar_version: | |
- '10.5.1.90531' | |
- '10.4.1.88267' | |
- '10.3.0.82913' | |
- '10.2.1.78527' | |
- '10.1.0.73491' | |
- '10.0.0.68432' | |
- '9.9.6.92038' | |
- '8.9.10.61524' | |
fail-fast: false | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
container: leandelivery/docker-ansible-ci:ansible-7 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Prepare | |
run: | | |
ansible --version | |
ansible-lint --version | |
molecule --version | |
rm -rf molecule/resources/provisioning | |
git clone https://github.com/lean-delivery/ansible-molecule-drivers.git molecule/resources/provisioning | |
- name: Molecule | |
run: molecule test -s base | |
env: | |
SONAR_VERSION: ${{ matrix.sonar_version }} | |
ubuntu1804-sonar-7: | |
needs: lint | |
strategy: | |
matrix: | |
sonar_version: | |
- '7.9.6' | |
fail-fast: false | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
container: leandelivery/docker-ansible-ci:ansible-7 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Prepare | |
run: | | |
ansible --version | |
ansible-lint --version | |
molecule --version | |
rm -rf molecule/resources/provisioning | |
git clone https://github.com/lean-delivery/ansible-molecule-drivers.git molecule/resources/provisioning | |
- name: Molecule | |
run: molecule test -s java11 | |
env: | |
SONAR_VERSION: ${{ matrix.sonar_version }} | |
ubuntu1804-ansible: | |
needs: lint | |
strategy: | |
matrix: | |
ansible_version: | |
- 6 | |
fail-fast: false | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
container: leandelivery/docker-ansible-ci:ansible-${{ matrix.ansible_version }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Prepare | |
run: | | |
ansible --version | |
ansible-lint --version | |
molecule --version | |
rm -rf molecule/resources/provisioning | |
git clone https://github.com/lean-delivery/ansible-molecule-drivers.git molecule/resources/provisioning | |
- name: Molecule | |
run: molecule test -s default |