Skip to content

Commit

Permalink
Added fix for environment variables [TEST SKIP]
Browse files Browse the repository at this point in the history
Looks like Drone Exec runners don't support variables from environment extensions (from which we relied upon). See drone-runners/drone-runner-exec#5.
  • Loading branch information
hwittenborn committed Mar 30, 2022
1 parent b861d11 commit e116f65
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .drone/scripts/publish-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ aurweb_config() {
AUR_CONFIG='conf/config.dev' python3 -m aurweb.scripts.config "${@}"
}

# Temporary variables until the Drone Exec runner supports variables from environment extensions.
export mpr_url='mpr.makedeb.org'
export hw_url='hunterwittenborn.com'

# Get needed data.
commit_hash="$(git rev-parse --short HEAD)"
fastapi_secret="$(openssl rand -hex 32)"
Expand Down

0 comments on commit e116f65

Please sign in to comment.