diff --git a/.woodpecker/.build.yaml b/.woodpecker/.build.yaml index 13a3abc..7d19846 100644 --- a/.woodpecker/.build.yaml +++ b/.woodpecker/.build.yaml @@ -16,20 +16,29 @@ steps: - 'latest' - ${CI_COMMIT_SHA} - build-branch: + # build-branch: + # when: + # - event: push + # branch: + # exclude: ['main'] + # image: woodpeckerci/plugin-docker-buildx:4.0.0@sha256:9d24b71c37d7a958d79252e608c4d1a04b02f2e74d4e26003b43e0830038bde0 + # pull: true + # settings: + # platforms: linux/amd64 + # registry: ${CI_FORGE_URL} + # username: WoodpeckerCI + # password: + # from_secret: gitea_token + # repo: git.verdigado.com/${CI_REPO,,} + # tags: + # - ${CI_COMMIT_BRANCH} + # - ${CI_COMMIT_SHA} + + sleep: when: - - event: push - branch: - exclude: ['main'] - image: woodpeckerci/plugin-docker-buildx:4.0.0@sha256:9d24b71c37d7a958d79252e608c4d1a04b02f2e74d4e26003b43e0830038bde0 - pull: true - settings: - platforms: linux/amd64 - registry: ${CI_FORGE_URL} - username: WoodpeckerCI - password: - from_secret: gitea_token - repo: git.verdigado.com/${CI_REPO,,} - tags: - - ${CI_COMMIT_BRANCH} - - ${CI_COMMIT_SHA} + event: push + # depends_on: + # - build-branch + image: alpine + commands: + - sleep 600 diff --git a/.woodpecker/.test.yaml b/.woodpecker/.test.yaml index fda8cc0..795ff9b 100644 --- a/.woodpecker/.test.yaml +++ b/.woodpecker/.test.yaml @@ -25,16 +25,12 @@ steps: test: *image commands: - 'echo image: *image' - - 'echo pulling $test' - - while ! docker pull $test ; do echo try; sleep 1; done + - 'echo $test' - salt pre-commit: - image: *image - depends_on: - - debug - - salt clone - environment: - - SKIP=no-commit-to-branch # Ignore "don't commit to protected branch" check - commands: - - cd salt - - pre-commit run --all-files + # salt pre-commit: + # image: *image + # environment: + # - SKIP=no-commit-to-branch # Ignore "don't commit to protected branch" check + # commands: + # - cd salt + # - pre-commit run --all-files