@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.
Files changed (116) hide show
  1. package/.smartconfig.json +46 -0
  2. package/changelog.md +190 -0
  3. package/conformance/archive-cases.json +446 -0
  4. package/conformance/ci-actions/compile-invalid/build-arg-secret-collision.yml +31 -0
  5. package/conformance/ci-actions/compile-invalid/candidate-without-needs.yml +36 -0
  6. package/conformance/ci-actions/compile-invalid/needs-wider-triggers.yml +42 -0
  7. package/conformance/ci-actions/compile-invalid/npm-read-registry-not-allowlisted.yml +34 -0
  8. package/conformance/ci-actions/compile-invalid/publish-job-excludes-tag.yml +57 -0
  9. package/conformance/ci-actions/compile-invalid/shared-memory-above-memory.yml +28 -0
  10. package/conformance/ci-actions/compile-invalid/trigger-kind-without-job.yml +30 -0
  11. package/conformance/ci-actions/invalid/alias-affix-invalid.yml +33 -0
  12. package/conformance/ci-actions/invalid/alias.yml +32 -0
  13. package/conformance/ci-actions/invalid/bridge-network.yml +27 -0
  14. package/conformance/ci-actions/invalid/build-darwin-platform.yml +24 -0
  15. package/conformance/ci-actions/invalid/build-with-steps.yml +27 -0
  16. package/conformance/ci-actions/invalid/concurrency-empty-group.yml +28 -0
  17. package/conformance/ci-actions/invalid/concurrency-without-cancel-in-progress.yml +27 -0
  18. package/conformance/ci-actions/invalid/container-job-build-profile.yml +25 -0
  19. package/conformance/ci-actions/invalid/custom-tag.txt +23 -0
  20. package/conformance/ci-actions/invalid/duplicate-key.txt +24 -0
  21. package/conformance/ci-actions/invalid/egress-bare-wildcard.yml +29 -0
  22. package/conformance/ci-actions/invalid/egress-empty-allowlist.yml +28 -0
  23. package/conformance/ci-actions/invalid/egress-ip-literal.yml +29 -0
  24. package/conformance/ci-actions/invalid/egress-single-label-wildcard.yml +29 -0
  25. package/conformance/ci-actions/invalid/job-publish-permission.yml +28 -0
  26. package/conformance/ci-actions/invalid/job-trigger-undeclared-kind.yml +27 -0
  27. package/conformance/ci-actions/invalid/literal-alias-affix.yml +33 -0
  28. package/conformance/ci-actions/invalid/missing-spec.yml +24 -0
  29. package/conformance/ci-actions/invalid/multiple-documents.yml +25 -0
  30. package/conformance/ci-actions/invalid/npm-read-invalid-scope.yml +33 -0
  31. package/conformance/ci-actions/invalid/oci-darwin-platform.yml +25 -0
  32. package/conformance/ci-actions/invalid/permission-without-publication.yml +31 -0
  33. package/conformance/ci-actions/invalid/publish-order-duplicate.yml +50 -0
  34. package/conformance/ci-actions/invalid/publish-order-missing-kind.yml +48 -0
  35. package/conformance/ci-actions/invalid/publish-order-undeclared-kind.yml +45 -0
  36. package/conformance/ci-actions/invalid/publish-without-permission.yml +31 -0
  37. package/conformance/ci-actions/invalid/publish-without-tag-trigger.yml +31 -0
  38. package/conformance/ci-actions/invalid/release-notes-without-assets.yml +46 -0
  39. package/conformance/ci-actions/invalid/reserved-label-prefix.yml +25 -0
  40. package/conformance/ci-actions/invalid/reserved-label.yml +25 -0
  41. package/conformance/ci-actions/invalid/retention-above-maximum.yml +83 -0
  42. package/conformance/ci-actions/invalid/retention-below-minimum.yml +83 -0
  43. package/conformance/ci-actions/invalid/schema-version-field.yml +26 -0
  44. package/conformance/ci-actions/invalid/shared-memory-below-minimum.yml +28 -0
  45. package/conformance/ci-actions/invalid/shell-string.yml +21 -0
  46. package/conformance/ci-actions/invalid/spec-number.yml +25 -0
  47. package/conformance/ci-actions/invalid/spec-prerelease.yml +25 -0
  48. package/conformance/ci-actions/invalid/spec-range.yml +25 -0
  49. package/conformance/ci-actions/invalid/timeout-above-maximum.yml +26 -0
  50. package/conformance/ci-actions/invalid/timeout-below-minimum.yml +26 -0
  51. package/conformance/ci-actions/invalid/unknown-alias-kind.yml +31 -0
  52. package/conformance/ci-actions/invalid/unknown-key.yml +24 -0
  53. package/conformance/ci-actions/invalid/vm-darwin-candidate.yml +38 -0
  54. package/conformance/ci-actions/invalid/vm-darwin-shared-memory.yml +28 -0
  55. package/conformance/ci-actions/invalid/vm-oci-execution.yml +25 -0
  56. package/conformance/ci-actions/invalid/vm-unsupported-platform.yml +25 -0
  57. package/conformance/ci-actions/invalid/vm-without-platform.yml +24 -0
  58. package/conformance/ci-actions/valid/concurrency.yml +83 -0
  59. package/conformance/ci-actions/valid/egress.yml +40 -0
  60. package/conformance/ci-actions/valid/image-build.yml +80 -0
  61. package/conformance/ci-actions/valid/matrix.yml +45 -0
  62. package/conformance/ci-actions/valid/minimal.yml +25 -0
  63. package/conformance/ci-actions/valid/npm-read.yml +60 -0
  64. package/conformance/ci-actions/valid/release-assets.yml +114 -0
  65. package/conformance/ci-actions/valid/release-signing.yml +71 -0
  66. package/conformance/ci-actions/valid/release.yml +109 -0
  67. package/conformance/ci-actions/valid/resources.yml +79 -0
  68. package/conformance/ci-actions/valid/vm.yml +77 -0
  69. package/conformance/compile-cases.json +5885 -0
  70. package/conformance/compile-cases.schema.json +766 -0
  71. package/conformance/digest-cases.json +144 -0
  72. package/conformance/runner-cases.json +1238 -0
  73. package/conformance/runner-jobs/invalid/bridge-network.json +70 -0
  74. package/conformance/runner-jobs/invalid/build-darwin-platform.json +100 -0
  75. package/conformance/runner-jobs/invalid/build-with-steps.json +111 -0
  76. package/conformance/runner-jobs/invalid/build-without-microvm.json +100 -0
  77. package/conformance/runner-jobs/invalid/egress-empty-allowlist.json +71 -0
  78. package/conformance/runner-jobs/invalid/mutable-image.json +70 -0
  79. package/conformance/runner-jobs/invalid/npm-read-reserved-environment.json +82 -0
  80. package/conformance/runner-jobs/invalid/oci-darwin-platform.json +71 -0
  81. package/conformance/runner-jobs/invalid/push-permission-container.json +70 -0
  82. package/conformance/runner-jobs/invalid/shared-memory-below-minimum.json +71 -0
  83. package/conformance/runner-jobs/invalid/timeout-missing.json +69 -0
  84. package/conformance/runner-jobs/invalid/vm-without-microvm.json +82 -0
  85. package/conformance/runner-jobs/valid/candidate-test.json +72 -0
  86. package/conformance/runner-jobs/valid/egress.json +80 -0
  87. package/conformance/runner-jobs/valid/image-build.json +100 -0
  88. package/conformance/runner-jobs/valid/minimal.json +70 -0
  89. package/conformance/runner-jobs/valid/npm-read.json +81 -0
  90. package/conformance/runner-jobs/valid/resources.json +71 -0
  91. package/conformance/runner-jobs/valid/timeout-retention-defaults.json +91 -0
  92. package/conformance/runner-jobs/valid/vm-darwin.json +70 -0
  93. package/conformance/runner-jobs/valid/vm.json +82 -0
  94. package/conformance/runner-messages.json +2035 -0
  95. package/conformance/version-cases.json +125 -0
  96. package/dist_ts/00_commitinfo_data.d.ts +8 -0
  97. package/dist_ts/00_commitinfo_data.js +9 -0
  98. package/dist_ts/constants.d.ts +199 -0
  99. package/dist_ts/constants.js +106 -0
  100. package/dist_ts/index.d.ts +1 -0
  101. package/dist_ts/index.js +2 -0
  102. package/dist_ts/plugins.d.ts +1 -0
  103. package/dist_ts/plugins.js +3 -0
  104. package/examples/ci_actions.yml +64 -0
  105. package/license.md +21 -0
  106. package/package.json +72 -0
  107. package/readme.md +146 -0
  108. package/schemas/ci_actions.schema.json +1664 -0
  109. package/schemas/runner-job.schema.json +1172 -0
  110. package/spec/ci-actions.md +433 -0
  111. package/spec/runner-protocol.md +378 -0
  112. package/spec/runner.openapi.json +2182 -0
  113. package/ts/00_commitinfo_data.ts +8 -0
  114. package/ts/constants.ts +112 -0
  115. package/ts/index.ts +1 -0
  116. package/ts/plugins.ts +1 -0
