mirror of
https://github.com/thegeeklab/wp-git-action.git
synced 2024-11-28 08:10:35 +00:00
unify ci
This commit is contained in:
parent
d6a306f9bf
commit
2c9d88a60b
2
.github/settings.yml
vendored
2
.github/settings.yml
vendored
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
|
@ -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
|
||||||
|
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user