mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 14:10:04 +02:00
build: keep clean git repo until deploy
This commit is contained in:
parent
58ea9aaac0
commit
8d5e2f916e
10
bin/deploy
10
bin/deploy
@ -10,17 +10,17 @@ set -euo pipefail
|
|||||||
INCLUDE=$(dirname $(readlink -f $0))
|
INCLUDE=$(dirname $(readlink -f $0))
|
||||||
. $INCLUDE/setup_tools
|
. $INCLUDE/setup_tools
|
||||||
|
|
||||||
ensure_command triton
|
|
||||||
ensure_triton_cns_is_enabled
|
|
||||||
get_triton_details
|
|
||||||
write_env_file
|
|
||||||
|
|
||||||
docker login -e="." -u="$_DOCKER_LOGIN_USERNAME" -p="$_DOCKER_LOGIN_PASSWORD" $_DOCKER_REGISTRY
|
docker login -e="." -u="$_DOCKER_LOGIN_USERNAME" -p="$_DOCKER_LOGIN_PASSWORD" $_DOCKER_REGISTRY
|
||||||
curl -sSL https://raw.githubusercontent.com/tomgco/captain/master/install.sh | bash
|
curl -sSL https://raw.githubusercontent.com/tomgco/captain/master/install.sh | bash
|
||||||
export PATH=$HOME/.captain/bin:$PATH
|
export PATH=$HOME/.captain/bin:$PATH
|
||||||
captain build -N yldio/joyent-dashboard-
|
captain build -N yldio/joyent-dashboard-
|
||||||
captain push -N yldio/joyent-dashboard-
|
captain push -N yldio/joyent-dashboard-
|
||||||
|
|
||||||
|
ensure_command triton
|
||||||
|
ensure_triton_cns_is_enabled
|
||||||
|
get_triton_details
|
||||||
|
write_env_file
|
||||||
|
|
||||||
export DOCKER_HOST=$_DOCKER_HOST
|
export DOCKER_HOST=$_DOCKER_HOST
|
||||||
export DOCKER_CERT_PATH=$_DOCKER_CERT_PATH
|
export DOCKER_CERT_PATH=$_DOCKER_CERT_PATH
|
||||||
export DOCKER_TLS_VERIFY=$_DOCKER_TLS_VERIFY
|
export DOCKER_TLS_VERIFY=$_DOCKER_TLS_VERIFY
|
||||||
|
Loading…
Reference in New Issue
Block a user