mirror of
https://github.com/YunoHost/yunohost-ci.git
synced 2024-09-03 20:05:53 +02:00
27 lines
1 KiB
Bash
27 lines
1 KiB
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
# /opt/lxd-executor/base.sh
|
||
|
|
||
|
#CONTAINER_ID="runner-$CUSTOM_ENV_CI_RUNNER_ID-project-$CUSTOM_ENV_CI_PROJECT_ID-concurrent-$CUSTOM_ENV_CI_CONCURRENT_PROJECT_ID-$CUSTOM_ENV_CI_JOB_ID"
|
||
|
#CUSTOM_ENV_CI_BUILD_REF_NAME=stretch-unstable
|
||
|
#CUSTOM_ENV_CI_BUILD_REF_SLUG=stretch-unstable
|
||
|
#CUSTOM_ENV_CI_DEFAULT_BRANCH=stretch-unstable
|
||
|
#CUSTOM_ENV_CI_JOB_NAME=build1
|
||
|
#CUSTOM_ENV_CI_COMMIT_REF_SLUG=stretch-unstable
|
||
|
#CUSTOM_ENV_CI_BUILD_STAGE=pre-postinstall
|
||
|
#CUSTOM_ENV_CI_JOB_STAGE=pre-postinstall
|
||
|
#CUSTOM_ENV_CI_BUILD_REF_NAME=stretch-unstable
|
||
|
#CUSTOM_ENV_CI_BUILD_NAME=build1
|
||
|
#CUSTOM_ENV_CI_PROJECT_TITLE=yunohost
|
||
|
#CUSTOM_ENV_CI_RUNNER_EXECUTABLE_ARCH=linux/amd64
|
||
|
#CUSTOM_ENV_CI_PROJECT_NAMESPACE=yunohost
|
||
|
#CUSTOM_ENV_CI_COMMIT_REF_NAME=stretch-unstable
|
||
|
#CUSTOM_ENV_CI_PROJECT_NAME=yunohost
|
||
|
#CUSTOM_ENV_CI_PROJECT_DIR=/builds/yunohost/yunohost
|
||
|
CONTAINER_ID="ci"
|
||
|
PROJECT_DIR="$CUSTOM_ENV_CI_PROJECT_DIR"
|
||
|
PROJECT_NAME="$CUSTOM_ENV_CI_PROJECT_NAME"
|
||
|
if [ -z "$SNAPSHOT_NAME" ]
|
||
|
then
|
||
|
SNAPSHOT_NAME="after-postinstall"
|
||
|
fi
|