build(travis): Use :latest tag for getsentry/sentry (#252)
This commit is contained in:
parent
4fade2fb1f
commit
ea78661e36
@ -3,7 +3,7 @@ services: docker
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
- SENTRY_IMAGE=sentry:9.1.2
|
- SENTRY_IMAGE=sentry:9.1.2
|
||||||
- SENTRY_IMAGE=getsentry/sentry:git
|
- SENTRY_IMAGE=getsentry/sentry:latest
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- ./install.sh
|
- ./install.sh
|
||||||
|
@ -1,2 +1 @@
|
|||||||
ARG SENTRY_IMAGE
|
FROM ${SENTRY_IMAGE:-sentry:9.1.2}-onbuild
|
||||||
FROM ${SENTRY_IMAGE}-onbuild
|
|
||||||
|
@ -12,8 +12,6 @@ x-defaults: &defaults
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
args:
|
|
||||||
SENTRY_IMAGE: ${SENTRY_IMAGE}
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- redis
|
- redis
|
||||||
- postgres
|
- postgres
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
LATEST_STABLE_SENTRY_IMAGE='sentry:9.1.2'
|
|
||||||
|
|
||||||
MIN_DOCKER_VERSION='17.05.0'
|
MIN_DOCKER_VERSION='17.05.0'
|
||||||
MIN_COMPOSE_VERSION='1.17.0'
|
MIN_COMPOSE_VERSION='1.17.0'
|
||||||
MIN_RAM=3072 # MB
|
MIN_RAM=3072 # MB
|
||||||
@ -57,12 +55,6 @@ else
|
|||||||
cp -n .env.example "$ENV_FILE"
|
cp -n .env.example "$ENV_FILE"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z $SENTRY_IMAGE ]; then
|
|
||||||
echo ""
|
|
||||||
echo "\$SENTRY_IMAGE not set, using latest stable: $LATEST_STABLE_SENTRY_IMAGE";
|
|
||||||
export SENTRY_IMAGE=$LATEST_STABLE_SENTRY_IMAGE
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Building and tagging Docker images..."
|
echo "Building and tagging Docker images..."
|
||||||
echo ""
|
echo ""
|
||||||
|
Reference in New Issue
Block a user