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
|
||||
type: docker
|
||||
name: master_builds
|
||||
name: Check_Requirement
|
||||
|
||||
steps:
|
||||
- name: quality_check
|
||||
- name: base_check
|
||||
image: gradle:jdk11-alpine
|
||||
commands:
|
||||
- ./misc/pre-commit.sh
|
||||
- name: archive
|
||||
image: alpine
|
||||
- ./gradlew clean
|
||||
- ./gradlew build
|
||||
- ./gradlew test
|
||||
|
||||
---
|
||||
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: master_build
|
||||
|
||||
steps:
|
||||
- name: make_archive
|
||||
image: alpine:latest
|
||||
volumes:
|
||||
- name: archives
|
||||
path: /build
|
||||
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