|
@ -2,6 +2,7 @@ image: termux/package-builder:latest |
|
|
|
|
|
|
|
|
stages: |
|
|
stages: |
|
|
- build |
|
|
- build |
|
|
|
|
|
- deploy |
|
|
|
|
|
|
|
|
## Common configuration for all build jobs. |
|
|
## Common configuration for all build jobs. |
|
|
## Variables BINTRAY_* should be unset to |
|
|
## Variables BINTRAY_* should be unset to |
|
@ -52,21 +53,21 @@ build-x86_64: |
|
|
TERMUX_ARCH: x86_64 |
|
|
TERMUX_ARCH: x86_64 |
|
|
|
|
|
|
|
|
## Submit build packages to repository. |
|
|
## Submit build packages to repository. |
|
|
#upload-packages: |
|
|
upload-packages: |
|
|
# stage: deploy |
|
|
stage: deploy |
|
|
# only: |
|
|
only: |
|
|
# - android-7@xeffyr/termux-packages |
|
|
- android-7@xeffyr/termux-packages |
|
|
# - master@xeffyr/termux-packages |
|
|
- master@xeffyr/termux-packages |
|
|
# script: |
|
|
script: |
|
|
# - MODIFIED_PACKAGES=$(./scripts/get-modified-packages.sh) |
|
|
- MODIFIED_PACKAGES=$(./scripts/get-modified-packages.sh) |
|
|
# - | |
|
|
- | |
|
|
# if [ -n "$MODIFIED_PACKAGES" ]; then |
|
|
if [ -n "$MODIFIED_PACKAGES" ]; then |
|
|
# ./scripts/package_uploader.sh --path ./termux-packages/debs $MODIFIED_PACKAGES |
|
|
./scripts/package_uploader.sh --path ./termux-packages/debs $MODIFIED_PACKAGES |
|
|
# else |
|
|
else |
|
|
# exit 0 |
|
|
exit 0 |
|
|
# fi |
|
|
fi |
|
|
# retry: |
|
|
retry: |
|
|
# max: 2 |
|
|
max: 2 |
|
|
# when: |
|
|
when: |
|
|
# - runner_system_failure |
|
|
- runner_system_failure |
|
|
# - unknown_failure |
|
|
- unknown_failure |
|
|