Skip to content

Commit e2ee305

Browse files
committed
fixup! Edit Pipeline Trigger
1 parent 90607d1 commit e2ee305

File tree

2 files changed

+31
-5
lines changed

2 files changed

+31
-5
lines changed

.pipelines/singletenancy/cilium/cilium-e2e-step-template.yaml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,27 @@ steps:
5353
- script: |
5454
echo "Start Azilium E2E Tests"
5555
kubectl get po -owide -A
56-
sudo -E env "PATH=$PATH" make test-load SCALE_UP=32 OS_TYPE=linux VALIDATE_STATEFILE=true INSTALL_CNS=true INSTALL_AZILIUM=true AZURE_IPAM_VERSION=$(make azure-ipam-version) CNS_VERSION=$(make cns-version) CLEANUP=true
56+
sudo -E env "PATH=$PATH" make test-load \
57+
SCALE_UP="$SCALE_UP" \
58+
OS_TYPE="$OS_TYPE" \
59+
VALIDATE_STATEFILE="$VALIDATE_STATEFILE" \
60+
INSTALL_CNS="$INSTALL_CNS" \
61+
INSTALL_AZILIUM="$INSTALL_AZILIUM" \
62+
AZURE_IPAM_VERSION="$AZURE_IPAM_VERSION" \
63+
CNS_VERSION="$CNS_VERSION" \
64+
CLEANUP="$CLEANUP"
5765
retryCountOnTaskFailure: 3
5866
name: "aziliumTest"
5967
displayName: "Run Azilium E2E"
68+
env:
69+
SCALE_UP: 32
70+
OS_TYPE: linux
71+
VALIDATE_STATEFILE: true
72+
INSTALL_CNS: true
73+
INSTALL_AZILIUM: true
74+
AZURE_IPAM_VERSION: $(azureIpamVersion)
75+
CNS_VERSION: $(cnsVersion)
76+
CLEANUP: true
6077
6178
- template: ../../templates/cilium-tests.yaml
6279
parameters:

.pipelines/templates/run-unit-tests.yaml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ stages:
6565
$GOCOV_XML_BIN < "$REPORT_DIR"/linux-coverage.gocov.json > "$REPORT_DIR"/linux-coverage.gocov.xml
6666
6767
- task: UsePythonVersion@0
68+
retryCountOnTaskFailure: 3
6869
inputs:
6970
versionSpec: '3.x' # string. Required. Version spec. Default: 3.x.
7071
addToPath: true
@@ -106,6 +107,8 @@ stages:
106107
val = encode_and_compress(item['file_path'])
107108
output_var(item['var_name'], True, val)
108109
110+
sys.exit()
111+
109112
110113
- job: windows
111114
displayName: "Run Tests - Windows"
@@ -129,6 +132,7 @@ stages:
129132
version: '$(GOVERSION)'
130133

131134
- task: UsePythonVersion@0
135+
retryCountOnTaskFailure: 3
132136
inputs:
133137
versionSpec: '3.x' # string. Required. Version spec. Default: 3.x.
134138
addToPath: true
@@ -281,6 +285,8 @@ stages:
281285
junit_xml_content = encode_and_compress(junit_xml)
282286
output_var('JUNIT_XML', True, junit_xml_content)
283287

288+
sys.exit()
289+
284290

285291
- job: coverage
286292
displayName: "Check Test Coverage"
@@ -303,10 +309,11 @@ stages:
303309
LINUX_GOCOV_OUT: $[ dependencies.linux.outputs['report.GOCOV_OUT_XML'] ]
304310
LINUX_JUNIT_XML: $[ dependencies.linux.outputs['report.JUNIT_XML'] ]
305311
steps:
306-
# - task: UsePythonVersion@0
307-
# inputs:
308-
# versionSpec: '3.x' # string. Required. Version spec. Default: 3.x.
309-
# addToPath: true
312+
- task: UsePythonVersion@0
313+
retryCountOnTaskFailure: 3
314+
inputs:
315+
versionSpec: '3.x' # string. Required. Version spec. Default: 3.x.
316+
addToPath: true
310317

311318
- task: PythonScript@0
312319
displayName: "Write Test Output Artifacts"
@@ -350,6 +357,8 @@ stages:
350357
print(f'Decompressing data and writing variable value to file {item["file_path"]}')
351358
file_io.write(decompress_and_decode(var_value))
352359

360+
sys.exit()
361+
353362
- task: PublishTestResults@2
354363
displayName: "Publish Test Results"
355364
inputs:

0 commit comments

Comments
 (0)