Pin woodpecker docker images
This commit is contained in:
parent
95fb7dee28
commit
f07ff8e792
@ -1,17 +1,16 @@
|
|||||||
variables:
|
variables:
|
||||||
- &node_image 'node:20-alpine'
|
|
||||||
- &create_synapse_access_token >-
|
- &create_synapse_access_token >-
|
||||||
echo '{"user_id":"ci-dummy","access_token":"ci-dummy","home_server":"ci-dummy","device_id":"ci-dummy"}' > src/config/synapse_access_token.json
|
echo '{"user_id":"ci-dummy","access_token":"ci-dummy","home_server":"ci-dummy","device_id":"ci-dummy"}' > src/config/synapse_access_token.json
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
lint-markdown:
|
lint-markdown:
|
||||||
image: markdownlint/markdownlint:latest
|
image: markdownlint/markdownlint:0.12.0
|
||||||
group: test
|
group: test
|
||||||
commands:
|
commands:
|
||||||
- mdl .
|
- mdl .
|
||||||
|
|
||||||
check-pre-commit:
|
check-pre-commit:
|
||||||
image: python:latest
|
image: python:3.11.5
|
||||||
group: test
|
group: test
|
||||||
environment:
|
environment:
|
||||||
- SKIP=no-commit-to-branch # Ignore "don't commit to protected branch" check
|
- SKIP=no-commit-to-branch # Ignore "don't commit to protected branch" check
|
||||||
@ -20,30 +19,30 @@ steps:
|
|||||||
- pre-commit run --all-files
|
- pre-commit run --all-files
|
||||||
|
|
||||||
node-install-dependencies:
|
node-install-dependencies:
|
||||||
image: *node_image
|
image: node:20.5.1-alpine3.18
|
||||||
commands:
|
commands:
|
||||||
- npm clean-install
|
- npm clean-install
|
||||||
|
|
||||||
node-lint:
|
node-lint:
|
||||||
image: *node_image
|
image: node:20.5.1-alpine3.18
|
||||||
group: test
|
group: test
|
||||||
commands:
|
commands:
|
||||||
- npm run lint
|
- npm run lint
|
||||||
|
|
||||||
node-format:
|
node-format:
|
||||||
image: *node_image
|
image: node:20.5.1-alpine3.18
|
||||||
group: test
|
group: test
|
||||||
commands:
|
commands:
|
||||||
- npm run format
|
- npm run format
|
||||||
|
|
||||||
node-test:
|
node-test:
|
||||||
image: *node_image
|
image: node:20.5.1-alpine3.18
|
||||||
commands:
|
commands:
|
||||||
- *create_synapse_access_token
|
- *create_synapse_access_token
|
||||||
- npm test --ci
|
- npm test --ci
|
||||||
|
|
||||||
node-compile:
|
node-compile:
|
||||||
image: *node_image
|
image: node:20.5.1-alpine3.18
|
||||||
commands:
|
commands:
|
||||||
- *create_synapse_access_token
|
- *create_synapse_access_token
|
||||||
- npm run compile
|
- npm run compile
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user