Add 2 pipes (Android/Linux)

This commit is contained in:
Vaillant jeremy
2021-08-01 13:37:31 +02:00
parent b61a3079cb
commit c8c8c492cd
+83 -9
View File
@@ -23,7 +23,6 @@ steps:
path: release/windows
commands:
- godot --export "WindowsDebug" "releases/windows/${EXPORT_NAME}.exe"
- name: WindowsDeploy
image: barichello/godot-ci:3.3.2
volumes:
@@ -35,16 +34,91 @@ steps:
commands:
- butler push "releases/windows" "dev-crea/ahog:windows"
# - name: AndroidDebug
# image: devcrea/godot-ci:3.3.2-android
# commands:
# - apt-get update
# - apt-get install -y wget
# - wget -O /root/release.keystore https://u.pcloud.link/publink/show?code=XZzCwxXZoGFtYGSzBQHB5DPQQW15SuUczA97
# - sed 's@keystore/release=".*"@keystore/release="'/root/release.keystore'"@g' -i export_presets.cfg
trigger:
branch:
- dev
---
# Android Development version
kind: pipeline
type: docker
name: AndroidDebugVersion
platform:
os: linux
arch: amd64
environment:
EXPORT_NAME: "Puzzle Quest"
clone:
depth: 1
steps:
- name: AndroidDebug
image: barichello/godot-ci:3.3.2
volumes:
- name: binary
path: release/android
commands:
- apt-get update
- apt-get install -y wget
- wget -O /root/debug.keystore https://u.pcloud.link/publink/show?code=XZD8dxXZSdXUyze6UHXxhssGJXHfUBI730Gk
- sed 's@keystore/debug=".*"@keystore/debug="'/root/debug.keystore'"@g' -i export_presets.cfg
# - sed 's@keystore/release_user=".*"@keystore/release_user="'$SECRET_RELEASE_KEYSTORE_USER'"@g' -i export_presets.cfg
# - sed 's@keystore/release_password=".*"@keystore/release_password="'$SECRET_RELEASE_KEYSTORE_PASSWORD'"@g' -i export_presets.cfg
# - godot --export "Android" "releases/android/${EXPORT_NAME}.apk"
- godot --export "AndroidDebug" "releases/android/${EXPORT_NAME}.apk"
- name: AndroidDeploy
image: barichello/godot-ci:3.3.2
volumes:
- name: binary
path: release/android
environment:
BUTLER_API_KEY:
from_secret: BUTLER_API_KEY
commands:
- butler push "releases/android" "dev-crea/ahog:android"
trigger:
branch:
- dev
---
# Linux Development version
kind: pipeline
type: docker
name: LinuxDebugVersion
platform:
os: linux
arch: amd64
environment:
EXPORT_NAME: "Puzzle Quest"
clone:
depth: 1
steps:
- name: LinuxDebug
image: barichello/godot-ci:3.3.2
volumes:
- name: binary
path: release/linux
commands:
- godot --export "LinuxDebug" "releases/linux/${EXPORT_NAME}.exe"
- name: LinuxDeploy
image: barichello/godot-ci:3.3.2
volumes:
- name: binary
path: release/linux
environment:
BUTLER_API_KEY:
from_secret: BUTLER_API_KEY
commands:
- butler push "releases/linux" "dev-crea/ahog:linux"
trigger:
branch: