generated from Templates/Baseline
add first prototype implementation (#1)
#### 📖 Summary <!-- Provide a summary of your changes. Describe the why and not how. --> #### 📑 Test Plan > 💡 Select your test plan for the code changes. - [x] CI pipeline tests - [ ] Custom test - [ ] No test plan ##### Details / Justification <!-- Add your test details or justification for missing tests here. --> #### 📚 Additional Notes <!-- A place for additional detail notes. --> Co-authored-by: OCram85 <marco.blessing@googlemail.com> Reviewed-on: #1
This commit is contained in:
49
.woodpecker/.deploy.yml
Normal file
49
.woodpecker/.deploy.yml
Normal file
@ -0,0 +1,49 @@
|
||||
depends_on:
|
||||
- test
|
||||
|
||||
pipeline:
|
||||
buildImage:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
registry: gitea.ocram85.com
|
||||
repo: gitea.ocram85.com/ocram85/swarmproxy
|
||||
dockerfile: Dockerfile
|
||||
auto_tag: true
|
||||
username:
|
||||
from_secret: gitea_user
|
||||
password:
|
||||
from_secret: gitea_passwd
|
||||
build_args:
|
||||
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
|
||||
- TAG=${CI_COMMIT_TAG}
|
||||
when:
|
||||
event: push
|
||||
branch: master
|
||||
|
||||
buildTag:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
registry: gitea.ocram85.com
|
||||
repo: gitea.ocram85.com/ocram85/swarmproxy
|
||||
dockerfile: Dockerfile
|
||||
auto_tag: true
|
||||
username:
|
||||
from_secret: gitea_user
|
||||
password:
|
||||
from_secret: gitea_passwd
|
||||
build_args:
|
||||
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
|
||||
- TAG=${CI_COMMIT_TAG}
|
||||
when:
|
||||
event: tag
|
||||
|
||||
GiteaRelease:
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
api_key:
|
||||
from_secret: RENOVATE_TOKEN
|
||||
base_url: https://gitea.ocram85.com
|
||||
title: ${CI_COMMIT_TAG}
|
||||
note: "> :bulb: **Note:** See [CHANGELOG.md](src/branch/master/CHANGELOG.md) for recent changes."
|
||||
when:
|
||||
event: tag
|
23
.woodpecker/.next.yml
Normal file
23
.woodpecker/.next.yml
Normal file
@ -0,0 +1,23 @@
|
||||
depends_on:
|
||||
- test
|
||||
|
||||
pipeline:
|
||||
buildTestImage:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
#dry_run: true
|
||||
registry: gitea.ocram85.com
|
||||
repo: gitea.ocram85.com/ocram85/swarmproxy
|
||||
platforms: linux/amd64
|
||||
dockerfile: Dockerfile
|
||||
tags: next
|
||||
username:
|
||||
from_secret: gitea_user
|
||||
password:
|
||||
from_secret: gitea_passwd
|
||||
build_args:
|
||||
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
|
||||
- TAG=${CI_COMMIT_TAG}
|
||||
when:
|
||||
event: pull_request
|
||||
|
12
.woodpecker/.test.yml
Normal file
12
.woodpecker/.test.yml
Normal file
@ -0,0 +1,12 @@
|
||||
pipeline:
|
||||
testDockerfile:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
settings:
|
||||
dry_run: true
|
||||
registry: gitea.ocram85.com
|
||||
repo: gitea.ocram85.com/ocram85/swarmproxy
|
||||
dockerfile: Dockerfile
|
||||
tags: next
|
||||
build_args:
|
||||
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
|
||||
- TAG=${CI_COMMIT_TAG}
|
Reference in New Issue
Block a user