-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #117 from lblod/internal/woodpecker
Move to woodpecker CI
- Loading branch information
Showing
4 changed files
with
49 additions
and
77 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
steps: | ||
build-latest: | ||
image: woodpeckerci/plugin-docker-buildx | ||
settings: | ||
repo: "${CI_REPO_OWNER}/${CI_REPO_NAME}" | ||
tags: latest | ||
platforms: linux/amd64 | ||
# Can enable arm64 when moving to mu-javascript-template version >1.8 | ||
# platforms: linux/amd64, linux/arm64 | ||
secrets: [ docker_username, docker_password ] | ||
when: | ||
branch: master | ||
event: push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
steps: | ||
build-release: | ||
image: woodpeckerci/plugin-docker-buildx | ||
settings: | ||
repo: "${CI_REPO_OWNER}/${CI_REPO_NAME}" | ||
tags: "${CI_COMMIT_TAG##v}" # drops v from version tag | ||
platforms: linux/amd64 | ||
# Can enable arm64 when moving to mu-javascript-template version >1.8 | ||
# platforms: linux/amd64, linux/arm64 | ||
secrets: [ docker_username, docker_password ] | ||
when: | ||
event: tag | ||
ref: refs/tags/v* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
steps: | ||
install: | ||
image: node:14-alpine | ||
commands: | ||
- npm i | ||
# Our lockfile is incompatible with the version of npm used with node:14. The old scripts just | ||
# `npm i`, so we do that. We should update to a sane node version and change this. | ||
# - npm ci | ||
lint: | ||
image: node:14-alpine | ||
commands: | ||
- npm run lint | ||
build-dry-run: | ||
image: woodpeckerci/plugin-docker-buildx | ||
settings: | ||
repo: "${CI_REPO_OWNER}/${CI_REPO_NAME}" | ||
platforms: linux/amd64 | ||
# Can enable arm64 when moving to mu-javascript-template version >1.8 | ||
# platforms: linux/amd64, linux/arm64 | ||
dry_run: true | ||
when: | ||
event: | ||
- pull_request |