-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsteps.txt
More file actions
35 lines (29 loc) · 684 Bytes
/
Copy pathsteps.txt
File metadata and controls
35 lines (29 loc) · 684 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Set VAULT ENVs
# inside the nixShell
set -x VAULT_ADDR <vault-addr>
set -x VAULT_TOKEN <vault-token>
# or set
# set -x IC_VAULT_ADDR <vault-addr>
# set -x IC_VAULT_TOKEN <vault-token>
# outside the shell
# and use nix develop to load shell with VAULT_* overwrited by IC_VAULT_*
# configure vault with
./scripts/vault-init.sh
# Build Image
build gce
# ls images/gce
build azure
# ls images/azure
# config file with declaration of the infra
# vim env/gcp/config.nix
# vim env/azure/config.nix
# Provision Apply
# jq . env/gcp/output.json
apply gcp
# jq . env/gcp/output.json
# jq . env/azure/output.json
apply azure
# jq . env/azure/output.json
# Deploy
deploy azure
deploy gcp