File tree Expand file tree Collapse file tree 1 file changed +6
-33
lines changed
Expand file tree Collapse file tree 1 file changed +6
-33
lines changed Original file line number Diff line number Diff line change @@ -5,41 +5,14 @@ metadata:
55spec :
66 schedule : ' @every 15m'
77 exec :
8- - type : $.type
9- id : $.id
8+ - type : Postgres::Database
9+ id : $.name
1010 name : $.name
1111 script : |
1212 #!/bin/bash
13- # This inline script runs in the git checkout directory
14- # Verify we're in a git repo by checking for go.mod
15- if [ ! -f go.mod ]; then
16- echo "Error: Not in repository root" >&2
17- exit 1
18- fi
19-
20- # Output test config items as JSON
21- cat << 'EOF'
22- [
23- {
24- "id": "config-1",
25- "type": "Custom::Config",
26- "name": "Test Config 1",
27- "config": {
28- "key": "value1",
29- "source": "git-checkout-test"
30- }
31- },
32- {
33- "id": "config-2",
34- "type": "Custom::Config",
35- "name": "Test Config 2",
36- "config": {
37- "key": "value2",
38- "source": "git-checkout-test"
39- }
40- }
41- ]
42- EOF
13+ chmod +x ./gen_configs.sh
14+ ./gen_configs.sh
4315 checkout :
44- url : https://flanksource@dev.azure.com/flanksource/Demo1/_git/infrastructure
16+ url : https://flanksource@dev.azure.com/flanksource/Demo1/_git/TEST1
4517 branch : main
18+ connection : connection://mc/flanksource-azure-devops
You can’t perform that action at this time.
0 commit comments