0
0
mirror of https://github.com/thegeeklab/wp-s3-action.git synced 2024-11-22 01:00:40 +00:00

fix ci config

This commit is contained in:
Robert Kaussow 2023-08-22 22:23:32 +02:00
parent f0c13a65e3
commit e863ce4537
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
6 changed files with 10 additions and 14 deletions

View File

@ -52,7 +52,7 @@ branches:
strict: false strict: false
contexts: contexts:
- ci/woodpecker/pr/test - ci/woodpecker/pr/test
- ci/woodpecker/pr/build-binary - ci/woodpecker/pr/build-package
- ci/woodpecker/pr/build-container - ci/woodpecker/pr/build-container
- ci/woodpecker/pr/docs - ci/woodpecker/pr/docs
enforce_admins: false enforce_admins: false

4
.gitignore vendored
View File

@ -1,5 +1,5 @@
/dist/ /dist
/release/ /release
/wp-s3-action* /wp-s3-action*
coverage.out coverage.out

View File

@ -7,7 +7,7 @@ when:
steps: steps:
dryrun: dryrun:
image: quay.io/thegeeklab/wp-docker-buildx image: quay.io/thegeeklab/wp-docker-buildx:1
settings: settings:
containerfile: Containerfile.multiarch containerfile: Containerfile.multiarch
dry_run: true dry_run: true
@ -21,7 +21,7 @@ steps:
publish-dockerhub: publish-dockerhub:
group: container group: container
image: quay.io/thegeeklab/wp-docker-buildx image: quay.io/thegeeklab/wp-docker-buildx:1
settings: settings:
auto_tag: true auto_tag: true
containerfile: Containerfile.multiarch containerfile: Containerfile.multiarch
@ -42,7 +42,7 @@ steps:
publish-quay: publish-quay:
group: container group: container
image: quay.io/thegeeklab/wp-docker-buildx image: quay.io/thegeeklab/wp-docker-buildx:1
settings: settings:
auto_tag: true auto_tag: true
containerfile: Containerfile.multiarch containerfile: Containerfile.multiarch

View File

@ -13,7 +13,7 @@ steps:
- make release - make release
executable: executable:
image: docker.io/library/alpine image: quay.io/thegeeklab/alpine-tools
commands: commands:
- $(find dist/ -executable -type f -iname ${CI_REPO_NAME}-linux-amd64) --help - $(find dist/ -executable -type f -iname ${CI_REPO_NAME}-linux-amd64) --help

View File

@ -14,7 +14,7 @@ steps:
spellcheck: spellcheck:
image: quay.io/thegeeklab/alpine-tools image: quay.io/thegeeklab/alpine-tools
commands: commands:
- spellchecker --files '_docs/**/*.md' 'README.md' 'CONTRIBUTING.md' -d .dictionary -p spell indefinite-article syntax-urls --no-suggestions - spellchecker --files '_docs/**/*.md' 'README.md' 'CONTRIBUTING.md' -d .dictionary -p spell indefinite-article syntax-urls
environment: environment:
FORCE_COLOR: "true" FORCE_COLOR: "true"
NPM_CONFIG_LOGLEVEL: "error" NPM_CONFIG_LOGLEVEL: "error"
@ -68,5 +68,5 @@ steps:
status: [success] status: [success]
depends_on: depends_on:
- build-binary - build-package
- build-container - build-container

View File

@ -9,7 +9,7 @@ runs_on: [success, failure]
steps: steps:
matrix: matrix:
image: quay.io/thegeeklab/drone-matrix image: quay.io/thegeeklab/wp-matrix
settings: settings:
homeserver: homeserver:
from_secret: matrix_homeserver from_secret: matrix_homeserver
@ -17,10 +17,6 @@ steps:
from_secret: matrix_password from_secret: matrix_password
roomid: roomid:
from_secret: matrix_roomid from_secret: matrix_roomid
template: >-
Status: **{{ .Build.Status }}**<br/>
Build: [{{ .Repo.Owner }}/{{ .Repo.Name }}]({{ .Build.Link }}){{ if .Build.Branch }} ({{ .Build.Branch }}){{ end }} by {{ .Commit.Author }}<br/>
Message: {{ .Commit.Message.Title }}
username: username:
from_secret: matrix_username from_secret: matrix_username
when: when: