Skip to content

Commit

Permalink
Bump tinkerbell stack to newest versions (#22)
Browse files Browse the repository at this point in the history
Bump tinkerbell stack to newest versions
  • Loading branch information
mergify[bot] authored Nov 16, 2020
2 parents 09adeb8 + fdaab9b commit 4790ba4
Show file tree
Hide file tree
Showing 5 changed files with 426 additions and 28 deletions.
24 changes: 24 additions & 0 deletions deploy/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ services:
TINK_AUTH_USERNAME: ${TINKERBELL_TINK_USERNAME}
TINK_AUTH_PASSWORD: ${TINKERBELL_TINK_PASSWORD}
depends_on:
tink-server-migration:
condition: service_started
db:
condition: service_healthy
healthcheck:
Expand All @@ -33,6 +35,28 @@ services:
- 42113:42113/tcp
- 42114:42114/tcp

tink-server-migration:
image: ${TINKERBELL_TINK_SERVER_IMAGE}
restart: on-failure
environment:
ONLY_MIGRATION: "true"
FACILITY: ${FACILITY:-onprem}
PGDATABASE: tinkerbell
PGHOST: db
PGPASSWORD: tinkerbell
PGPORT: 5432
PGSSLMODE: disable
PGUSER: tinkerbell
TINKERBELL_GRPC_AUTHORITY: :42113
TINKERBELL_HTTP_AUTHORITY: :42114
TINK_AUTH_USERNAME: ${TINKERBELL_TINK_USERNAME}
TINK_AUTH_PASSWORD: ${TINKERBELL_TINK_PASSWORD}
depends_on:
db:
condition: service_healthy
volumes:
- ./state/certs:/certs/${FACILITY:-onprem}

db:
image: postgres:10-alpine
restart: unless-stopped
Expand Down
12 changes: 6 additions & 6 deletions generate-envrc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ generate_envrc() (
cat <<EOF
# Tinkerbell Stack version
export OSIE_DOWNLOAD_LINK=https://tinkerbell-oss.s3.amazonaws.com/osie-uploads/osie-v0-n=252,c=bc454bc,b=master.tar.gz
export TINKERBELL_TINK_SERVER_IMAGE=quay.io/tinkerbell/tink:sha-adb49da
export TINKERBELL_TINK_CLI_IMAGE=quay.io/tinkerbell/tink-cli:sha-adb49da
export TINKERBELL_TINK_BOOTS_IMAGE=quay.io/tinkerbell/boots:327-58ab49913b5498908b16e2607d265a61a05f73b6
export TINKERBELL_TINK_HEGEL_IMAGE=quay.io/tinkerbell/hegel:196-fa897aa020769db8becb9be29adaeb6be92a7fc7
export TINKERBELL_TINK_WORKER_IMAGE=quay.io/tinkerbell/tink-worker:sha-adb49da
export OSIE_DOWNLOAD_LINK=https://tinkerbell-oss.s3.amazonaws.com/osie-uploads/osie-v0-n=366,c=1aec189,b=master.tar.gz
export TINKERBELL_TINK_SERVER_IMAGE=quay.io/tinkerbell/tink:sha-0e8e5733
export TINKERBELL_TINK_CLI_IMAGE=quay.io/tinkerbell/tink-cli:sha-0e8e5733
export TINKERBELL_TINK_BOOTS_IMAGE=quay.io/tinkerbell/boots:sha-e81a291c
export TINKERBELL_TINK_HEGEL_IMAGE=quay.io/tinkerbell/hegel:sha-c17b512f
export TINKERBELL_TINK_WORKER_IMAGE=quay.io/tinkerbell/tink-worker:sha-0e8e5733
# Network interface for Tinkerbell's network
export TINKERBELL_NETWORK_INTERFACE="$tink_interface"
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module github.com/tinkerbell/sandbox
go 1.15

require (
github.com/gianarb/vagrant-go v0.0.0-20200902133321-62ba563fe383
github.com/tinkerbell/tink v0.0.0-20200901114255-ac175e0629c5
github.com/gianarb/vagrant-go v0.0.0-20200902133321-62ba563fe383 // indirect
github.com/tinkerbell/tink v0.0.0-20201109122352-0e8e57332303 // indirect
)
Loading

0 comments on commit 4790ba4

Please sign in to comment.