2024-04-19 14:32:53 +00:00
|
|
|
steps:
|
2024-10-05 21:47:15 +00:00
|
|
|
- name: Prepare Repo (amd64,test)
|
|
|
|
image: alpine/git
|
|
|
|
commands:
|
|
|
|
- git submodule update --init --recursive
|
2024-04-19 14:32:53 +00:00
|
|
|
|
2024-10-05 21:47:15 +00:00
|
|
|
- name: Compile gmqcc (amd64,test)
|
|
|
|
image: alpine
|
|
|
|
commands:
|
|
|
|
- chmod +x ci-dependencies.sh
|
|
|
|
- ./ci-dependencies.sh
|
|
|
|
- cd gmqcc
|
|
|
|
- make
|
|
|
|
- cd ..
|
2024-04-19 14:32:53 +00:00
|
|
|
|
2024-10-05 21:47:15 +00:00
|
|
|
- name: Compile SpecialSauce (amd64,test)
|
|
|
|
image: alpine
|
|
|
|
commands:
|
|
|
|
- chmod +x ci-dependencies.sh
|
|
|
|
- chmod +x build.sh
|
|
|
|
- ./ci-dependencies.sh
|
|
|
|
- bash build.sh
|
2024-04-19 14:32:53 +00:00
|
|
|
|
2024-10-05 21:47:15 +00:00
|
|
|
- name: Release_binary s3 (prod)
|
|
|
|
image: ocram85/plugin-gitea-package:latest
|
|
|
|
settings:
|
|
|
|
user:
|
|
|
|
from_secret: reg-user
|
|
|
|
password:
|
|
|
|
from_secret: reg-pass
|
|
|
|
debug: "true"
|
|
|
|
owner: "amogus.tv"
|
|
|
|
package_name: "amogusspecialsauce-latest"
|
|
|
|
package_version: "0.1.0"
|
|
|
|
file_source: "./compiled-${DRONE_COMMIT_SHA:0:10}.zip"
|
|
|
|
file_name: "compiled.zip
|
|
|
|
update: "true"
|
|
|
|
|
|
|
|
when:
|
|
|
|
- event: [push, tag, cron]
|
|
|
|
branch:
|
|
|
|
- ${CI_REPO_DEFAULT_BRANCH}
|