0
0
mirror of https://github.com/sp-tarkov/build.git synced 2025-02-12 17:30:44 -05:00

Updates Drone Pipeline

- Updates the drone pipeline to actually work. Sorry about the update spam in Discord. >:{}
- Updates the build script to exit gracefully when complete.
This commit is contained in:
Refringe 2024-02-27 23:27:50 -05:00
parent 73dad7e3be
commit f0f5c03787
No known key found for this signature in database
GPG Key ID: DA8524051241DD36
2 changed files with 41 additions and 32 deletions

View File

@ -1,32 +1,41 @@
kind: pipeline
type: docker
name: build
platform:
os: windows
arch: amd64
trigger:
event:
- tag
steps:
- name: clone-build-project
image: alpine/git
commands:
- git clone https://dev.sp-tarkov.com/SPT-AKI/Build.git C:\Code
- name: build-spt-release
image: spt-build-environment:latest
environment:
MODULE_DOMAIN:
from_secret: module_domain
commands:
- 'pwsh -File C:\Code\project\build.ps1 -Tag "${DRONE_TAG}"'
volumes:
- name: code
path: C:\Code
volumes:
- name: code
temp: {}
kind: pipeline
type: docker
name: build
platform:
os: windows
arch: amd64
trigger:
branch:
- main
clone:
disable: true
steps:
- name: clone
image: refringe/spt-build-environment:1.0.0
commands:
- git clone https://dev.sp-tarkov.com/SPT-AKI/Build.git C:\Code
- cd C:\Code
- git checkout ${DRONE_COMMIT}
volumes:
- name: code
path: C:\Code
- name: build
image: refringe/spt-build-environment:1.0.0
environment:
MODULE_DOMAIN:
from_secret: MODULE_DOMAIN
commands:
- cd C:\Code
- pwsh -File C:\Code\project\build.ps1 -Tag "${DRONE_TAG}"
volumes:
- name: code
path: C:\Code
volumes:
- name: code
temp: {}

Binary file not shown.