-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Needed for Cirrus Cloud parser compatibility.
- Loading branch information
Showing
8 changed files
with
187 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
pkg/parser/testdata/via-rpc/new-deduplicator-different-type.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[ | ||
{ | ||
"commands": [ | ||
{ | ||
"cloneInstruction": {}, | ||
"name": "clone" | ||
} | ||
], | ||
"environment": { | ||
"CIRRUS_OS": "linux" | ||
}, | ||
"instance": { | ||
"@type": "type.googleapis.com/org.cirruslabs.ci.services.cirruscigrpc.ContainerInstance", | ||
"cpu": 2, | ||
"memory": 4096 | ||
}, | ||
"metadata": { | ||
"properties": { | ||
"allow_failures": "false", | ||
"experimental": "false", | ||
"indexWithinBuild": "0", | ||
"timeout_in": "3600", | ||
"trigger_type": "AUTOMATIC" | ||
} | ||
}, | ||
"name": "main" | ||
} | ||
] |
4 changes: 4 additions & 0 deletions
4
pkg/parser/testdata/via-rpc/new-deduplicator-different-type.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
task: | ||
container: | ||
image: debian:latest | ||
container: |
46 changes: 46 additions & 0 deletions
46
pkg/parser/testdata/via-rpc/new-deduplicator-same-type.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
[ | ||
{ | ||
"commands": [ | ||
{ | ||
"cloneInstruction": {}, | ||
"name": "clone" | ||
}, | ||
{ | ||
"name": "main", | ||
"scriptInstruction": { | ||
"scripts": [ | ||
"true" | ||
] | ||
} | ||
} | ||
], | ||
"environment": { | ||
"CIRRUS_OS": "linux" | ||
}, | ||
"instance": { | ||
"@type": "type.googleapis.com/org.cirruslabs.ci.services.cirruscigrpc.ContainerInstance", | ||
"additionalContainers": [ | ||
{ | ||
"containerPort": 80, | ||
"cpu": 0.5, | ||
"image": "nginx:latest", | ||
"memory": 20480, | ||
"name": "nginx" | ||
} | ||
], | ||
"cpu": 2, | ||
"image": "debian:latest", | ||
"memory": 4096 | ||
}, | ||
"metadata": { | ||
"properties": { | ||
"allow_failures": "false", | ||
"experimental": "false", | ||
"indexWithinBuild": "0", | ||
"timeout_in": "3600", | ||
"trigger_type": "AUTOMATIC" | ||
} | ||
}, | ||
"name": "main" | ||
} | ||
] |
13 changes: 13 additions & 0 deletions
13
pkg/parser/testdata/via-rpc/new-deduplicator-same-type.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
task: | ||
container: | ||
image: debian:latest | ||
container: | ||
image: debian:latest | ||
additional_containers: | ||
- name: nginx | ||
memory: 10Gb | ||
image: nginx:latest | ||
port: 80 | ||
additional_containers: | ||
- memory: 20Gb | ||
script: true |