From add939d434f4fdffc2dacca1969b3e4e6915bdef Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Thu, 25 Jan 2024 20:34:35 +0100 Subject: [PATCH] d --- .gitea/workflows/lint.yml | 11 +++++++++++ .woodpecker/ansible-lint.yml | 16 ---------------- .woodpecker/gitleaks.yml | 10 ---------- .woodpecker/notify.yml | 27 --------------------------- 4 files changed, 11 insertions(+), 53 deletions(-) delete mode 100644 .woodpecker/ansible-lint.yml delete mode 100644 .woodpecker/gitleaks.yml delete mode 100644 .woodpecker/notify.yml diff --git a/.gitea/workflows/lint.yml b/.gitea/workflows/lint.yml index 207eb5ef..8813c5f0 100644 --- a/.gitea/workflows/lint.yml +++ b/.gitea/workflows/lint.yml @@ -12,3 +12,14 @@ jobs: steps: - name: gitleaks run: gitleaks detect --no-git --verbose --source $GITHUB_WORKSPACE + + ansible-lint: + container: + image: quay.io/ansible/creator-ee + env: + VAULT-PASS: ${{ secrets.vault_pass }} # Repo-Secret + steps: + - ansible-lint --version + - echo $VAULT-PASS > ./vault-pass.yml # nach des Secret in Großschreibung + - ansible-galaxy install -r requirements.yml + - ansible-lint --force-color --format pep8 diff --git a/.woodpecker/ansible-lint.yml b/.woodpecker/ansible-lint.yml deleted file mode 100644 index f884e271..00000000 --- a/.woodpecker/ansible-lint.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- -depends_on: - - gitleaks - -steps: - - name: ansible-lint - image: quay.io/ansible/creator-ee - commands: - - ansible-lint --version - - echo $VAULT-PASS > ./vault-pass.yml # nach des Secret in Großschreibung - - ansible-galaxy install -r requirements.yml - - ansible-lint --force-color --format pep8 - when: - event: - exclude: - - tag diff --git a/.woodpecker/gitleaks.yml b/.woodpecker/gitleaks.yml deleted file mode 100644 index 3aefe4b9..00000000 --- a/.woodpecker/gitleaks.yml +++ /dev/null @@ -1,10 +0,0 @@ ---- -steps: - gitleaks: - image: zricethezav/gitleaks:latest - commands: - - gitleaks detect --no-git --verbose --source $CI_WORKSPACE - when: - event: - exclude: - - tag diff --git a/.woodpecker/notify.yml b/.woodpecker/notify.yml deleted file mode 100644 index 4298ba61..00000000 --- a/.woodpecker/notify.yml +++ /dev/null @@ -1,27 +0,0 @@ ---- -depends_on: - - gitleaks - - ansible-lint -runs_on: - - failure - -skip_clone: true - -steps: - - name: notify - image: registry.mgrote.net/allzweckcontainer:latest - commands: - - | - s-nail \ - -s "CI: [$CI_PIPELINE_STATUS] $CI_REPO" \ - -S mta=smtp://docker10.mgrote.net:1025 \ - -S smtp-auth=none \ - -S v15-compat \ - -S from=ci@mgrote.net \ - $CI_COMMIT_AUTHOR_EMAIL <