Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ssl.yml « stress « libraries « pipelines « eng - github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 20f442a64ca195514ec0e0ceb1db2c00e9cd1923 (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
trigger: none

pr:
  branches:
    include:
    - "*"

schedules:
- cron: "0 13 * * *" # 1PM UTC => 5 AM PST
  displayName: SslStress nightly run
  branches:
    include:
    - main
    - release/6.0

variables:
  - template: ../variables.yml
  - name: dockerfilesFolder
    value: $(Build.SourcesDirectory)/eng/docker
  - name: sslStressProject
    value: $(sourcesRoot)/System.Net.Security/tests/StressTests/SslStress
  - name: sdkBaseImage
    value: dotnet-sdk-libraries-current


jobs:

- job: linux
  displayName: Docker Linux
  timeoutInMinutes: 120
  pool:
    name: NetCore-Svc-Public
    demands: ImageOverride -equals Build.Ubuntu.1804.Amd64.Open

  steps:
  - checkout: self
    clean: true
    fetchDepth: 5

  - bash: |
      $(dockerfilesFolder)/build-docker-sdk.sh -t $(sdkBaseImage) -c $(BUILD_CONFIGURATION)
    displayName: Build CLR and Libraries

  - bash: |
      $(sslStressProject)/run-docker-compose.sh -o -c $(BUILD_CONFIGURATION) -t $(sdkBaseImage)
    displayName: Build SslStress

  - bash: |
      cd '$(sslStressProject)'
      docker-compose up --abort-on-container-exit --no-color
    displayName: Run SslStress

- job: windows
  displayName: Docker NanoServer
  timeoutInMinutes: 120
  pool:
    name: NetCore-Svc-Public
    demands: ImageOverride -equals 1es-windows-2022-open

  steps:
  - checkout: self
    clean: true
    fetchDepth: 5
    lfs: false

  - powershell: |
      $(dockerfilesFolder)/build-docker-sdk.ps1 -w -t $(sdkBaseImage) -c $(BUILD_CONFIGURATION)
    displayName: Build CLR and Libraries
  
  - powershell: |
      $(sslStressProject)/run-docker-compose.ps1 -w -o -c $(BUILD_CONFIGURATION) -t $(sdkBaseImage)
    displayName: Build SslStress
  
  - powershell: |
      cd '$(sslStressProject)'
      docker-compose up --abort-on-container-exit --no-color
    displayName: Run SslStress