Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: added continue on erro for molecule lint #2

Merged
merged 1 commit into from
May 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Ansible Molecule

Check failure on line 1 in .github/workflows/molecule.yml

View workflow job for this annotation

GitHub Actions / lint

yaml[document-start]

Missing document start "---"

Check warning on line 1 in .github/workflows/molecule.yml

View workflow job for this annotation

GitHub Actions / yamllint

1:1 [document-start] missing document start "---"

Check failure on line 1 in .github/workflows/molecule.yml

View workflow job for this annotation

GitHub Actions / ansible-lint

yaml[document-start]

Missing document start "---"

on:

Check failure on line 3 in .github/workflows/molecule.yml

View workflow job for this annotation

GitHub Actions / lint

yaml[truthy]

Truthy value should be one of \[false, no, true, yes]

Check warning on line 3 in .github/workflows/molecule.yml

View workflow job for this annotation

GitHub Actions / yamllint

3:1 [truthy] truthy value should be one of [false, no, true, yes]
push:
Expand All @@ -15,6 +15,7 @@
uses: actions/checkout@v4
- name: ansible-lint
uses: ansible-community/ansible-lint-action@main
continue-on-error: true
test:
needs:
- lint
Expand All @@ -27,7 +28,7 @@
tag: "latest"
- image: "ubuntu"
tag: "22.04"
# - image: "enterpriselinux"

Check failure on line 31 in .github/workflows/molecule.yml

View workflow job for this annotation

GitHub Actions / lint

yaml[comments-indentation]

Comment not indented like content

Check warning on line 31 in .github/workflows/molecule.yml

View workflow job for this annotation

GitHub Actions / yamllint

31:11 [comments-indentation] comment not indented like content

Check failure on line 31 in .github/workflows/molecule.yml

View workflow job for this annotation

GitHub Actions / ansible-lint

yaml[comments-indentation]

Comment not indented like content
# tag: "8"
# - image: "enterpriselinux"
# tag: "latest"
Expand Down
5 changes: 3 additions & 2 deletions molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@
driver:
name: docker
platforms:
- name: "${image:-ubuntu} Machine"
- name: "${image:-ubuntu}-${tag:-22.04}-machine"
image: "${image:-ubuntu}:${tag:-22.04}"
privileged: yes
pre_build_image: false
lint: |
set -e
Expand All @@ -15,7 +16,7 @@ provisioner:
playbooks:
converge: playbook.yml
env:
ANSIBLE_EXTRA_VARS: "{'skip_handlers': true}"
skip_handlers: "true"
scenario:
name: default
test_sequence:
Expand Down
Loading