Move to Woodpecker CI
This commit is contained in:
parent
436fa2bd90
commit
ed8eee00d8
2 changed files with 7 additions and 17 deletions
|
@ -1,30 +1,20 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: test
|
||||
when:
|
||||
event: [tag, push]
|
||||
image: maven:3-jdk-11
|
||||
commands:
|
||||
- mvn -B -DskipTests clean package
|
||||
- mvn test -B
|
||||
volumes:
|
||||
- name: m2
|
||||
path: /root/.m2
|
||||
- /home/docker/woodpecker/files/m2:/root/.m2
|
||||
|
||||
- name: archive-artifact
|
||||
when:
|
||||
event: [tag, push]
|
||||
image: alpine:latest
|
||||
commands:
|
||||
- mkdir -p /builds/konogonka
|
||||
- cp target/konogonka-*jar /builds/konogonka/
|
||||
volumes:
|
||||
- name: builds
|
||||
path: /builds
|
||||
|
||||
volumes:
|
||||
- name: m2
|
||||
host:
|
||||
path: /home/docker/drone/files/m2
|
||||
- name: builds
|
||||
host:
|
||||
path: /home/www/builds
|
||||
- /home/www/builds:/builds
|
|
@ -1,6 +1,6 @@
|
|||
# konogonka
|
||||
|
||||
 [](https://ci.redrise.ru/desu/konogonka)
|
||||
 [](https://ci.redrise.ru/repos/10)
|
||||
|
||||
GitHub mirror. [Click here to get it from independent source code location](https://git.redrise.ru/desu/konogonka)
|
||||
|
||||
|
|
Loading…
Reference in a new issue