@ship.zone/ci-spec 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.smartconfig.json +46 -0
- package/changelog.md +190 -0
- package/conformance/archive-cases.json +446 -0
- package/conformance/ci-actions/compile-invalid/build-arg-secret-collision.yml +31 -0
- package/conformance/ci-actions/compile-invalid/candidate-without-needs.yml +36 -0
- package/conformance/ci-actions/compile-invalid/needs-wider-triggers.yml +42 -0
- package/conformance/ci-actions/compile-invalid/npm-read-registry-not-allowlisted.yml +34 -0
- package/conformance/ci-actions/compile-invalid/publish-job-excludes-tag.yml +57 -0
- package/conformance/ci-actions/compile-invalid/shared-memory-above-memory.yml +28 -0
- package/conformance/ci-actions/compile-invalid/trigger-kind-without-job.yml +30 -0
- package/conformance/ci-actions/invalid/alias-affix-invalid.yml +33 -0
- package/conformance/ci-actions/invalid/alias.yml +32 -0
- package/conformance/ci-actions/invalid/bridge-network.yml +27 -0
- package/conformance/ci-actions/invalid/build-darwin-platform.yml +24 -0
- package/conformance/ci-actions/invalid/build-with-steps.yml +27 -0
- package/conformance/ci-actions/invalid/concurrency-empty-group.yml +28 -0
- package/conformance/ci-actions/invalid/concurrency-without-cancel-in-progress.yml +27 -0
- package/conformance/ci-actions/invalid/container-job-build-profile.yml +25 -0
- package/conformance/ci-actions/invalid/custom-tag.txt +23 -0
- package/conformance/ci-actions/invalid/duplicate-key.txt +24 -0
- package/conformance/ci-actions/invalid/egress-bare-wildcard.yml +29 -0
- package/conformance/ci-actions/invalid/egress-empty-allowlist.yml +28 -0
- package/conformance/ci-actions/invalid/egress-ip-literal.yml +29 -0
- package/conformance/ci-actions/invalid/egress-single-label-wildcard.yml +29 -0
- package/conformance/ci-actions/invalid/job-publish-permission.yml +28 -0
- package/conformance/ci-actions/invalid/job-trigger-undeclared-kind.yml +27 -0
- package/conformance/ci-actions/invalid/literal-alias-affix.yml +33 -0
- package/conformance/ci-actions/invalid/missing-spec.yml +24 -0
- package/conformance/ci-actions/invalid/multiple-documents.yml +25 -0
- package/conformance/ci-actions/invalid/npm-read-invalid-scope.yml +33 -0
- package/conformance/ci-actions/invalid/oci-darwin-platform.yml +25 -0
- package/conformance/ci-actions/invalid/permission-without-publication.yml +31 -0
- package/conformance/ci-actions/invalid/publish-order-duplicate.yml +50 -0
- package/conformance/ci-actions/invalid/publish-order-missing-kind.yml +48 -0
- package/conformance/ci-actions/invalid/publish-order-undeclared-kind.yml +45 -0
- package/conformance/ci-actions/invalid/publish-without-permission.yml +31 -0
- package/conformance/ci-actions/invalid/publish-without-tag-trigger.yml +31 -0
- package/conformance/ci-actions/invalid/release-notes-without-assets.yml +46 -0
- package/conformance/ci-actions/invalid/reserved-label-prefix.yml +25 -0
- package/conformance/ci-actions/invalid/reserved-label.yml +25 -0
- package/conformance/ci-actions/invalid/retention-above-maximum.yml +83 -0
- package/conformance/ci-actions/invalid/retention-below-minimum.yml +83 -0
- package/conformance/ci-actions/invalid/schema-version-field.yml +26 -0
- package/conformance/ci-actions/invalid/shared-memory-below-minimum.yml +28 -0
- package/conformance/ci-actions/invalid/shell-string.yml +21 -0
- package/conformance/ci-actions/invalid/spec-number.yml +25 -0
- package/conformance/ci-actions/invalid/spec-prerelease.yml +25 -0
- package/conformance/ci-actions/invalid/spec-range.yml +25 -0
- package/conformance/ci-actions/invalid/timeout-above-maximum.yml +26 -0
- package/conformance/ci-actions/invalid/timeout-below-minimum.yml +26 -0
- package/conformance/ci-actions/invalid/unknown-alias-kind.yml +31 -0
- package/conformance/ci-actions/invalid/unknown-key.yml +24 -0
- package/conformance/ci-actions/invalid/vm-darwin-candidate.yml +38 -0
- package/conformance/ci-actions/invalid/vm-darwin-shared-memory.yml +28 -0
- package/conformance/ci-actions/invalid/vm-oci-execution.yml +25 -0
- package/conformance/ci-actions/invalid/vm-unsupported-platform.yml +25 -0
- package/conformance/ci-actions/invalid/vm-without-platform.yml +24 -0
- package/conformance/ci-actions/valid/concurrency.yml +83 -0
- package/conformance/ci-actions/valid/egress.yml +40 -0
- package/conformance/ci-actions/valid/image-build.yml +80 -0
- package/conformance/ci-actions/valid/matrix.yml +45 -0
- package/conformance/ci-actions/valid/minimal.yml +25 -0
- package/conformance/ci-actions/valid/npm-read.yml +60 -0
- package/conformance/ci-actions/valid/release-assets.yml +114 -0
- package/conformance/ci-actions/valid/release-signing.yml +71 -0
- package/conformance/ci-actions/valid/release.yml +109 -0
- package/conformance/ci-actions/valid/resources.yml +79 -0
- package/conformance/ci-actions/valid/vm.yml +77 -0
- package/conformance/compile-cases.json +5885 -0
- package/conformance/compile-cases.schema.json +766 -0
- package/conformance/digest-cases.json +144 -0
- package/conformance/runner-cases.json +1238 -0
- package/conformance/runner-jobs/invalid/bridge-network.json +70 -0
- package/conformance/runner-jobs/invalid/build-darwin-platform.json +100 -0
- package/conformance/runner-jobs/invalid/build-with-steps.json +111 -0
- package/conformance/runner-jobs/invalid/build-without-microvm.json +100 -0
- package/conformance/runner-jobs/invalid/egress-empty-allowlist.json +71 -0
- package/conformance/runner-jobs/invalid/mutable-image.json +70 -0
- package/conformance/runner-jobs/invalid/npm-read-reserved-environment.json +82 -0
- package/conformance/runner-jobs/invalid/oci-darwin-platform.json +71 -0
- package/conformance/runner-jobs/invalid/push-permission-container.json +70 -0
- package/conformance/runner-jobs/invalid/shared-memory-below-minimum.json +71 -0
- package/conformance/runner-jobs/invalid/timeout-missing.json +69 -0
- package/conformance/runner-jobs/invalid/vm-without-microvm.json +82 -0
- package/conformance/runner-jobs/valid/candidate-test.json +72 -0
- package/conformance/runner-jobs/valid/egress.json +80 -0
- package/conformance/runner-jobs/valid/image-build.json +100 -0
- package/conformance/runner-jobs/valid/minimal.json +70 -0
- package/conformance/runner-jobs/valid/npm-read.json +81 -0
- package/conformance/runner-jobs/valid/resources.json +71 -0
- package/conformance/runner-jobs/valid/timeout-retention-defaults.json +91 -0
- package/conformance/runner-jobs/valid/vm-darwin.json +70 -0
- package/conformance/runner-jobs/valid/vm.json +82 -0
- package/conformance/runner-messages.json +2035 -0
- package/conformance/version-cases.json +125 -0
- package/dist_ts/00_commitinfo_data.d.ts +8 -0
- package/dist_ts/00_commitinfo_data.js +9 -0
- package/dist_ts/constants.d.ts +199 -0
- package/dist_ts/constants.js +106 -0
- package/dist_ts/index.d.ts +1 -0
- package/dist_ts/index.js +2 -0
- package/dist_ts/plugins.d.ts +1 -0
- package/dist_ts/plugins.js +3 -0
- package/examples/ci_actions.yml +64 -0
- package/license.md +21 -0
- package/package.json +72 -0
- package/readme.md +146 -0
- package/schemas/ci_actions.schema.json +1664 -0
- package/schemas/runner-job.schema.json +1172 -0
- package/spec/ci-actions.md +433 -0
- package/spec/runner-protocol.md +378 -0
- package/spec/runner.openapi.json +2182 -0
- package/ts/00_commitinfo_data.ts +8 -0
- package/ts/constants.ts +112 -0
- package/ts/index.ts +1 -0
- package/ts/plugins.ts +1 -0
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"spec": "2.0.0",
|
|
3
|
+
"sourceObjectId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
4
|
+
"workflowDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
|
5
|
+
"compiledPlanDigest": "8405c79b143e01fded6f3a311a40cf8e1ccd7040a02b8a820dfb2e9844410741",
|
|
6
|
+
"requirements": {
|
|
7
|
+
"executionProfile": "oci",
|
|
8
|
+
"isolation": "container",
|
|
9
|
+
"labels": ["linux"],
|
|
10
|
+
"features": ["source.tar-gz"],
|
|
11
|
+
"limits": {
|
|
12
|
+
"maximumSourceArchiveBytes": 1048576,
|
|
13
|
+
"maximumSourceExtractedBytes": 4194304,
|
|
14
|
+
"maximumSourceEntries": 1000,
|
|
15
|
+
"maximumArtifactArchiveBytes": 0,
|
|
16
|
+
"maximumArtifactExtractedBytes": 0,
|
|
17
|
+
"maximumArtifactEntries": 0,
|
|
18
|
+
"maximumArtifacts": 0,
|
|
19
|
+
"maximumCacheArchiveBytes": 0,
|
|
20
|
+
"maximumCacheExtractedBytes": 0,
|
|
21
|
+
"maximumCacheEntries": 0,
|
|
22
|
+
"maximumCaches": 0,
|
|
23
|
+
"maximumLogChunkBytes": 65536,
|
|
24
|
+
"maximumTotalLogBytes": 10485760,
|
|
25
|
+
"maximumWorkspaceBytes": 21474836480,
|
|
26
|
+
"maximumWorkspaceEntries": 100000
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"permissions": {
|
|
30
|
+
"source": "read",
|
|
31
|
+
"artifacts": "none",
|
|
32
|
+
"caches": "none",
|
|
33
|
+
"images": "none"
|
|
34
|
+
},
|
|
35
|
+
"network": {
|
|
36
|
+
"mode": "egress",
|
|
37
|
+
"allow": [
|
|
38
|
+
{
|
|
39
|
+
"host": "npm.example.com",
|
|
40
|
+
"ports": [443]
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"host": "registry.npmjs.org",
|
|
44
|
+
"ports": [443]
|
|
45
|
+
}
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"execution": {
|
|
49
|
+
"profile": "oci",
|
|
50
|
+
"image": "registry.example/ci@sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
|
|
51
|
+
"workingDirectory": "/workspace"
|
|
52
|
+
},
|
|
53
|
+
"steps": [
|
|
54
|
+
{
|
|
55
|
+
"name": "Install",
|
|
56
|
+
"command": ["pnpm", "install", "--frozen-lockfile"],
|
|
57
|
+
"environment": {
|
|
58
|
+
"CI": "true",
|
|
59
|
+
"SHIPZONE_CI_INPUTS_JSON": "{}",
|
|
60
|
+
"SHIPZONE_CI_MATRIX_JSON": "{}"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"source": {
|
|
65
|
+
"format": "tar.gz",
|
|
66
|
+
"sha256": "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
67
|
+
"sizeBytes": 1024,
|
|
68
|
+
"extractedSizeBytes": 4096,
|
|
69
|
+
"entryCount": 4
|
|
70
|
+
},
|
|
71
|
+
"secrets": {},
|
|
72
|
+
"timeoutMs": 60000,
|
|
73
|
+
"npmRead": [
|
|
74
|
+
{
|
|
75
|
+
"registry": "https://npm.example.com",
|
|
76
|
+
"scopes": ["@example_private"]
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
"artifacts": [],
|
|
80
|
+
"caches": []
|
|
81
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"spec": "2.0.0",
|
|
3
|
+
"sourceObjectId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
4
|
+
"workflowDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
|
5
|
+
"compiledPlanDigest": "2f45d18f2b0451125cb76284a26eaa5499981005fca934d51ffc7afe317ecaeb",
|
|
6
|
+
"requirements": {
|
|
7
|
+
"executionProfile": "oci",
|
|
8
|
+
"isolation": "container",
|
|
9
|
+
"labels": ["linux"],
|
|
10
|
+
"features": ["source.tar-gz"],
|
|
11
|
+
"limits": {
|
|
12
|
+
"maximumSourceArchiveBytes": 1048576,
|
|
13
|
+
"maximumSourceExtractedBytes": 4194304,
|
|
14
|
+
"maximumSourceEntries": 1000,
|
|
15
|
+
"maximumArtifactArchiveBytes": 0,
|
|
16
|
+
"maximumArtifactExtractedBytes": 0,
|
|
17
|
+
"maximumArtifactEntries": 0,
|
|
18
|
+
"maximumArtifacts": 0,
|
|
19
|
+
"maximumCacheArchiveBytes": 0,
|
|
20
|
+
"maximumCacheExtractedBytes": 0,
|
|
21
|
+
"maximumCacheEntries": 0,
|
|
22
|
+
"maximumCaches": 0,
|
|
23
|
+
"maximumLogChunkBytes": 65536,
|
|
24
|
+
"maximumTotalLogBytes": 10485760,
|
|
25
|
+
"maximumWorkspaceBytes": 21474836480,
|
|
26
|
+
"maximumWorkspaceEntries": 100000
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"permissions": {
|
|
30
|
+
"source": "read",
|
|
31
|
+
"artifacts": "none",
|
|
32
|
+
"caches": "none",
|
|
33
|
+
"images": "none"
|
|
34
|
+
},
|
|
35
|
+
"network": {
|
|
36
|
+
"mode": "none"
|
|
37
|
+
},
|
|
38
|
+
"execution": {
|
|
39
|
+
"profile": "oci",
|
|
40
|
+
"image": "registry.example/ci@sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
|
|
41
|
+
"workingDirectory": "/workspace"
|
|
42
|
+
},
|
|
43
|
+
"steps": [
|
|
44
|
+
{
|
|
45
|
+
"name": "Test",
|
|
46
|
+
"command": ["pnpm", "test"],
|
|
47
|
+
"environment": {
|
|
48
|
+
"CI": "true",
|
|
49
|
+
"SHIPZONE_CI_INPUTS_JSON": "{}",
|
|
50
|
+
"SHIPZONE_CI_MATRIX_JSON": "{}"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"source": {
|
|
55
|
+
"format": "tar.gz",
|
|
56
|
+
"sha256": "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
57
|
+
"sizeBytes": 1024,
|
|
58
|
+
"extractedSizeBytes": 4096,
|
|
59
|
+
"entryCount": 4
|
|
60
|
+
},
|
|
61
|
+
"secrets": {},
|
|
62
|
+
"timeoutMs": 60000,
|
|
63
|
+
"resources": {
|
|
64
|
+
"memoryBytes": 268435456,
|
|
65
|
+
"cpus": 1,
|
|
66
|
+
"pids": 256,
|
|
67
|
+
"sharedMemoryBytes": 134217728
|
|
68
|
+
},
|
|
69
|
+
"artifacts": [],
|
|
70
|
+
"caches": []
|
|
71
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
{
|
|
2
|
+
"spec": "2.0.0",
|
|
3
|
+
"sourceObjectId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
4
|
+
"workflowDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
|
5
|
+
"compiledPlanDigest": "8b95f97757282740df3e9e98164a2aef52ef70dff82cc5aad2614279315a87d8",
|
|
6
|
+
"requirements": {
|
|
7
|
+
"executionProfile": "oci",
|
|
8
|
+
"isolation": "container",
|
|
9
|
+
"labels": ["linux"],
|
|
10
|
+
"features": ["source.tar-gz", "artifacts", "caches"],
|
|
11
|
+
"limits": {
|
|
12
|
+
"maximumSourceArchiveBytes": 1048576,
|
|
13
|
+
"maximumSourceExtractedBytes": 4194304,
|
|
14
|
+
"maximumSourceEntries": 1000,
|
|
15
|
+
"maximumArtifactArchiveBytes": 104857600,
|
|
16
|
+
"maximumArtifactExtractedBytes": 524288000,
|
|
17
|
+
"maximumArtifactEntries": 10000,
|
|
18
|
+
"maximumArtifacts": 1,
|
|
19
|
+
"maximumCacheArchiveBytes": 1073741824,
|
|
20
|
+
"maximumCacheExtractedBytes": 4294967296,
|
|
21
|
+
"maximumCacheEntries": 100000,
|
|
22
|
+
"maximumCaches": 1,
|
|
23
|
+
"maximumLogChunkBytes": 65536,
|
|
24
|
+
"maximumTotalLogBytes": 10485760,
|
|
25
|
+
"maximumWorkspaceBytes": 8589934592,
|
|
26
|
+
"maximumWorkspaceEntries": 100000
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"permissions": {
|
|
30
|
+
"source": "read",
|
|
31
|
+
"artifacts": "write",
|
|
32
|
+
"caches": "read-write",
|
|
33
|
+
"images": "none"
|
|
34
|
+
},
|
|
35
|
+
"network": {
|
|
36
|
+
"mode": "none"
|
|
37
|
+
},
|
|
38
|
+
"execution": {
|
|
39
|
+
"profile": "oci",
|
|
40
|
+
"image": "registry.example/ci@sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
|
|
41
|
+
"workingDirectory": "/workspace"
|
|
42
|
+
},
|
|
43
|
+
"steps": [
|
|
44
|
+
{
|
|
45
|
+
"name": "Test",
|
|
46
|
+
"command": ["pnpm", "test"],
|
|
47
|
+
"environment": {
|
|
48
|
+
"CI": "true",
|
|
49
|
+
"SHIPZONE_CI_INPUTS_JSON": "{}",
|
|
50
|
+
"SHIPZONE_CI_MATRIX_JSON": "{}"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"source": {
|
|
55
|
+
"format": "tar.gz",
|
|
56
|
+
"sha256": "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
57
|
+
"sizeBytes": 1024,
|
|
58
|
+
"extractedSizeBytes": 4096,
|
|
59
|
+
"entryCount": 4
|
|
60
|
+
},
|
|
61
|
+
"secrets": {},
|
|
62
|
+
"timeoutMs": 3600000,
|
|
63
|
+
"resources": {
|
|
64
|
+
"memoryBytes": 268435456,
|
|
65
|
+
"cpus": 1,
|
|
66
|
+
"pids": 256
|
|
67
|
+
},
|
|
68
|
+
"artifacts": [
|
|
69
|
+
{
|
|
70
|
+
"name": "test-results",
|
|
71
|
+
"path": ".nogit/testlogs",
|
|
72
|
+
"format": "tar.gz",
|
|
73
|
+
"when": "failure",
|
|
74
|
+
"required": false,
|
|
75
|
+
"maximumBytes": 104857600,
|
|
76
|
+
"maximumExtractedBytes": 524288000,
|
|
77
|
+
"maximumEntries": 10000
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"caches": [
|
|
81
|
+
{
|
|
82
|
+
"name": "pnpm",
|
|
83
|
+
"key": "pnpm-store",
|
|
84
|
+
"paths": [".pnpm-store"],
|
|
85
|
+
"access": "read-write",
|
|
86
|
+
"maximumBytes": 1073741824,
|
|
87
|
+
"maximumExtractedBytes": 4294967296,
|
|
88
|
+
"maximumEntries": 100000
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"spec": "2.0.0",
|
|
3
|
+
"sourceObjectId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
4
|
+
"workflowDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
|
5
|
+
"compiledPlanDigest": "a77fa8e6c9d04dc73bea5a38f3be42aa776f6d6a436a7ccefd7a92fdac20ed6a",
|
|
6
|
+
"requirements": {
|
|
7
|
+
"executionProfile": "vm",
|
|
8
|
+
"isolation": "microvm",
|
|
9
|
+
"labels": ["macos"],
|
|
10
|
+
"features": ["source.tar-gz"],
|
|
11
|
+
"limits": {
|
|
12
|
+
"maximumSourceArchiveBytes": 1048576,
|
|
13
|
+
"maximumSourceExtractedBytes": 4194304,
|
|
14
|
+
"maximumSourceEntries": 1000,
|
|
15
|
+
"maximumArtifactArchiveBytes": 0,
|
|
16
|
+
"maximumArtifactExtractedBytes": 0,
|
|
17
|
+
"maximumArtifactEntries": 0,
|
|
18
|
+
"maximumArtifacts": 0,
|
|
19
|
+
"maximumCacheArchiveBytes": 0,
|
|
20
|
+
"maximumCacheExtractedBytes": 0,
|
|
21
|
+
"maximumCacheEntries": 0,
|
|
22
|
+
"maximumCaches": 0,
|
|
23
|
+
"maximumLogChunkBytes": 65536,
|
|
24
|
+
"maximumTotalLogBytes": 10485760,
|
|
25
|
+
"maximumWorkspaceBytes": 21474836480,
|
|
26
|
+
"maximumWorkspaceEntries": 100000
|
|
27
|
+
},
|
|
28
|
+
"platform": "darwin/arm64"
|
|
29
|
+
},
|
|
30
|
+
"permissions": {
|
|
31
|
+
"source": "read",
|
|
32
|
+
"artifacts": "none",
|
|
33
|
+
"caches": "none",
|
|
34
|
+
"images": "none"
|
|
35
|
+
},
|
|
36
|
+
"network": {
|
|
37
|
+
"mode": "none"
|
|
38
|
+
},
|
|
39
|
+
"execution": {
|
|
40
|
+
"profile": "vm",
|
|
41
|
+
"image": "registry.example/ci@sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
|
|
42
|
+
"workingDirectory": "/workspace"
|
|
43
|
+
},
|
|
44
|
+
"steps": [
|
|
45
|
+
{
|
|
46
|
+
"name": "Build",
|
|
47
|
+
"command": ["cargo", "build", "--release", "--target", "aarch64-apple-darwin"],
|
|
48
|
+
"environment": {
|
|
49
|
+
"SHIPZONE_CI_INPUTS_JSON": "{}",
|
|
50
|
+
"SHIPZONE_CI_MATRIX_JSON": "{}"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"source": {
|
|
55
|
+
"format": "tar.gz",
|
|
56
|
+
"sha256": "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
57
|
+
"sizeBytes": 1024,
|
|
58
|
+
"extractedSizeBytes": 4096,
|
|
59
|
+
"entryCount": 4
|
|
60
|
+
},
|
|
61
|
+
"secrets": {},
|
|
62
|
+
"timeoutMs": 60000,
|
|
63
|
+
"resources": {
|
|
64
|
+
"memoryBytes": 8589934592,
|
|
65
|
+
"cpus": 4,
|
|
66
|
+
"pids": 4096
|
|
67
|
+
},
|
|
68
|
+
"artifacts": [],
|
|
69
|
+
"caches": []
|
|
70
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"spec": "2.0.0",
|
|
3
|
+
"sourceObjectId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
4
|
+
"workflowDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
|
|
5
|
+
"compiledPlanDigest": "ca9271815213e026fd5d1fb61a4147503eca971aed9d536a1dbb5e51bcdb0994",
|
|
6
|
+
"requirements": {
|
|
7
|
+
"executionProfile": "vm",
|
|
8
|
+
"isolation": "microvm",
|
|
9
|
+
"labels": ["linux"],
|
|
10
|
+
"features": ["source.tar-gz"],
|
|
11
|
+
"limits": {
|
|
12
|
+
"maximumSourceArchiveBytes": 1048576,
|
|
13
|
+
"maximumSourceExtractedBytes": 4194304,
|
|
14
|
+
"maximumSourceEntries": 1000,
|
|
15
|
+
"maximumArtifactArchiveBytes": 0,
|
|
16
|
+
"maximumArtifactExtractedBytes": 0,
|
|
17
|
+
"maximumArtifactEntries": 0,
|
|
18
|
+
"maximumArtifacts": 0,
|
|
19
|
+
"maximumCacheArchiveBytes": 0,
|
|
20
|
+
"maximumCacheExtractedBytes": 0,
|
|
21
|
+
"maximumCacheEntries": 0,
|
|
22
|
+
"maximumCaches": 0,
|
|
23
|
+
"maximumLogChunkBytes": 65536,
|
|
24
|
+
"maximumTotalLogBytes": 10485760,
|
|
25
|
+
"maximumWorkspaceBytes": 21474836480,
|
|
26
|
+
"maximumWorkspaceEntries": 100000
|
|
27
|
+
},
|
|
28
|
+
"platform": "linux/amd64"
|
|
29
|
+
},
|
|
30
|
+
"permissions": {
|
|
31
|
+
"source": "read",
|
|
32
|
+
"artifacts": "none",
|
|
33
|
+
"caches": "none",
|
|
34
|
+
"images": "none"
|
|
35
|
+
},
|
|
36
|
+
"network": {
|
|
37
|
+
"mode": "egress",
|
|
38
|
+
"allow": [
|
|
39
|
+
{
|
|
40
|
+
"host": "registry-1.docker.io",
|
|
41
|
+
"ports": [443]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"host": "auth.docker.io",
|
|
45
|
+
"ports": [443]
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
"execution": {
|
|
50
|
+
"profile": "vm",
|
|
51
|
+
"image": "registry.example/ci@sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
|
|
52
|
+
"workingDirectory": "/workspace"
|
|
53
|
+
},
|
|
54
|
+
"steps": [
|
|
55
|
+
{
|
|
56
|
+
"name": "Test with a container engine",
|
|
57
|
+
"command": ["/usr/local/bin/with-dockerd", "pnpm", "test"],
|
|
58
|
+
"environment": {
|
|
59
|
+
"CI": "true",
|
|
60
|
+
"SHIPZONE_CI_INPUTS_JSON": "{}",
|
|
61
|
+
"SHIPZONE_CI_MATRIX_JSON": "{}"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"source": {
|
|
66
|
+
"format": "tar.gz",
|
|
67
|
+
"sha256": "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
|
|
68
|
+
"sizeBytes": 1024,
|
|
69
|
+
"extractedSizeBytes": 4096,
|
|
70
|
+
"entryCount": 4
|
|
71
|
+
},
|
|
72
|
+
"secrets": {},
|
|
73
|
+
"timeoutMs": 60000,
|
|
74
|
+
"resources": {
|
|
75
|
+
"memoryBytes": 268435456,
|
|
76
|
+
"cpus": 1,
|
|
77
|
+
"pids": 256,
|
|
78
|
+
"sharedMemoryBytes": 134217728
|
|
79
|
+
},
|
|
80
|
+
"artifacts": [],
|
|
81
|
+
"caches": []
|
|
82
|
+
}
|