0
0
mirror of https://github.com/sp-tarkov/build.git synced 2025-02-12 22:50:46 -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 kind: pipeline
type: docker type: docker
name: build name: build
platform: platform:
os: windows os: windows
arch: amd64 arch: amd64
trigger: trigger:
event: branch:
- tag - main
steps: clone:
- name: clone-build-project disable: true
image: alpine/git
commands: steps:
- git clone https://dev.sp-tarkov.com/SPT-AKI/Build.git C:\Code - name: clone
image: refringe/spt-build-environment:1.0.0
- name: build-spt-release commands:
image: spt-build-environment:latest - git clone https://dev.sp-tarkov.com/SPT-AKI/Build.git C:\Code
environment: - cd C:\Code
MODULE_DOMAIN: - git checkout ${DRONE_COMMIT}
from_secret: module_domain volumes:
commands: - name: code
- 'pwsh -File C:\Code\project\build.ps1 -Tag "${DRONE_TAG}"' path: C:\Code
volumes:
- name: code - name: build
path: C:\Code image: refringe/spt-build-environment:1.0.0
environment:
volumes: MODULE_DOMAIN:
- name: code from_secret: MODULE_DOMAIN
temp: {} 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.