mirror of
https://github.com/dokku/dokku.git
synced 2025-12-16 12:07:45 +01:00
Building/testing for ARM does not happen often - the only runtime environment is Raspberry PI, which supports ARM64 - and complicates support for a ton of features. Aside from that, CI runs are much longer for ARM Dokku images, often reaching 15-20 minutes or just timing out completely. Rather than support an architecture that doesn't have much usage by maintainers and has a lot of maintenance burden, we're removing the platform.
19 lines
506 B
Bash
Executable File
19 lines
506 B
Bash
Executable File
#!/usr/bin/env bash
|
|
source "$PLUGIN_AVAILABLE_PATH/config/functions"
|
|
set -eo pipefail
|
|
[[ $DOKKU_TRACE ]] && set -x
|
|
|
|
trigger-builder-lambda-builder-detect() {
|
|
declare desc="builder-lambda builder-detect plugin trigger"
|
|
declare trigger="builder-detect"
|
|
declare APP="$1" SOURCECODE_WORK_DIR="$2"
|
|
local ARCHITECTURE="$(dpkg --print-architecture 2>/dev/null || true)"
|
|
|
|
if [[ -f "$SOURCECODE_WORK_DIR/lambda.yml" ]]; then
|
|
echo "lambda"
|
|
return
|
|
fi
|
|
}
|
|
|
|
trigger-builder-lambda-builder-detect "$@"
|