Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions woodpecker/ember/app/.feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ steps:
settings:
repo: ${CI_REPO}
tags: "feature-${CI_COMMIT_BRANCH##feature/}"
secrets: [ docker_username, docker_password ]
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
branch: feature/*
event: push
- event: push
branch: [feature/*]
9 changes: 6 additions & 3 deletions woodpecker/ember/app/.latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ steps:
settings:
repo: ${CI_REPO}
tags: latest
secrets: [ docker_username, docker_password ]
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
branch: master
event: push
- event: push
branch: [master]
9 changes: 6 additions & 3 deletions woodpecker/ember/app/.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ steps:
settings:
repo: ${CI_REPO}
tags: "${CI_COMMIT_TAG##v}"
secrets: [ docker_username, docker_password ]
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event: tag
ref: refs/tags/v*
- event: tag
ref: refs/tags/v*
3 changes: 1 addition & 2 deletions woodpecker/ember/app/.test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ steps:
repo: ${CI_REPO}
dry_run: true
when:
event:
- pull_request
- event: pull_request
11 changes: 6 additions & 5 deletions woodpecker/ember/app/.test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,28 @@ steps:
- npm ci
lint-js:
image: danlynn/ember-cli:4.12.1
group: lint
depends_on: install
commands:
- npm run lint:js
lint-hbs:
image: danlynn/ember-cli:4.12.1
group: lint
depends_on: install
commands:
- npm run lint:hbs
lint-css:
image: danlynn/ember-cli:4.12.1
group: lint
depends_on: install
commands:
- npm run lint:css
dependency-lint:
image: danlynn/ember-cli:4.12.1
group: lint
depends_on: install
commands:
- ember dependency-lint
test:
image: danlynn/ember-cli:4.12.1
depends_on: [lint-js, lint-hbs, lint-css, dependency-lint]
commands:
- npm run test:ember
when:
event: pull_request
- event: pull_request
13 changes: 8 additions & 5 deletions woodpecker/service/.feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@ steps:
image: woodpeckerci/plugin-docker-buildx
settings:
repo: "${CI_REPO_OWNER}/${CI_REPO_NAME}"
tags: ${CI_COMMIT_BRANCH/\//-}
platforms: linux/amd64
secrets: [ docker_username, docker_password ]
tags: "feature-${CI_COMMIT_BRANCH##feature/}"
platforms: linux/amd64, linux/arm64
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
branch: feature/*
event: push
- event: push
branch: [feature/*]
9 changes: 6 additions & 3 deletions woodpecker/service/.latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ steps:
repo: "${CI_REPO_OWNER}/${CI_REPO_NAME}"
tags: latest
platforms: linux/amd64, linux/arm64
secrets: [ docker_username, docker_password ]
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
branch: master
event: push
- event: push
branch: [master]
11 changes: 7 additions & 4 deletions woodpecker/service/.release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ steps:
settings:
repo: "${CI_REPO_OWNER}/${CI_REPO_NAME}"
tags: "${CI_COMMIT_TAG##v}" # drops v from version tag
platforms: linux/amd64
secrets: [ docker_username, docker_password ]
platforms: linux/amd64, linux/arm64
username:
from_secret: docker_username
password:
from_secret: docker_password
when:
event: tag
ref: refs/tags/v*
- event: tag
ref: refs/tags/v*