maybe finishing ci? hopefully
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Debucquoy 2023-03-04 14:53:38 +01:00
parent bc05260ba7
commit 5c4dc5c370
No known key found for this signature in database
GPG Key ID: 3B9EEB701C9E2919

View File

@ -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/