maybe finishing ci? hopefully
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
bc05260ba7
commit
5c4dc5c370
35
.drone.yml
35
.drone.yml
@ -1,13 +1,36 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: master_builds
|
name: Check_Requirement
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: quality_check
|
- name: base_check
|
||||||
image: gradle:jdk11-alpine
|
image: gradle:jdk11-alpine
|
||||||
commands:
|
commands:
|
||||||
- ./misc/pre-commit.sh
|
- ./gradlew clean
|
||||||
- name: archive
|
- ./gradlew build
|
||||||
image: alpine
|
- ./gradlew test
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: master_build
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: make_archive
|
||||||
|
image: alpine:latest
|
||||||
|
volumes:
|
||||||
|
- name: archives
|
||||||
|
path: /build
|
||||||
commands:
|
commands:
|
||||||
- ./misc/pre-commit.sh archive
|
tar cvzf /build/$(git log -n 1 --format="%h")_school_archive.gz.tar app/ gradle/ gradlew/ gradlew.bat README.md settings.gradle
|
||||||
|
trigger:
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
event:
|
||||||
|
include:
|
||||||
|
- push
|
||||||
|
volumes:
|
||||||
|
- name: archives
|
||||||
|
host:
|
||||||
|
path: /srv/drone/school_project/archive/
|
||||||
|
Loading…
Reference in New Issue
Block a user