Skip to content

Commit

Permalink
Move CI settings into ci-settings repo
Browse files Browse the repository at this point in the history
Move azure jobs into ci-settings repo

Move jobs into stages

Remove steps from angr repo

Remove custom branch from ci-settings resource
  • Loading branch information
twizmwazin committed Dec 17, 2019
1 parent 1cf83b4 commit f152033
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 150 deletions.
61 changes: 8 additions & 53 deletions .azure-pipelines/master.yml
Original file line number Diff line number Diff line change
@@ -1,56 +1,11 @@
name: $(BuildDefinitionName)-$(SourceBranchName)-$(BuildID)

jobs:
- job: Build
pool:
vmImage: ubuntu-16.04
container:
image: angr/ci:2
steps:
- template: ./steps/linux-build.yml
resources:
repositories:
- repository: ci-settings
type: github
name: angr/ci-settings
endpoint: angr

- job: Lint
pool:
vmImage: ubuntu-16.04
container:
image: angr/ci:2
dependsOn: Build
condition: succeeded()
steps:
- template: ./steps/linux-lint.yml

- job: Test
pool:
vmImage: ubuntu-16.04
container:
image: angr/ci:2
options: --cap-add=SYS_PTRACE --security-opt seccomp:unconfined
dependsOn: Build
condition: succeeded()
variables:
NUM_WORKERS: 10
strategy:
maxParallel: 10
matrix:
worker_0:
WORKER: 0
worker_1:
WORKER: 1
worker_2:
WORKER: 2
worker_3:
WORKER: 3
worker_4:
WORKER: 4
worker_5:
WORKER: 5
worker_6:
WORKER: 6
worker_7:
WORKER: 7
worker_8:
WORKER: 8
worker_9:
WORKER: 9
steps:
- template: ./steps/linux-test.yml
stages:
- template: resources/master.yml@ci-settings
56 changes: 8 additions & 48 deletions .azure-pipelines/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,52 +8,12 @@ schedules:
include:
- master

jobs:
- job: Build
pool:
vmImage: ubuntu-16.04
container:
image: angr/ci:2
steps:
- template: ./steps/linux-build.yml
parameters:
nightly: True

- job: Test
pool:
vmImage: ubuntu-16.04
container:
image: angr/ci:2
options: --cap-add=SYS_PTRACE --security-opt seccomp:unconfined
dependsOn: Build
condition: succeeded()
variables:
NUM_WORKERS: 10
strategy:
maxParallel: 10
matrix:
worker_0:
WORKER: 0
worker_1:
WORKER: 1
worker_2:
WORKER: 2
worker_3:
WORKER: 3
worker_4:
WORKER: 4
worker_5:
WORKER: 5
worker_6:
WORKER: 6
worker_7:
WORKER: 7
worker_8:
WORKER: 8
worker_9:
WORKER: 9
steps:
- template: ./steps/linux-test.yml
parameters:
nightly: True
resources:
repositories:
- repository: ci-settings
type: github
name: angr/ci-settings
endpoint: angr

stages:
- template: resources/nightly.yml@ci-settings
15 changes: 0 additions & 15 deletions .azure-pipelines/steps/linux-build.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .azure-pipelines/steps/linux-lint.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .azure-pipelines/steps/linux-test.yml

This file was deleted.

0 comments on commit f152033

Please sign in to comment.