You've already forked ansible-role-common
Update Pipeline
This commit is contained in:
@@ -24,6 +24,9 @@ steps:
|
|||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- molecule test --scenario-name ${MOLECULE_SCENARIO:-default}
|
- molecule test --scenario-name ${MOLECULE_SCENARIO:-default}
|
||||||
secrets: [ ]
|
secrets: [ auth_duo_host,
|
||||||
|
auth_duo_ikey,
|
||||||
|
auth_duo_skey,
|
||||||
|
auth_duo_mirror_url ]
|
||||||
when:
|
when:
|
||||||
event: [ cron ]
|
event: [ cron ]
|
||||||
|
|||||||
@@ -1,3 +1,12 @@
|
|||||||
|
clone:
|
||||||
|
git:
|
||||||
|
image: woodpeckerci/plugin-git
|
||||||
|
settings:
|
||||||
|
recursive: true
|
||||||
|
submodule_update_remote: true
|
||||||
|
when:
|
||||||
|
event: [ push, manual ]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
ansible-lint:
|
ansible-lint:
|
||||||
group: test
|
group: test
|
||||||
@@ -18,3 +27,17 @@ steps:
|
|||||||
- yamllint -f colored .
|
- yamllint -f colored .
|
||||||
when:
|
when:
|
||||||
event: [ push, manual ]
|
event: [ push, manual ]
|
||||||
|
ntfy:
|
||||||
|
image: codeberg.org/l-x/woodpecker-ntfy
|
||||||
|
settings:
|
||||||
|
url: https://ntfy.cybercinch.nz/ci-status
|
||||||
|
title: "Lint failed for ${CI_REPO_NAME}"
|
||||||
|
priority: urgent
|
||||||
|
icon: https://woodpecker-ci.org/img/logo.svg
|
||||||
|
tags: robot,warning,rotating_light,${CI_BUILD_EVENT},${CI_REPO_NAME}
|
||||||
|
message: >
|
||||||
|
📝 Commit by ${CI_COMMIT_AUTHOR} on ${CI_COMMIT_BRANCH}:
|
||||||
|
${CI_COMMIT_MESSAGE}
|
||||||
|
when:
|
||||||
|
event: [ push, manual ]
|
||||||
|
status: [ failure ]
|
||||||
|
|||||||
@@ -24,10 +24,24 @@ steps:
|
|||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
commands:
|
commands:
|
||||||
- molecule test --scenario-name ${MOLECULE_SCENARIO:-default}
|
- molecule test --scenario-name ${MOLECULE_SCENARIO:-default}
|
||||||
secrets: []
|
secrets: [ auth_duo_host, auth_duo_ikey, auth_duo_skey, auth_duo_mirror_url ]
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
- push
|
- push
|
||||||
- manual
|
- manual
|
||||||
|
ntfy:
|
||||||
|
image: codeberg.org/l-x/woodpecker-ntfy
|
||||||
|
settings:
|
||||||
|
url: https://ntfy.cybercinch.nz/ci-status
|
||||||
|
title: "Test failed for ${CI_REPO_NAME} - Distro: ${MOLECULE_DISTRO} Scenario: ${MOLECULE_SCENARIO:-default}"
|
||||||
|
priority: urgent
|
||||||
|
icon: https://woodpecker-ci.org/img/logo.svg
|
||||||
|
tags: robot,warning,rotating_light,${CI_BUILD_EVENT},${CI_REPO_NAME}
|
||||||
|
message: >
|
||||||
|
📝 Commit by ${CI_COMMIT_AUTHOR} on ${CI_COMMIT_BRANCH}:
|
||||||
|
${CI_COMMIT_MESSAGE}
|
||||||
|
when:
|
||||||
|
event: [ push, manual ]
|
||||||
|
status: [ failure ]
|
||||||
depends_on:
|
depends_on:
|
||||||
- lint
|
- lint
|
||||||
|
|||||||
@@ -10,9 +10,7 @@ steps:
|
|||||||
icon: https://woodpecker-ci.org/img/logo.svg
|
icon: https://woodpecker-ci.org/img/logo.svg
|
||||||
tags: robot,white_check_mark,${CI_BUILD_EVENT},${CI_REPO_NAME}
|
tags: robot,white_check_mark,${CI_BUILD_EVENT},${CI_REPO_NAME}
|
||||||
message: >
|
message: >
|
||||||
📝 Commit by ${CI_COMMIT_AUTHOR} on ${CI_COMMIT_BRANCH}:
|
Test success when run by cron for ${CI_REPO_NAME}.
|
||||||
|
|
||||||
${CI_COMMIT_MESSAGE}
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- cron
|
- "cron"
|
||||||
runs_on: [ success ]
|
runs_on: [ success ]
|
||||||
@@ -5,13 +5,16 @@ steps:
|
|||||||
image: codeberg.org/l-x/woodpecker-ntfy
|
image: codeberg.org/l-x/woodpecker-ntfy
|
||||||
settings:
|
settings:
|
||||||
url: https://ntfy.cybercinch.nz/ci-status
|
url: https://ntfy.cybercinch.nz/ci-status
|
||||||
title: Build ${CI_PIPELINE_STATUS} on ${CI_REPO_NAME}
|
title: "Build completed for ${CI_REPO_NAME}"
|
||||||
priority: urgent
|
priority: urgent
|
||||||
icon: https://woodpecker-ci.org/img/logo.svg
|
icon: https://woodpecker-ci.org/img/logo.svg
|
||||||
tags: robot,white_check_mark,${CI_BUILD_EVENT},${CI_REPO_NAME}
|
tags: robot,tada,white_check_mark,${CI_BUILD_EVENT},${CI_REPO_NAME}
|
||||||
message: >
|
message: >
|
||||||
📝 Commit by ${CI_COMMIT_AUTHOR} on ${CI_COMMIT_BRANCH}:
|
📝 Commit by ${CI_COMMIT_AUTHOR} on ${CI_COMMIT_BRANCH}:
|
||||||
${CI_COMMIT_MESSAGE}
|
${CI_COMMIT_MESSAGE}
|
||||||
|
when:
|
||||||
|
event: [ push, manual ]
|
||||||
|
status: [ success ]
|
||||||
depends_on:
|
depends_on:
|
||||||
- lint
|
- lint
|
||||||
- test
|
- test
|
||||||
|
|||||||
@@ -10,9 +10,7 @@ steps:
|
|||||||
icon: https://woodpecker-ci.org/img/logo.svg
|
icon: https://woodpecker-ci.org/img/logo.svg
|
||||||
tags: robot,rotating_light,no_entry,${CI_BUILD_EVENT},${CI_REPO_NAME}
|
tags: robot,rotating_light,no_entry,${CI_BUILD_EVENT},${CI_REPO_NAME}
|
||||||
message: >
|
message: >
|
||||||
📝 Commit by ${CI_COMMIT_AUTHOR} on ${CI_COMMIT_BRANCH}:
|
Test failed when run by cron for ${CI_REPO_NAME}.
|
||||||
|
|
||||||
${CI_COMMIT_MESSAGE}
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- cron
|
- "cron"
|
||||||
runs_on: [ failure ]
|
runs_on: [ failure ]
|
||||||
Reference in New Issue
Block a user