Skip to content

Commit

Permalink
add default values to ci build
Browse files Browse the repository at this point in the history
for people running it locally
  • Loading branch information
kamil-gwozdz committed Jun 7, 2023
1 parent 7c880ef commit 7799be4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions script/cibuild
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ trap cleanup EXIT

export CI_MODE=true

if [ -z "$MYSQL_VERSION" ]; then export MYSQL_VERSION=8 ; fi
if [ -z "$DISTRIBUTION" ]; then export DISTRIBUTION=debian:buster ; fi
if [ -z "$RUBY_VERSION" ]; then export RUBY_VERSION=3.2 ; fi

DISTRIBUTION_SLUG="$(echo "$DISTRIBUTION" | awk '{ gsub(":", "_") ; print $0 }')"
export DISTRIBUTION_SLUG

Expand Down

0 comments on commit 7799be4

Please sign in to comment.