@@ -0,0 +1,70 @@
1
+ {
2
+ "spec": "2.0.0",
3
+ "sourceObjectId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
4
+ "workflowDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
5
+ "compiledPlanDigest": "2c4db691f48431e3897fb60f4c633b5289d56c5a82f1991559d91726e8de5327",
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": 268435456,
26
+ "maximumWorkspaceEntries": 100000
27
+ }
28
+ },
29
+ "permissions": {
30
+ "source": "read",
31
+ "artifacts": "none",
32
+ "caches": "none",
33
+ "images": "none"
34
+ },
35
+ "network": {
36
+ "mode": "bridge"
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
+ },
68
+ "artifacts": [],
69
+ "caches": []
70
+ }
@@ -0,0 +1,100 @@
1
+ {
2
+ "spec": "2.0.0",
3
+ "sourceObjectId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
4
+ "workflowDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
5
+ "compiledPlanDigest": "d0268528d25de50313dac1747b4121f9cee73dc946390f9e847d4dca7e6df2a6",
6
+ "requirements": {
7
+ "executionProfile": "oci-image",
8
+ "isolation": "microvm",
9
+ "platform": "darwin/arm64",
10
+ "labels": ["builder"],
11
+ "features": ["source.tar-gz", "caches"],
12
+ "limits": {
13
+ "maximumSourceArchiveBytes": 1048576,
14
+ "maximumSourceExtractedBytes": 4194304,
15
+ "maximumSourceEntries": 1000,
16
+ "maximumArtifactArchiveBytes": 0,
17
+ "maximumArtifactExtractedBytes": 0,
18
+ "maximumArtifactEntries": 0,
19
+ "maximumArtifacts": 0,
20
+ "maximumCacheArchiveBytes": 4294967296,
21
+ "maximumCacheExtractedBytes": 17179869184,
22
+ "maximumCacheEntries": 1000000,
23
+ "maximumCaches": 1,
24
+ "maximumLogChunkBytes": 65536,
25
+ "maximumTotalLogBytes": 10485760,
26
+ "maximumWorkspaceBytes": 21474836480,
27
+ "maximumWorkspaceEntries": 100000
28
+ }
29
+ },
30
+ "permissions": {
31
+ "source": "read",
32
+ "artifacts": "none",
33
+ "caches": "read-write",
34
+ "images": "push"
35
+ },
36
+ "network": {
37
+ "mode": "egress",
38
+ "allow": [
39
+ {
40
+ "host": "registry.npmjs.org",
41
+ "ports": [443]
42
+ }
43
+ ]
44
+ },
45
+ "build": {
46
+ "context": ".",
47
+ "dockerfile": "Dockerfile",
48
+ "target": "production",
49
+ "buildArgs": {
50
+ "NODE_ENV": "production"
51
+ },
52
+ "secrets": [
53
+ {
54
+ "id": "npmrc",
55
+ "environment": "NPM_TOKEN"
56
+ }
57
+ ],
58
+ "labels": {
59
+ "org.opencontainers.image.revision": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
60
+ "org.opencontainers.image.source": "https://code.foss.global/example/app",
61
+ "org.opencontainers.image.title": "app"
62
+ },
63
+ "baseImages": [
64
+ {
65
+ "name": "base",
66
+ "image": {
67
+ "candidate": "base-image"
68
+ }
69
+ }
70
+ ]
71
+ },
72
+ "source": {
73
+ "format": "tar.gz",
74
+ "sha256": "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
75
+ "sizeBytes": 1024,
76
+ "extractedSizeBytes": 4096,
77
+ "entryCount": 4
78
+ },
79
+ "secrets": {
80
+ "NPM_TOKEN": "resolved-secret-value"
81
+ },
82
+ "timeoutMs": 3600000,
83
+ "resources": {
84
+ "memoryBytes": 8589934592,
85
+ "cpus": 4,
86
+ "pids": 4096
87
+ },
88
+ "artifacts": [],
89
+ "caches": [
90
+ {
91
+ "name": "buildkit",
92
+ "key": "buildkit-linux-arm64",
93
+ "access": "read-write",
94
+ "maximumBytes": 4294967296,
95
+ "maximumExtractedBytes": 17179869184,
96
+ "maximumEntries": 1000000,
97
+ "retentionDays": 14
98
+ }
99
+ ]
100
+ }
@@ -0,0 +1,111 @@
1
+ {
2
+ "spec": "2.0.0",
3
+ "sourceObjectId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
4
+ "workflowDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
5
+ "compiledPlanDigest": "5719e536fd6f24cc140c204427d4c44cd2000102de76902bb3f2c80314e8db1e",
6
+ "requirements": {
7
+ "executionProfile": "oci-image",
8
+ "isolation": "microvm",
9
+ "platform": "linux/arm64",
10
+ "labels": ["builder"],
11
+ "features": ["source.tar-gz", "caches"],
12
+ "limits": {
13
+ "maximumSourceArchiveBytes": 1048576,
14
+ "maximumSourceExtractedBytes": 4194304,
15
+ "maximumSourceEntries": 1000,
16
+ "maximumArtifactArchiveBytes": 0,
17
+ "maximumArtifactExtractedBytes": 0,
18
+ "maximumArtifactEntries": 0,
19
+ "maximumArtifacts": 0,
20
+ "maximumCacheArchiveBytes": 4294967296,
21
+ "maximumCacheExtractedBytes": 17179869184,
22
+ "maximumCacheEntries": 1000000,
23
+ "maximumCaches": 1,
24
+ "maximumLogChunkBytes": 65536,
25
+ "maximumTotalLogBytes": 10485760,
26
+ "maximumWorkspaceBytes": 21474836480,
27
+ "maximumWorkspaceEntries": 100000
28
+ }
29
+ },
30
+ "permissions": {
31
+ "source": "read",
32
+ "artifacts": "none",
33
+ "caches": "read-write",
34
+ "images": "push"
35
+ },
36
+ "network": {
37
+ "mode": "egress",
38
+ "allow": [
39
+ {
40
+ "host": "registry.npmjs.org",
41
+ "ports": [443]
42
+ }
43
+ ]
44
+ },
45
+ "build": {
46
+ "context": ".",
47
+ "dockerfile": "Dockerfile",
48
+ "target": "production",
49
+ "buildArgs": {
50
+ "NODE_ENV": "production"
51
+ },
52
+ "secrets": [
53
+ {
54
+ "id": "npmrc",
55
+ "environment": "NPM_TOKEN"
56
+ }
57
+ ],
58
+ "labels": {
59
+ "org.opencontainers.image.revision": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
60
+ "org.opencontainers.image.source": "https://code.foss.global/example/app",
61
+ "org.opencontainers.image.title": "app"
62
+ },
63
+ "baseImages": [
64
+ {
65
+ "name": "base",
66
+ "image": {
67
+ "candidate": "base-image"
68
+ }
69
+ }
70
+ ]
71
+ },
72
+ "source": {
73
+ "format": "tar.gz",
74
+ "sha256": "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
75
+ "sizeBytes": 1024,
76
+ "extractedSizeBytes": 4096,
77
+ "entryCount": 4
78
+ },
79
+ "secrets": {
80
+ "NPM_TOKEN": "resolved-secret-value"
81
+ },
82
+ "timeoutMs": 3600000,
83
+ "resources": {
84
+ "memoryBytes": 8589934592,
85
+ "cpus": 4,
86
+ "pids": 4096
87
+ },
88
+ "artifacts": [],
89
+ "caches": [
90
+ {
91
+ "name": "buildkit",
92
+ "key": "buildkit-linux-arm64",
93
+ "access": "read-write",
94
+ "maximumBytes": 4294967296,
95
+ "maximumExtractedBytes": 17179869184,
96
+ "maximumEntries": 1000000,
97
+ "retentionDays": 14
98
+ }
99
+ ],
100
+ "steps": [
101
+ {
102
+ "name": "Test",
103
+ "command": ["pnpm", "test"],
104
+ "environment": {
105
+ "CI": "true",
106
+ "SHIPZONE_CI_INPUTS_JSON": "{}",
107
+ "SHIPZONE_CI_MATRIX_JSON": "{}"
108
+ }
109
+ }
110
+ ]
111
+ }
@@ -0,0 +1,100 @@
1
+ {
2
+ "spec": "2.0.0",
3
+ "sourceObjectId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
4
+ "workflowDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
5
+ "compiledPlanDigest": "87aa596af3f1cb362972ae8f106cb30aed3060c7d34ea112a17308c6ec823978",
6
+ "requirements": {
7
+ "executionProfile": "oci-image",
8
+ "isolation": "container",
9
+ "platform": "linux/arm64",
10
+ "labels": ["builder"],
11
+ "features": ["source.tar-gz", "caches"],
12
+ "limits": {
13
+ "maximumSourceArchiveBytes": 1048576,
14
+ "maximumSourceExtractedBytes": 4194304,
15
+ "maximumSourceEntries": 1000,
16
+ "maximumArtifactArchiveBytes": 0,
17
+ "maximumArtifactExtractedBytes": 0,
18
+ "maximumArtifactEntries": 0,
19
+ "maximumArtifacts": 0,
20
+ "maximumCacheArchiveBytes": 4294967296,
21
+ "maximumCacheExtractedBytes": 17179869184,
22
+ "maximumCacheEntries": 1000000,
23
+ "maximumCaches": 1,
24
+ "maximumLogChunkBytes": 65536,
25
+ "maximumTotalLogBytes": 10485760,
26
+ "maximumWorkspaceBytes": 21474836480,
27
+ "maximumWorkspaceEntries": 100000
28
+ }
29
+ },
30
+ "permissions": {
31
+ "source": "read",
32
+ "artifacts": "none",
33
+ "caches": "read-write",
34
+ "images": "push"
35
+ },
36
+ "network": {
37
+ "mode": "egress",
38
+ "allow": [
39
+ {
40
+ "host": "registry.npmjs.org",
41
+ "ports": [443]
42
+ }
43
+ ]
44
+ },
45
+ "build": {
46
+ "context": ".",
47
+ "dockerfile": "Dockerfile",
48
+ "target": "production",
49
+ "buildArgs": {
50
+ "NODE_ENV": "production"
51
+ },
52
+ "secrets": [
53
+ {
54
+ "id": "npmrc",
55
+ "environment": "NPM_TOKEN"
56
+ }
57
+ ],
58
+ "labels": {
59
+ "org.opencontainers.image.revision": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
60
+ "org.opencontainers.image.source": "https://code.foss.global/example/app",
61
+ "org.opencontainers.image.title": "app"
62
+ },
63
+ "baseImages": [
64
+ {
65
+ "name": "base",
66
+ "image": {
67
+ "candidate": "base-image"
68
+ }
69
+ }
70
+ ]
71
+ },
72
+ "source": {
73
+ "format": "tar.gz",
74
+ "sha256": "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
75
+ "sizeBytes": 1024,
76
+ "extractedSizeBytes": 4096,
77
+ "entryCount": 4
78
+ },
79
+ "secrets": {
80
+ "NPM_TOKEN": "resolved-secret-value"
81
+ },
82
+ "timeoutMs": 3600000,
83
+ "resources": {
84
+ "memoryBytes": 8589934592,
85
+ "cpus": 4,
86
+ "pids": 4096
87
+ },
88
+ "artifacts": [],
89
+ "caches": [
90
+ {
91
+ "name": "buildkit",
92
+ "key": "buildkit-linux-arm64",
93
+ "access": "read-write",
94
+ "maximumBytes": 4294967296,
95
+ "maximumExtractedBytes": 17179869184,
96
+ "maximumEntries": 1000000,
97
+ "retentionDays": 14
98
+ }
99
+ ]
100
+ }
@@ -0,0 +1,71 @@
1
+ {
2
+ "spec": "2.0.0",
3
+ "sourceObjectId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
4
+ "workflowDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
5
+ "compiledPlanDigest": "618bd87f94571d7ea4dbbe7f34c666418b292c0f8d6ef7a9c45879e5cf826c73",
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": 268435456,
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
+ "execution": {
40
+ "profile": "oci",
41
+ "image": "registry.example/ci@sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
42
+ "workingDirectory": "/workspace"
43
+ },
44
+ "steps": [
45
+ {
46
+ "name": "Test",
47
+ "command": ["pnpm", "test"],
48
+ "environment": {
49
+ "CI": "true",
50
+ "SHIPZONE_CI_INPUTS_JSON": "{}",
51
+ "SHIPZONE_CI_MATRIX_JSON": "{}"
52
+ }
53
+ }
54
+ ],
55
+ "source": {
56
+ "format": "tar.gz",
57
+ "sha256": "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
58
+ "sizeBytes": 1024,
59
+ "extractedSizeBytes": 4096,
60
+ "entryCount": 4
61
+ },
62
+ "secrets": {},
63
+ "timeoutMs": 60000,
64
+ "resources": {
65
+ "memoryBytes": 268435456,
66
+ "cpus": 1,
67
+ "pids": 256
68
+ },
69
+ "artifacts": [],
70
+ "caches": []
71
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "spec": "2.0.0",
3
+ "sourceObjectId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
4
+ "workflowDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
5
+ "compiledPlanDigest": "4387ae2f2e4f8774abbb57b8228dc9cfbd63fcc43e23e2700ace899bd1c12597",
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": 268435456,
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:latest",
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
+ },
68
+ "artifacts": [],
69
+ "caches": []
70
+ }
@@ -0,0 +1,82 @@
1
+ {
2
+ "spec": "2.0.0",
3
+ "sourceObjectId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
4
+ "workflowDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
5
+ "compiledPlanDigest": "fc2468137008105a9275dcbeb416e3c37fe7e488c62bb2a7f1b5db05c233f934",
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
+ "NPM_CONFIG_USERCONFIG": "/workspace/.npmrc"
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
+ "npmRead": [
75
+ {
76
+ "registry": "https://npm.example.com",
77
+ "scopes": ["@example_private"]
78
+ }
79
+ ],
80
+ "artifacts": [],
81
+ "caches": []
82
+ }
@@ -0,0 +1,71 @@
1
+ {
2
+ "spec": "2.0.0",
3
+ "sourceObjectId": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
4
+ "workflowDigest": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
5
+ "compiledPlanDigest": "8049da196596fd8ccbecca9080696339c0f43b8c25f467c085e44014cef15623",
6
+ "requirements": {
7
+ "executionProfile": "oci",
8
+ "isolation": "container",
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": 268435456,
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": "oci",
41
+ "image": "registry.example/ci@sha256:dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
42
+ "workingDirectory": "/workspace"
43
+ },
44
+ "steps": [
45
+ {
46
+ "name": "Test",
47
+ "command": ["pnpm", "test"],
48
+ "environment": {
49
+ "CI": "true",
50
+ "SHIPZONE_CI_INPUTS_JSON": "{}",
51
+ "SHIPZONE_CI_MATRIX_JSON": "{}"
52
+ }
53
+ }
54
+ ],
55
+ "source": {
56
+ "format": "tar.gz",
57
+ "sha256": "eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
58
+ "sizeBytes": 1024,
59
+ "extractedSizeBytes": 4096,
60
+ "entryCount": 4
61
+ },
62
+ "secrets": {},
63
+ "timeoutMs": 60000,
64
+ "resources": {
65
+ "memoryBytes": 268435456,
66
+ "cpus": 1,
67
+ "pids": 256
68
+ },
69
+ "artifacts": [],
70
+ "caches": []
71
+ }