Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
API_PORT=5000
API_ADMIN_PORT=5001
WEB_PORT=3000
TAG=0.19.0
TAG=0.26.0
11 changes: 6 additions & 5 deletions docker/up.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@

set -e

SCRIPTDIR=$(dirname $0)
readonly VERSION=0.26.0
readonly DOCKER_DIR=$(dirname $0)

title() {
echo -e "\033[1m${1}\033[0m"
Expand Down Expand Up @@ -35,7 +36,7 @@ usage() {
echo " -a, --api-port int api port (default: 5000)"
echo " -m, --api-admin-port int api admin port (default: 5001)"
echo " -w, --web-port int web port (default: 3000)"
echo " -t, --tag string image tag (default: latest)"
echo " -t, --tag string image tag (default: ${VERSION})"
echo
title "FLAGS:"
echo " -b, --build build images from source"
Expand All @@ -55,7 +56,7 @@ args="-V --force-recreate --remove-orphans"
API_PORT=5000
API_ADMIN_PORT=5001
WEB_PORT=3000
TAG=0.19.0
TAG=${VERSION}
while [ $# -gt 0 ]; do
case $1 in
-a|'--api-port')
Expand Down Expand Up @@ -107,6 +108,6 @@ if [[ "${SEED}" = "true" ]]; then
compose_files+=" -f docker-compose.seed.yml"
fi

$SCRIPTDIR/volumes.sh marquez
${DOCKER_DIR}/volumes.sh marquez

API_PORT=${API_PORT} API_ADMIN_PORT=${API_ADMIN_PORT} WEB_PORT=${WEB_PORT} TAG="${TAG}" docker-compose $compose_files up $args
API_PORT=${API_PORT} API_ADMIN_PORT=${API_ADMIN_PORT} WEB_PORT=${WEB_PORT} TAG=${TAG} docker-compose $compose_files up $args
2 changes: 1 addition & 1 deletion new-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ sed -i "" "s/^version:.*/version: ${RELEASE_VERSION}/g" ./chart/Chart.yaml
sed -i "" "s/tag:.*/tag: ${RELEASE_VERSION}/g" ./chart/values.yaml

# (3) Bump version in scripts
sed -i "" "s/TAG=\d.*/TAG=${RELEASE_VERSION}/g" ./docker/up.sh
sed -i "" "s/VERSION=\d.*/VERSION=${RELEASE_VERSION}/g" ./docker/up.sh
sed -i "" "s/TAG=\d.*/TAG=${RELEASE_VERSION}/g" .env.example

# (4) Bump version in docs
Expand Down