-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathjustfile
57 lines (40 loc) · 1 KB
/
justfile
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Apache-2.0
# Main justfile to run all the scripts
#
# To install 'just' see https://github.com/casey/just#installation
# Ensure all properties are exported as shell env-vars
set export
# set the current directory, and the location of the test dats
CWDIR := justfile_directory()
_default:
@just --list
# Starts and configures a local KIND cluster
cluster:
#!/bin/bash
set -ex -o pipefail
# create and configure the cluster
./network kind
./network cluster init
# Installs and configures a sample Fabric Network
network:
#!/bin/bash
set -ex -o pipefail
# create Fabric network
./network up
kubectl -n test-network get all
# create Fabric channnel
./network channel create
# Cluster and Fabric Network
everything: cluster network
# Install the operations console
console:
#!/bin/bash
set -ex -o pipefail
./network console
# Installs just the operator
operator:
#!/bin/bash
./network operator
# Removes the local cluster
unkind:
./network unkind