Skip to content

Commit

Permalink
chore(ci): Update CI from template [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
GitLab CI committed Jan 17, 2024
1 parent 6e12069 commit b76653e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .ci/schedule-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,5 @@ declare -p PARAMS >.ci/schedule-params.txt
# Write necessary redis variables to file .ci/schedule-redis.txt
for key in "REDIS_SSH_HOST" "REDIS_SSH_PORT" "REDIS_SSH_USER" "REDIS_PORT"; do
declare -p "$key" >>.ci/schedule-params.txt
echo "export $key" >>.ci/schedule-params.txt
done
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ do-schedule:
- echo "$DEPLOY_KEY" >/app/sshkey
- chmod 400 /app/sshkey
script:
- if [ -f .ci/schedule-params.txt ]; then source ".ci/schedule-params.txt"; /entry_point.sh "${PARAMS[@]}"; fi
- if [ -f .ci/schedule-params.txt ]; then set -x; source ".ci/schedule-params.txt"; /entry_point.sh "${PARAMS[@]}"; fi
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH

0 comments on commit b76653e

Please sign in to comment.