Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add simplified docker-compose: #513

Merged
Merged
Show file tree
Hide file tree
Changes from all 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
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ all: cli server worker ## Build all binaries for host OS and CPU

crosscompile: $(crossbinaries) ## Build all binaries for Linux and all supported CPU arches
images: tink-cli-image tink-server-image tink-worker-image ## Build all docker images
run: crosscompile run-stack ## Builds and runs the Tink stack (tink, db, cli) via docker-compose

test: ## Run tests
go clean -testcache
Expand Down
78 changes: 0 additions & 78 deletions deploy/db/tinkerbell-init.sql

This file was deleted.

162 changes: 0 additions & 162 deletions deploy/docker-compose.yml

This file was deleted.

7 changes: 0 additions & 7 deletions deploy/registry/Dockerfile

This file was deleted.

1 change: 0 additions & 1 deletion deploy/tls/.gitignore

This file was deleted.

7 changes: 0 additions & 7 deletions deploy/tls/Dockerfile

This file was deleted.

12 changes: 0 additions & 12 deletions deploy/tls/ca.in.json

This file was deleted.

File renamed without changes.
13 changes: 0 additions & 13 deletions deploy/tls/entrypoint.sh

This file was deleted.

30 changes: 0 additions & 30 deletions deploy/tls/gencerts.sh

This file was deleted.

7 changes: 7 additions & 0 deletions deploy/tls/generate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/usr/bin/env bash

cfssl gencert -initca /code/tls/csr.json | cfssljson -bare ca -
cfssl gencert -config /code/tls/ca-config.json -ca ca.pem -ca-key ca-key.pem -profile server /code/tls/csr.json | cfssljson -bare server
cat server.pem ca.pem >/certs/"${FACILITY:-onprem}"/bundle.pem
mv server-key.pem /certs/"${FACILITY:-onprem}"/server-key.pem
rm -rf ca-key.pem ca.csr ca.pem server.csr server.pem
Loading