Tweak Drone order, switch image for xgettext-go
This commit is contained in:
36
.drone.yml
36
.drone.yml
@ -7,6 +7,23 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- make check
|
- make check
|
||||||
|
|
||||||
|
- name: xgettext-go
|
||||||
|
image: git.coopcloud.tech/toolshed/drone-xgettext-go:latest
|
||||||
|
settings:
|
||||||
|
keyword: i18n.G
|
||||||
|
out: pkg/i18n/locales/abra.pot
|
||||||
|
depends_on:
|
||||||
|
- make check
|
||||||
|
|
||||||
|
- name: xgettext-go status
|
||||||
|
image: golang:1.26.0-alpine3.22
|
||||||
|
commands:
|
||||||
|
- apk add patchutils git make
|
||||||
|
- cd /drone/src
|
||||||
|
- make update-pot-po-metadata check-pot-changes
|
||||||
|
depends_on:
|
||||||
|
- xgettext-go
|
||||||
|
|
||||||
- name: make test
|
- name: make test
|
||||||
image: golang:1.24
|
image: golang:1.24
|
||||||
environment:
|
environment:
|
||||||
@ -19,23 +36,6 @@ steps:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- make check
|
- make check
|
||||||
|
|
||||||
- name: xgettext-go
|
|
||||||
image: git.coopcloud.tech/toolshed/drone-xgettext-go:latest
|
|
||||||
settings:
|
|
||||||
keyword: i18n.G
|
|
||||||
out: pkg/i18n/locales/abra.pot
|
|
||||||
depends_on:
|
|
||||||
- make test
|
|
||||||
|
|
||||||
- name: xgettext-go status
|
|
||||||
image: alpine:3.22
|
|
||||||
commands:
|
|
||||||
- apk add patchutils git make
|
|
||||||
- cd /drone/src
|
|
||||||
- make update-pot-po-metadata check-pot-changes
|
|
||||||
depends_on:
|
|
||||||
- xgettext-go
|
|
||||||
|
|
||||||
- name: fetch
|
- name: fetch
|
||||||
image: docker:git
|
image: docker:git
|
||||||
commands:
|
commands:
|
||||||
@ -43,7 +43,6 @@ steps:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- make check
|
- make check
|
||||||
- make test
|
- make test
|
||||||
- xgettext-go status
|
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
||||||
@ -78,7 +77,6 @@ steps:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- make check
|
- make check
|
||||||
- make test
|
- make test
|
||||||
- xgettext-go status
|
|
||||||
|
|
||||||
- name: on-demand integration test
|
- name: on-demand integration test
|
||||||
image: appleboy/drone-ssh
|
image: appleboy/drone-ssh
|
||||||
|
Reference in New Issue
Block a user