File tree Expand file tree Collapse file tree 3 files changed +76
-3
lines changed Expand file tree Collapse file tree 3 files changed +76
-3
lines changed Original file line number Diff line number Diff line change @@ -3,19 +3,35 @@ language: generic
3
3
services :
4
4
- docker
5
5
6
+ cache :
7
+ directories :
8
+ - $HOME/.stack
9
+ - $TRAVIS_BUILD_DIR/examples/.stack-work
10
+
6
11
jobs :
7
12
include :
8
13
- stage : Integration Tests
9
- before_script :
14
+ install :
15
+ # Download and install stack
16
+ - travis_retry curl -sSL https://get.haskellstack.org/ | sh
17
+
10
18
# Download and install kubectl
11
19
- curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl && chmod +x kubectl && sudo mv kubectl /usr/local/bin/
12
20
13
21
# Download and install kind
14
22
- curl -LO https://github.com/kubernetes-sigs/kind/releases/download/v0.4.0/kind-linux-amd64 && chmod +x kind-linux-amd64 && sudo mv kind-linux-amd64 /usr/local/bin/kind
15
-
23
+ before_script :
16
24
# Create a new Kubernetes cluster using KinD
17
25
- kind create cluster
18
26
19
27
# Set KUBECONFIG environment variable
20
28
- export KUBECONFIG="$(kind get kubeconfig-path)"
21
- script : kubectl get pods -A
29
+ script :
30
+ # Verify if kubernetes installation is alright
31
+ - kubectl get pods -A
32
+
33
+ # Run simple test
34
+ - |
35
+ cd examples
36
+ stack build --no-terminal
37
+ stack exec simple
Original file line number Diff line number Diff line change @@ -9,3 +9,12 @@ extra-deps:
9
9
- katip-0.8.0.0
10
10
- oidc-client-0.4.0.0
11
11
- string-random-0.1.2.0
12
+ - git : https://github.com/akshaymankar/foundation.git
13
+ commit : 31d978d94d1493a53565e1050450c434e8808bd6
14
+ subdirs :
15
+ - foundation
16
+ - basement
17
+ - git : https://github.com/akshaymankar/hs-certificate.git
18
+ commit : cdfff1a735ddf44cf04a9712828fd62bf4a52e47
19
+ subdirs :
20
+ - x509-validation
Original file line number Diff line number Diff line change @@ -39,6 +39,54 @@ packages:
39
39
sha256: 21c7e61fceea98d14b453fc74c947b715ce33fe4c665c65b1f28c6f417d4ab7e
40
40
original:
41
41
hackage: string-random-0.1.2.0
42
+ - completed:
43
+ subdir: foundation
44
+ cabal-file:
45
+ size: 11653
46
+ sha256: 7d6b57d3b293a46680a6c044ded62655e7b7477d1082f710162b018333ae35f5
47
+ name: foundation
48
+ version: 0.0.24
49
+ git: https://github.com/akshaymankar/foundation.git
50
+ pantry-tree:
51
+ size: 11225
52
+ sha256: 7bafcf8799e366958a20533daa5a574d5d7babb798bc26be4ef7ed48d7c580d2
53
+ commit: 31d978d94d1493a53565e1050450c434e8808bd6
54
+ original:
55
+ subdir: foundation
56
+ git: https://github.com/akshaymankar/foundation.git
57
+ commit: 31d978d94d1493a53565e1050450c434e8808bd6
58
+ - completed:
59
+ subdir: basement
60
+ cabal-file:
61
+ size: 5487
62
+ sha256: 6461d82f236ca33cd6cc502e6339f67c48506d3ebfd5de9305e3428d6f541499
63
+ name: basement
64
+ version: 0.0.11
65
+ git: https://github.com/akshaymankar/foundation.git
66
+ pantry-tree:
67
+ size: 5859
68
+ sha256: 19396c8068f1f94a17dec91a9f39cd3028a5e752837435e769ec783400711a3e
69
+ commit: 31d978d94d1493a53565e1050450c434e8808bd6
70
+ original:
71
+ subdir: basement
72
+ git: https://github.com/akshaymankar/foundation.git
73
+ commit: 31d978d94d1493a53565e1050450c434e8808bd6
74
+ - completed:
75
+ subdir: x509-validation
76
+ cabal-file:
77
+ size: 2211
78
+ sha256: 4c9d897070bf5d36e437b3b9a04c28ebb6fce90138da7b5e8fa5c100192ef7b2
79
+ name: x509-validation
80
+ version: 1.6.11
81
+ git: https://github.com/akshaymankar/hs-certificate.git
82
+ pantry-tree:
83
+ size: 631
84
+ sha256: b85641fe35b21d23b93c3b0e158ebdc77ee2877568003854d3031387f676daf7
85
+ commit: cdfff1a735ddf44cf04a9712828fd62bf4a52e47
86
+ original:
87
+ subdir: x509-validation
88
+ git: https://github.com/akshaymankar/hs-certificate.git
89
+ commit: cdfff1a735ddf44cf04a9712828fd62bf4a52e47
42
90
snapshots:
43
91
- completed:
44
92
size: 496697
You can’t perform that action at this time.
0 commit comments