Skip to content

Commit bf60623

Browse files
committed
ci: fix unit tests
1 parent 9b0e16c commit bf60623

12 files changed

+0
-194
lines changed

sysdig/data_source_sysdig_fargate_workload_agent.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ const agentinoKiltDefinition = `build {
2121
entry_point: ["/opt/draios/bin/instrument"]
2222
command: ${?original.entry_point} ${?original.command}
2323
environment_variables: {
24-
"SYSDIG_ORCHESTRATOR": ${config.orchestrator_host}
25-
"SYSDIG_ORCHESTRATOR_PORT": ${config.orchestrator_port}
2624
"SYSDIG_COLLECTOR": ${config.collector_host}
2725
"SYSDIG_COLLECTOR_PORT": ${config.collector_port}
2826
"SYSDIG_ACCESS_KEY": ${config.sysdig_access_key}

sysdig/testfiles/ECSInstrumented.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,6 @@
3434
"Name": "pmet",
3535
"Value": "temp"
3636
},
37-
{
38-
"Name": "SYSDIG_ORCHESTRATOR",
39-
"Value": "orchestrator_host"
40-
},
41-
{
42-
"Name": "SYSDIG_ORCHESTRATOR_PORT",
43-
"Value": "orchestrator_port"
44-
},
4537
{
4638
"Name": "SYSDIG_COLLECTOR",
4739
"Value": "collector_host"
@@ -109,14 +101,6 @@
109101
"Name": "pmet",
110102
"Value": "temp"
111103
},
112-
{
113-
"Name": "SYSDIG_ORCHESTRATOR",
114-
"Value": "orchestrator_host"
115-
},
116-
{
117-
"Name": "SYSDIG_ORCHESTRATOR_PORT",
118-
"Value": "orchestrator_port"
119-
},
120104
{
121105
"Name": "SYSDIG_COLLECTOR",
122106
"Value": "collector_host"

sysdig/testfiles/fargate_bare_pdig_expected.json

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
"/bin/test"
1010
],
1111
"Environment": [
12-
{
13-
"Name": "SYSDIG_ORCHESTRATOR_PORT",
14-
"Value": "orchestrator_port"
15-
},
1612
{
1713
"Name": "SYSDIG_COLLECTOR",
1814
"Value": "collector_host"
@@ -37,10 +33,6 @@
3733
"Name": "SYSDIG_SIDECAR",
3834
"Value": ""
3935
},
40-
{
41-
"Name": "SYSDIG_ORCHESTRATOR",
42-
"Value": "orchestrator_host"
43-
},
4436
{
4537
"Name": "GIMME",
4638
"Value": "friedChicken"
@@ -74,10 +66,6 @@
7466
"/bin/test"
7567
],
7668
"Environment": [
77-
{
78-
"Name": "SYSDIG_ORCHESTRATOR_PORT",
79-
"Value": "orchestrator_port"
80-
},
8169
{
8270
"Name": "SYSDIG_COLLECTOR",
8371
"Value": "collector_host"
@@ -102,10 +90,6 @@
10290
"Name": "SYSDIG_SIDECAR",
10391
"Value": ""
10492
},
105-
{
106-
"Name": "SYSDIG_ORCHESTRATOR",
107-
"Value": "orchestrator_host"
108-
},
10993
{
11094
"Name": "GIMME",
11195
"Value": "friedChicken"
@@ -160,10 +144,6 @@
160144
"CredentialsParameter": "image_auth_secret"
161145
},
162146
"Environment": [
163-
{
164-
"Name": "SYSDIG_ORCHESTRATOR_PORT",
165-
"Value": "orchestrator_port"
166-
},
167147
{
168148
"Name": "SYSDIG_COLLECTOR",
169149
"Value": "collector_host"
@@ -188,10 +168,6 @@
188168
"Name": "SYSDIG_SIDECAR",
189169
"Value": ""
190170
},
191-
{
192-
"Name": "SYSDIG_ORCHESTRATOR",
193-
"Value": "orchestrator_host"
194-
},
195171
{
196172
"Name": "GIMME",
197173
"Value": "friedChicken"

sysdig/testfiles/fargate_cmd_test_expected.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
"test-arg-value"
1313
],
1414
"Environment": [
15-
{
16-
"Name": "SYSDIG_ORCHESTRATOR_PORT",
17-
"Value": "orchestrator_port"
18-
},
1915
{
2016
"Name": "SYSDIG_COLLECTOR",
2117
"Value": "collector_host"
@@ -39,10 +35,6 @@
3935
{
4036
"Name": "SYSDIG_SIDECAR",
4137
"Value": ""
42-
},
43-
{
44-
"Name": "SYSDIG_ORCHESTRATOR",
45-
"Value": "orchestrator_host"
4638
}
4739
],
4840
"LinuxParameters": {
@@ -69,10 +61,6 @@
6961
"CredentialsParameter": "image_auth_secret"
7062
},
7163
"Environment": [
72-
{
73-
"Name": "SYSDIG_ORCHESTRATOR_PORT",
74-
"Value": "orchestrator_port"
75-
},
7664
{
7765
"Name": "SYSDIG_COLLECTOR",
7866
"Value": "collector_host"
@@ -96,10 +84,6 @@
9684
{
9785
"Name": "SYSDIG_SIDECAR",
9886
"Value": ""
99-
},
100-
{
101-
"Name": "SYSDIG_ORCHESTRATOR",
102-
"Value": "orchestrator_host"
10387
}
10488
]
10589
}

sysdig/testfiles/fargate_combined_test_expected.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@
1212
"test-arg-value"
1313
],
1414
"Environment": [
15-
{
16-
"Name": "SYSDIG_ORCHESTRATOR_PORT",
17-
"Value": "orchestrator_port"
18-
},
1915
{
2016
"Name": "SYSDIG_COLLECTOR",
2117
"Value": "collector_host"
@@ -40,10 +36,6 @@
4036
"Name": "SYSDIG_SIDECAR",
4137
"Value": ""
4238
},
43-
{
44-
"Name": "SYSDIG_ORCHESTRATOR",
45-
"Value": "orchestrator_host"
46-
},
4739
{
4840
"Name": "TMP",
4941
"Value": "temporary"
@@ -81,10 +73,6 @@
8173
"CredentialsParameter": "image_auth_secret"
8274
},
8375
"Environment": [
84-
{
85-
"Name": "SYSDIG_ORCHESTRATOR_PORT",
86-
"Value": "orchestrator_port"
87-
},
8876
{
8977
"Name": "SYSDIG_COLLECTOR",
9078
"Value": "collector_host"
@@ -109,10 +97,6 @@
10997
"Name": "SYSDIG_SIDECAR",
11098
"Value": ""
11199
},
112-
{
113-
"Name": "SYSDIG_ORCHESTRATOR",
114-
"Value": "orchestrator_host"
115-
},
116100
{
117101
"Name": "TMP",
118102
"Value": "temporary"

sysdig/testfiles/fargate_entrypoint_test_expected.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
"/bin/test"
1010
],
1111
"Environment": [
12-
{
13-
"Name": "SYSDIG_ORCHESTRATOR_PORT",
14-
"Value": "orchestrator_port"
15-
},
1612
{
1713
"Name": "SYSDIG_COLLECTOR",
1814
"Value": "collector_host"
@@ -36,10 +32,6 @@
3632
{
3733
"Name": "SYSDIG_SIDECAR",
3834
"Value": ""
39-
},
40-
{
41-
"Name": "SYSDIG_ORCHESTRATOR",
42-
"Value": "orchestrator_host"
4335
}
4436
],
4537
"LinuxParameters": {
@@ -66,10 +58,6 @@
6658
"CredentialsParameter": "image_auth_secret"
6759
},
6860
"Environment": [
69-
{
70-
"Name": "SYSDIG_ORCHESTRATOR_PORT",
71-
"Value": "orchestrator_port"
72-
},
7361
{
7462
"Name": "SYSDIG_COLLECTOR",
7563
"Value": "collector_host"
@@ -93,10 +81,6 @@
9381
{
9482
"Name": "SYSDIG_SIDECAR",
9583
"Value": ""
96-
},
97-
{
98-
"Name": "SYSDIG_ORCHESTRATOR",
99-
"Value": "orchestrator_host"
10084
}
10185
]
10286
}

sysdig/testfiles/fargate_env_test_expected.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
"/bin/test"
1010
],
1111
"Environment": [
12-
{
13-
"Name": "SYSDIG_ORCHESTRATOR_PORT",
14-
"Value": "orchestrator_port"
15-
},
1612
{
1713
"Name": "SYSDIG_COLLECTOR",
1814
"Value": "collector_host"
@@ -37,10 +33,6 @@
3733
"Name": "SYSDIG_SIDECAR",
3834
"Value": ""
3935
},
40-
{
41-
"Name": "SYSDIG_ORCHESTRATOR",
42-
"Value": "orchestrator_host"
43-
},
4436
{
4537
"Name": "TMP",
4638
"Value": "temporary"
@@ -74,10 +66,6 @@
7466
"CredentialsParameter": "image_auth_secret"
7567
},
7668
"Environment": [
77-
{
78-
"Name": "SYSDIG_ORCHESTRATOR_PORT",
79-
"Value": "orchestrator_port"
80-
},
8169
{
8270
"Name": "SYSDIG_COLLECTOR",
8371
"Value": "collector_host"
@@ -102,10 +90,6 @@
10290
"Name": "SYSDIG_SIDECAR",
10391
"Value": ""
10492
},
105-
{
106-
"Name": "SYSDIG_ORCHESTRATOR",
107-
"Value": "orchestrator_host"
108-
},
10993
{
11094
"Name": "TMP",
11195
"Value": "temporary"

sysdig/testfiles/fargate_field_case_test_expected.json

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
"/bin/test"
1010
],
1111
"Environment": [
12-
{
13-
"Name": "SYSDIG_ORCHESTRATOR_PORT",
14-
"Value": "orchestrator_port"
15-
},
1612
{
1713
"Name": "SYSDIG_COLLECTOR",
1814
"Value": "collector_host"
@@ -36,10 +32,6 @@
3632
{
3733
"Name": "SYSDIG_SIDECAR",
3834
"Value": ""
39-
},
40-
{
41-
"Name": "SYSDIG_ORCHESTRATOR",
42-
"Value": "orchestrator_host"
4335
}
4436
],
4537
"LinuxParameters": {
@@ -66,10 +58,6 @@
6658
"/bin/other"
6759
],
6860
"Environment": [
69-
{
70-
"Name": "SYSDIG_ORCHESTRATOR_PORT",
71-
"Value": "orchestrator_port"
72-
},
7361
{
7462
"Name": "SYSDIG_COLLECTOR",
7563
"Value": "collector_host"
@@ -93,10 +81,6 @@
9381
{
9482
"Name": "SYSDIG_SIDECAR",
9583
"Value": ""
96-
},
97-
{
98-
"Name": "SYSDIG_ORCHESTRATOR",
99-
"Value": "orchestrator_host"
10084
}
10185
],
10286
"LinuxParameters": {
@@ -123,10 +107,6 @@
123107
"CredentialsParameter": "image_auth_secret"
124108
},
125109
"Environment": [
126-
{
127-
"Name": "SYSDIG_ORCHESTRATOR_PORT",
128-
"Value": "orchestrator_port"
129-
},
130110
{
131111
"Name": "SYSDIG_COLLECTOR",
132112
"Value": "collector_host"
@@ -150,10 +130,6 @@
150130
{
151131
"Name": "SYSDIG_SIDECAR",
152132
"Value": ""
153-
},
154-
{
155-
"Name": "SYSDIG_ORCHESTRATOR",
156-
"Value": "orchestrator_host"
157133
}
158134
]
159135
}

sysdig/testfiles/fargate_ignore_container_test_expected.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
"/bin/test"
1010
],
1111
"Environment": [
12-
{
13-
"Name": "SYSDIG_ORCHESTRATOR_PORT",
14-
"Value": "orchestrator_port"
15-
},
1612
{
1713
"Name": "SYSDIG_COLLECTOR",
1814
"Value": "collector_host"
@@ -36,10 +32,6 @@
3632
{
3733
"Name": "SYSDIG_SIDECAR",
3834
"Value": ""
39-
},
40-
{
41-
"Name": "SYSDIG_ORCHESTRATOR",
42-
"Value": "orchestrator_host"
4335
}
4436
],
4537
"LinuxParameters": {
@@ -80,10 +72,6 @@
8072
"CredentialsParameter": "image_auth_secret"
8173
},
8274
"Environment": [
83-
{
84-
"Name": "SYSDIG_ORCHESTRATOR_PORT",
85-
"Value": "orchestrator_port"
86-
},
8775
{
8876
"Name": "SYSDIG_COLLECTOR",
8977
"Value": "collector_host"
@@ -107,10 +95,6 @@
10795
{
10896
"Name": "SYSDIG_SIDECAR",
10997
"Value": ""
110-
},
111-
{
112-
"Name": "SYSDIG_ORCHESTRATOR",
113-
"Value": "orchestrator_host"
11498
}
11599
]
116100
}

0 commit comments

Comments
 (0)