Skip to content

Commit

Permalink
Fix yamllint issues for test mesh definitions and fix Makefile depend… (
Browse files Browse the repository at this point in the history
  • Loading branch information
thom-at-redhat authored Aug 9, 2024
1 parent 73cfa7e commit 06b70d8
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ test: receptor
PATH="${PWD}:${PATH}" \
$(GO) test ./... $(TESTCMD) -count=1 -race -timeout 5m

receptorctl-test: receptorctl/.VERSION
receptorctl-test: receptorctl/.VERSION receptor
@cd receptorctl && nox -s tests

testloop: receptor
Expand Down
4 changes: 3 additions & 1 deletion receptorctl/tests/mesh-definitions/access_control/node1.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
- node:
id: node1

Expand All @@ -9,7 +10,7 @@
- control-service:
filename: /tmp/receptorctltest/access_control/node1.sock

- work-signing:
- work-signing:
privatekey: /tmp/receptorctltest/access_control/signwork_key
tokenexpiration: 10h30m

Expand All @@ -26,3 +27,4 @@
workType: unsigned-echo
command: bash
params: "-c \"for w in {1..4}; do echo ${line^^}; sleep 1; done\""
...
2 changes: 2 additions & 0 deletions receptorctl/tests/mesh-definitions/access_control/node2.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
- node:
id: node2

Expand All @@ -11,3 +12,4 @@

- control-service:
filename: /tmp/receptorctltest/access_control/node2.sock
...
2 changes: 2 additions & 0 deletions receptorctl/tests/mesh-definitions/access_control/node3.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
- node:
id: node3

Expand All @@ -8,3 +9,4 @@

- control-service:
filename: /tmp/receptorctltest/access_control/node3.sock
...
2 changes: 2 additions & 0 deletions receptorctl/tests/mesh-definitions/mesh1/node1.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
- node:
id: node1

Expand All @@ -23,3 +24,4 @@
service: ctltls
tcplisten: 11113
tcptls: tlsserver
...
2 changes: 2 additions & 0 deletions receptorctl/tests/mesh-definitions/mesh1/node2.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
- node:
id: node2

Expand All @@ -9,3 +10,4 @@

- control-service:
filename: /tmp/receptorctltest/mesh1/node2.sock
...
2 changes: 2 additions & 0 deletions receptorctl/tests/mesh-definitions/mesh1/node3.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
- node:
id: node3

Expand All @@ -17,3 +18,4 @@
workType: echo-uppercase
command: bash
params: "-c \"read PAYLOAD; echo ${PAYLOAD^^}\""
...

0 comments on commit 06b70d8

Please sign in to comment.