blob: a06e6fcb6610190f1550faf841de6c43901b9e10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
trigger: none
pr:
branches:
include:
- "*"
schedules:
- cron: "0 13 * * *" # 1PM UTC => 5 AM PST
displayName: SslStress nightly run
branches:
include:
- master
pool:
name: Hosted Ubuntu 1604
variables:
- template: ../variables.yml
- name: sslStressProject
value: $(sourcesRoot)/System.Net.Security/tests/StressTests/SslStress/
# Avoid duplication by referencing corefx build infrastructure hosted in HttpStress
# TODO move to eng/ folder.
- name: httpStressProject
value: $(sourcesRoot)/System.Net.Http/tests/StressTests/HttpStress/
- name: sdkBaseImage
value: sdk-corefx-current
- name: sslStressImage
value: sslstress
steps:
- checkout: self
clean: true
fetchDepth: 1
lfs: false
- bash: |
docker build -t $(sdkBaseImage) --build-arg CONFIGURATION=$(BUILD_CONFIGURATION) --build-arg BUILD_SCRIPT_NAME=$(buildScriptFileName) -f $(httpStressProject)corefx.Dockerfile .
displayName: Build Libraries
- bash: |
# we need to include the entire src/libraries folder in the build context due to Common/ dependencies
docker build -t $(sslStressImage) --build-arg SDK_BASE_IMAGE=$(sdkBaseImage) --build-arg CONFIGURATION=$(BUILD_CONFIGURATION) -f $(sslStressProject)/Dockerfile src/libraries
displayName: Build SslStress
- bash: |
cd '$(sslStressProject)'
docker-compose up --abort-on-container-exit --no-color
displayName: Run SslStress
env:
HTTPSTRESS_IMAGE: $(sslStressImage)
|