mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-27 04:41:23 +00:00
Revised comments
This commit is contained in:
parent
788c75ecdf
commit
963d6c85bc
1 changed files with 9 additions and 1 deletions
10
.travis.yml
10
.travis.yml
|
@ -565,16 +565,20 @@ addons:
|
||||||
before_install:
|
before_install:
|
||||||
# Initialize Deployer defaults
|
# Initialize Deployer defaults
|
||||||
- . ./deployer/travis/deployer_defaults.sh
|
- . ./deployer/travis/deployer_defaults.sh
|
||||||
|
|
||||||
# Initialize Deployer; check if Deployer is enabled
|
# Initialize Deployer; check if Deployer is enabled
|
||||||
# This needs to be run in the current shell so that $__DPL_ACTIVE is set for this session
|
# This needs to be run in the current shell so that $__DPL_ACTIVE is set for this session
|
||||||
- . ./deployer/travis/deployer.sh
|
- . ./deployer/travis/deployer.sh
|
||||||
# Also check if we should now terminate
|
|
||||||
|
# Also check if we should now terminate -- see `deployer.sh` for conditions.
|
||||||
|
# This should never happen on non-release buildbots when Deployer is not triggered.
|
||||||
- if [[ "$__DPL_TRY_TERMINATE_EARLY" == "1" ]]; then
|
- if [[ "$__DPL_TRY_TERMINATE_EARLY" == "1" ]]; then
|
||||||
if [[ "$__DPL_ACTIVE" != "1" ]]; then
|
if [[ "$__DPL_ACTIVE" != "1" ]]; then
|
||||||
echo "Exiting early because this job is not deploying.";
|
echo "Exiting early because this job is not deploying.";
|
||||||
exit;
|
exit;
|
||||||
fi;
|
fi;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If we're triggered by release tag, force ASSET_FILES_OPTIONAL_GET=1
|
# If we're triggered by release tag, force ASSET_FILES_OPTIONAL_GET=1
|
||||||
- if [[ "$__DPL_TAG_ELIGIBLE" = "1" ]]; then
|
- if [[ "$__DPL_TAG_ELIGIBLE" = "1" ]]; then
|
||||||
ASSET_FILES_OPTIONAL_GET=1;
|
ASSET_FILES_OPTIONAL_GET=1;
|
||||||
|
@ -607,6 +611,7 @@ before_script:
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Get asset files (required for MD5)
|
# Get asset files (required for MD5)
|
||||||
|
# See `deployer_defaults.sh` for asset download path
|
||||||
- if [[ "$ASSET_ARCHIVE_PATH" != "" ]]; then
|
- if [[ "$ASSET_ARCHIVE_PATH" != "" ]]; then
|
||||||
if [ -f "$(basename $ASSET_ARCHIVE_PATH)" ]; then
|
if [ -f "$(basename $ASSET_ARCHIVE_PATH)" ]; then
|
||||||
echo "$(basename $ASSET_ARCHIVE_PATH) cache date -- $($STATCMD $(basename $ASSET_ARCHIVE_PATH))";
|
echo "$(basename $ASSET_ARCHIVE_PATH) cache date -- $($STATCMD $(basename $ASSET_ARCHIVE_PATH))";
|
||||||
|
@ -656,5 +661,8 @@ script:
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
# Run the Deployer scripts
|
# Run the Deployer scripts
|
||||||
|
- if [[ "$__DPL_ACTIVE" != "1" ]]; then
|
||||||
|
exit;
|
||||||
|
fi;
|
||||||
- . ../deployer/travis/deployer_ftp.sh
|
- . ../deployer/travis/deployer_ftp.sh
|
||||||
- . ../deployer/travis/deployer_dput.sh
|
- . ../deployer/travis/deployer_dput.sh
|
||||||
|
|
Loading…
Reference in a new issue