@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,50 @@
|
|
|
1
|
+
spec: 2.0.0
|
|
2
|
+
on:
|
|
3
|
+
tag:
|
|
4
|
+
tags:
|
|
5
|
+
- v*
|
|
6
|
+
permissions:
|
|
7
|
+
source: read
|
|
8
|
+
artifacts: write
|
|
9
|
+
caches: none
|
|
10
|
+
images: none
|
|
11
|
+
npm: publish
|
|
12
|
+
releaseAssets: publish
|
|
13
|
+
jobs:
|
|
14
|
+
pack:
|
|
15
|
+
runner:
|
|
16
|
+
profile: oci
|
|
17
|
+
labels:
|
|
18
|
+
- linux
|
|
19
|
+
execution:
|
|
20
|
+
profile: oci
|
|
21
|
+
image: registry.example/ci/node@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
22
|
+
steps:
|
|
23
|
+
- run:
|
|
24
|
+
- pnpm
|
|
25
|
+
- pack
|
|
26
|
+
artifacts:
|
|
27
|
+
- name: package
|
|
28
|
+
path: .nogit/package
|
|
29
|
+
when: success
|
|
30
|
+
required: true
|
|
31
|
+
maximumBytes: 104857600
|
|
32
|
+
maximumExtractedBytes: 104857600
|
|
33
|
+
maximumEntries: 1
|
|
34
|
+
publish:
|
|
35
|
+
order:
|
|
36
|
+
- npm
|
|
37
|
+
- npm
|
|
38
|
+
- releaseAssets
|
|
39
|
+
npm:
|
|
40
|
+
- artifact:
|
|
41
|
+
job: pack
|
|
42
|
+
name: package
|
|
43
|
+
registries:
|
|
44
|
+
- https://registry.npmjs.org
|
|
45
|
+
access: public
|
|
46
|
+
distTag: latest
|
|
47
|
+
releaseAssets:
|
|
48
|
+
- artifact:
|
|
49
|
+
job: pack
|
|
50
|
+
name: package
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
spec: 2.0.0
|
|
2
|
+
on:
|
|
3
|
+
tag:
|
|
4
|
+
tags:
|
|
5
|
+
- v*
|
|
6
|
+
permissions:
|
|
7
|
+
source: read
|
|
8
|
+
artifacts: write
|
|
9
|
+
caches: none
|
|
10
|
+
images: none
|
|
11
|
+
npm: publish
|
|
12
|
+
releaseAssets: publish
|
|
13
|
+
jobs:
|
|
14
|
+
pack:
|
|
15
|
+
runner:
|
|
16
|
+
profile: oci
|
|
17
|
+
labels:
|
|
18
|
+
- linux
|
|
19
|
+
execution:
|
|
20
|
+
profile: oci
|
|
21
|
+
image: registry.example/ci/node@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
22
|
+
steps:
|
|
23
|
+
- run:
|
|
24
|
+
- pnpm
|
|
25
|
+
- pack
|
|
26
|
+
artifacts:
|
|
27
|
+
- name: package
|
|
28
|
+
path: .nogit/package
|
|
29
|
+
when: success
|
|
30
|
+
required: true
|
|
31
|
+
maximumBytes: 104857600
|
|
32
|
+
maximumExtractedBytes: 104857600
|
|
33
|
+
maximumEntries: 1
|
|
34
|
+
publish:
|
|
35
|
+
order:
|
|
36
|
+
- releaseAssets
|
|
37
|
+
npm:
|
|
38
|
+
- artifact:
|
|
39
|
+
job: pack
|
|
40
|
+
name: package
|
|
41
|
+
registries:
|
|
42
|
+
- https://registry.npmjs.org
|
|
43
|
+
access: public
|
|
44
|
+
distTag: latest
|
|
45
|
+
releaseAssets:
|
|
46
|
+
- artifact:
|
|
47
|
+
job: pack
|
|
48
|
+
name: package
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
spec: 2.0.0
|
|
2
|
+
on:
|
|
3
|
+
tag:
|
|
4
|
+
tags:
|
|
5
|
+
- v*
|
|
6
|
+
permissions:
|
|
7
|
+
source: read
|
|
8
|
+
artifacts: write
|
|
9
|
+
caches: none
|
|
10
|
+
images: none
|
|
11
|
+
npm: publish
|
|
12
|
+
releaseAssets: none
|
|
13
|
+
jobs:
|
|
14
|
+
pack:
|
|
15
|
+
runner:
|
|
16
|
+
profile: oci
|
|
17
|
+
labels:
|
|
18
|
+
- linux
|
|
19
|
+
execution:
|
|
20
|
+
profile: oci
|
|
21
|
+
image: registry.example/ci/node@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
22
|
+
steps:
|
|
23
|
+
- run:
|
|
24
|
+
- pnpm
|
|
25
|
+
- pack
|
|
26
|
+
artifacts:
|
|
27
|
+
- name: package
|
|
28
|
+
path: .nogit/package
|
|
29
|
+
when: success
|
|
30
|
+
required: true
|
|
31
|
+
maximumBytes: 104857600
|
|
32
|
+
maximumExtractedBytes: 104857600
|
|
33
|
+
maximumEntries: 1
|
|
34
|
+
publish:
|
|
35
|
+
order:
|
|
36
|
+
- npm
|
|
37
|
+
- images
|
|
38
|
+
npm:
|
|
39
|
+
- artifact:
|
|
40
|
+
job: pack
|
|
41
|
+
name: package
|
|
42
|
+
registries:
|
|
43
|
+
- https://registry.npmjs.org
|
|
44
|
+
access: public
|
|
45
|
+
distTag: latest
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
spec: 2.0.0
|
|
2
|
+
on:
|
|
3
|
+
tag:
|
|
4
|
+
tags:
|
|
5
|
+
- v*
|
|
6
|
+
permissions:
|
|
7
|
+
source: read
|
|
8
|
+
artifacts: none
|
|
9
|
+
caches: none
|
|
10
|
+
images: candidate
|
|
11
|
+
npm: none
|
|
12
|
+
releaseAssets: none
|
|
13
|
+
jobs:
|
|
14
|
+
image:
|
|
15
|
+
runner:
|
|
16
|
+
profile: oci-image
|
|
17
|
+
labels:
|
|
18
|
+
- builder
|
|
19
|
+
build:
|
|
20
|
+
context: .
|
|
21
|
+
dockerfile: Dockerfile
|
|
22
|
+
platforms:
|
|
23
|
+
- linux/amd64
|
|
24
|
+
publish:
|
|
25
|
+
images:
|
|
26
|
+
- candidate: image
|
|
27
|
+
destinations:
|
|
28
|
+
- registry: code.foss.global
|
|
29
|
+
repository: example/app
|
|
30
|
+
aliases:
|
|
31
|
+
- kind: version
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
spec: 2.0.0
|
|
2
|
+
on:
|
|
3
|
+
pullRequest:
|
|
4
|
+
targetBranches:
|
|
5
|
+
- main
|
|
6
|
+
permissions:
|
|
7
|
+
source: read
|
|
8
|
+
artifacts: none
|
|
9
|
+
caches: none
|
|
10
|
+
images: publish
|
|
11
|
+
npm: none
|
|
12
|
+
releaseAssets: none
|
|
13
|
+
jobs:
|
|
14
|
+
image:
|
|
15
|
+
runner:
|
|
16
|
+
profile: oci-image
|
|
17
|
+
labels:
|
|
18
|
+
- builder
|
|
19
|
+
build:
|
|
20
|
+
context: .
|
|
21
|
+
dockerfile: Dockerfile
|
|
22
|
+
platforms:
|
|
23
|
+
- linux/amd64
|
|
24
|
+
publish:
|
|
25
|
+
images:
|
|
26
|
+
- candidate: image
|
|
27
|
+
destinations:
|
|
28
|
+
- registry: code.foss.global
|
|
29
|
+
repository: example/app
|
|
30
|
+
aliases:
|
|
31
|
+
- kind: version
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
spec: 2.0.0
|
|
2
|
+
on:
|
|
3
|
+
tag:
|
|
4
|
+
tags:
|
|
5
|
+
- v*
|
|
6
|
+
permissions:
|
|
7
|
+
source: read
|
|
8
|
+
artifacts: write
|
|
9
|
+
caches: none
|
|
10
|
+
images: none
|
|
11
|
+
npm: publish
|
|
12
|
+
releaseAssets: none
|
|
13
|
+
jobs:
|
|
14
|
+
pack:
|
|
15
|
+
runner:
|
|
16
|
+
profile: oci
|
|
17
|
+
labels:
|
|
18
|
+
- linux
|
|
19
|
+
execution:
|
|
20
|
+
profile: oci
|
|
21
|
+
image: registry.example/ci/node@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
22
|
+
steps:
|
|
23
|
+
- run:
|
|
24
|
+
- pnpm
|
|
25
|
+
- pack
|
|
26
|
+
artifacts:
|
|
27
|
+
- name: package
|
|
28
|
+
path: .nogit/package
|
|
29
|
+
when: success
|
|
30
|
+
required: true
|
|
31
|
+
maximumBytes: 104857600
|
|
32
|
+
maximumExtractedBytes: 104857600
|
|
33
|
+
maximumEntries: 1
|
|
34
|
+
publish:
|
|
35
|
+
releaseNotes:
|
|
36
|
+
artifact:
|
|
37
|
+
job: pack
|
|
38
|
+
name: package
|
|
39
|
+
npm:
|
|
40
|
+
- artifact:
|
|
41
|
+
job: pack
|
|
42
|
+
name: package
|
|
43
|
+
registries:
|
|
44
|
+
- https://registry.npmjs.org
|
|
45
|
+
access: public
|
|
46
|
+
distTag: latest
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
spec: 2.0.0
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- main
|
|
6
|
+
permissions:
|
|
7
|
+
source: read
|
|
8
|
+
artifacts: none
|
|
9
|
+
caches: none
|
|
10
|
+
images: candidate
|
|
11
|
+
npm: none
|
|
12
|
+
releaseAssets: none
|
|
13
|
+
jobs:
|
|
14
|
+
image:
|
|
15
|
+
runner:
|
|
16
|
+
profile: oci-image
|
|
17
|
+
labels:
|
|
18
|
+
- builder
|
|
19
|
+
build:
|
|
20
|
+
context: .
|
|
21
|
+
dockerfile: Dockerfile
|
|
22
|
+
platforms:
|
|
23
|
+
- linux/amd64
|
|
24
|
+
labels:
|
|
25
|
+
zone.ship.ci.run: "1"
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
spec: 2.0.0
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- main
|
|
6
|
+
permissions:
|
|
7
|
+
source: read
|
|
8
|
+
artifacts: none
|
|
9
|
+
caches: none
|
|
10
|
+
images: candidate
|
|
11
|
+
npm: none
|
|
12
|
+
releaseAssets: none
|
|
13
|
+
jobs:
|
|
14
|
+
image:
|
|
15
|
+
runner:
|
|
16
|
+
profile: oci-image
|
|
17
|
+
labels:
|
|
18
|
+
- builder
|
|
19
|
+
build:
|
|
20
|
+
context: .
|
|
21
|
+
dockerfile: Dockerfile
|
|
22
|
+
platforms:
|
|
23
|
+
- linux/amd64
|
|
24
|
+
labels:
|
|
25
|
+
org.opencontainers.image.revision: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
spec: 2.0.0
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- main
|
|
6
|
+
pullRequest:
|
|
7
|
+
targetBranches:
|
|
8
|
+
- main
|
|
9
|
+
manual: {}
|
|
10
|
+
permissions:
|
|
11
|
+
source: read
|
|
12
|
+
artifacts: write
|
|
13
|
+
caches: read-write
|
|
14
|
+
images: none
|
|
15
|
+
npm: none
|
|
16
|
+
releaseAssets: none
|
|
17
|
+
concurrency:
|
|
18
|
+
group: test
|
|
19
|
+
cancelInProgress: false
|
|
20
|
+
jobs:
|
|
21
|
+
test:
|
|
22
|
+
runner:
|
|
23
|
+
profile: oci
|
|
24
|
+
labels:
|
|
25
|
+
- linux
|
|
26
|
+
execution:
|
|
27
|
+
profile: oci
|
|
28
|
+
image: registry.example/test@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
29
|
+
steps:
|
|
30
|
+
- run:
|
|
31
|
+
- pnpm
|
|
32
|
+
- test
|
|
33
|
+
artifacts:
|
|
34
|
+
- name: test-results
|
|
35
|
+
path: .nogit/testlogs
|
|
36
|
+
when: failure
|
|
37
|
+
required: false
|
|
38
|
+
maximumBytes: 104857600
|
|
39
|
+
maximumExtractedBytes: 524288000
|
|
40
|
+
maximumEntries: 10000
|
|
41
|
+
caches:
|
|
42
|
+
- name: pnpm
|
|
43
|
+
key: pnpm-store
|
|
44
|
+
paths:
|
|
45
|
+
- .pnpm-store
|
|
46
|
+
access: read-write
|
|
47
|
+
maximumBytes: 1073741824
|
|
48
|
+
maximumExtractedBytes: 4294967296
|
|
49
|
+
maximumEntries: 100000
|
|
50
|
+
build:
|
|
51
|
+
needs:
|
|
52
|
+
- test
|
|
53
|
+
runner:
|
|
54
|
+
profile: oci
|
|
55
|
+
labels:
|
|
56
|
+
- linux
|
|
57
|
+
execution:
|
|
58
|
+
profile: oci
|
|
59
|
+
image: registry.example/test@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
60
|
+
timeoutMs: 86400000
|
|
61
|
+
steps:
|
|
62
|
+
- run:
|
|
63
|
+
- pnpm
|
|
64
|
+
- build
|
|
65
|
+
artifacts:
|
|
66
|
+
- name: dist
|
|
67
|
+
path: dist
|
|
68
|
+
when: success
|
|
69
|
+
required: true
|
|
70
|
+
maximumBytes: 104857600
|
|
71
|
+
maximumExtractedBytes: 524288000
|
|
72
|
+
maximumEntries: 10000
|
|
73
|
+
retentionDays: 3650
|
|
74
|
+
caches:
|
|
75
|
+
- name: pnpm
|
|
76
|
+
key: pnpm-store
|
|
77
|
+
paths:
|
|
78
|
+
- .pnpm-store
|
|
79
|
+
access: read
|
|
80
|
+
maximumBytes: 1073741824
|
|
81
|
+
maximumExtractedBytes: 4294967296
|
|
82
|
+
maximumEntries: 100000
|
|
83
|
+
retentionDays: 3651
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
spec: 2.0.0
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- main
|
|
6
|
+
pullRequest:
|
|
7
|
+
targetBranches:
|
|
8
|
+
- main
|
|
9
|
+
manual: {}
|
|
10
|
+
permissions:
|
|
11
|
+
source: read
|
|
12
|
+
artifacts: write
|
|
13
|
+
caches: read-write
|
|
14
|
+
images: none
|
|
15
|
+
npm: none
|
|
16
|
+
releaseAssets: none
|
|
17
|
+
concurrency:
|
|
18
|
+
group: test
|
|
19
|
+
cancelInProgress: false
|
|
20
|
+
jobs:
|
|
21
|
+
test:
|
|
22
|
+
runner:
|
|
23
|
+
profile: oci
|
|
24
|
+
labels:
|
|
25
|
+
- linux
|
|
26
|
+
execution:
|
|
27
|
+
profile: oci
|
|
28
|
+
image: registry.example/test@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
29
|
+
steps:
|
|
30
|
+
- run:
|
|
31
|
+
- pnpm
|
|
32
|
+
- test
|
|
33
|
+
artifacts:
|
|
34
|
+
- name: test-results
|
|
35
|
+
path: .nogit/testlogs
|
|
36
|
+
when: failure
|
|
37
|
+
required: false
|
|
38
|
+
maximumBytes: 104857600
|
|
39
|
+
maximumExtractedBytes: 524288000
|
|
40
|
+
maximumEntries: 10000
|
|
41
|
+
caches:
|
|
42
|
+
- name: pnpm
|
|
43
|
+
key: pnpm-store
|
|
44
|
+
paths:
|
|
45
|
+
- .pnpm-store
|
|
46
|
+
access: read-write
|
|
47
|
+
maximumBytes: 1073741824
|
|
48
|
+
maximumExtractedBytes: 4294967296
|
|
49
|
+
maximumEntries: 100000
|
|
50
|
+
build:
|
|
51
|
+
needs:
|
|
52
|
+
- test
|
|
53
|
+
runner:
|
|
54
|
+
profile: oci
|
|
55
|
+
labels:
|
|
56
|
+
- linux
|
|
57
|
+
execution:
|
|
58
|
+
profile: oci
|
|
59
|
+
image: registry.example/test@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
60
|
+
timeoutMs: 86400000
|
|
61
|
+
steps:
|
|
62
|
+
- run:
|
|
63
|
+
- pnpm
|
|
64
|
+
- build
|
|
65
|
+
artifacts:
|
|
66
|
+
- name: dist
|
|
67
|
+
path: dist
|
|
68
|
+
when: success
|
|
69
|
+
required: true
|
|
70
|
+
maximumBytes: 104857600
|
|
71
|
+
maximumExtractedBytes: 524288000
|
|
72
|
+
maximumEntries: 10000
|
|
73
|
+
retentionDays: 0
|
|
74
|
+
caches:
|
|
75
|
+
- name: pnpm
|
|
76
|
+
key: pnpm-store
|
|
77
|
+
paths:
|
|
78
|
+
- .pnpm-store
|
|
79
|
+
access: read
|
|
80
|
+
maximumBytes: 1073741824
|
|
81
|
+
maximumExtractedBytes: 4294967296
|
|
82
|
+
maximumEntries: 100000
|
|
83
|
+
retentionDays: 1
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
schemaVersion: 1
|
|
2
|
+
spec: 2.0.0
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
permissions:
|
|
8
|
+
source: read
|
|
9
|
+
artifacts: none
|
|
10
|
+
caches: none
|
|
11
|
+
images: none
|
|
12
|
+
npm: none
|
|
13
|
+
releaseAssets: none
|
|
14
|
+
jobs:
|
|
15
|
+
test:
|
|
16
|
+
runner:
|
|
17
|
+
profile: oci
|
|
18
|
+
labels:
|
|
19
|
+
- linux
|
|
20
|
+
execution:
|
|
21
|
+
profile: oci
|
|
22
|
+
image: registry.example/test@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
23
|
+
steps:
|
|
24
|
+
- run:
|
|
25
|
+
- pnpm
|
|
26
|
+
- test
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
spec: 2.0.0
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- main
|
|
6
|
+
permissions:
|
|
7
|
+
source: read
|
|
8
|
+
artifacts: none
|
|
9
|
+
caches: none
|
|
10
|
+
images: none
|
|
11
|
+
npm: none
|
|
12
|
+
releaseAssets: none
|
|
13
|
+
jobs:
|
|
14
|
+
test:
|
|
15
|
+
runner:
|
|
16
|
+
profile: oci
|
|
17
|
+
labels:
|
|
18
|
+
- linux
|
|
19
|
+
execution:
|
|
20
|
+
profile: oci
|
|
21
|
+
image: registry.example/ci/node@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
22
|
+
resources:
|
|
23
|
+
memoryBytes: 1073741824
|
|
24
|
+
sharedMemoryBytes: 1024
|
|
25
|
+
steps:
|
|
26
|
+
- run:
|
|
27
|
+
- pnpm
|
|
28
|
+
- test
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
spec: 2.0.0
|
|
2
|
+
on:
|
|
3
|
+
push: {}
|
|
4
|
+
permissions:
|
|
5
|
+
source: read
|
|
6
|
+
artifacts: none
|
|
7
|
+
caches: none
|
|
8
|
+
images: none
|
|
9
|
+
npm: none
|
|
10
|
+
releaseAssets: none
|
|
11
|
+
jobs:
|
|
12
|
+
test:
|
|
13
|
+
runner:
|
|
14
|
+
profile: oci
|
|
15
|
+
labels:
|
|
16
|
+
- linux
|
|
17
|
+
execution:
|
|
18
|
+
profile: oci
|
|
19
|
+
image: registry.example/test@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
20
|
+
steps:
|
|
21
|
+
- run: pnpm test
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
spec: 2.0
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- main
|
|
6
|
+
permissions:
|
|
7
|
+
source: read
|
|
8
|
+
artifacts: none
|
|
9
|
+
caches: none
|
|
10
|
+
images: none
|
|
11
|
+
npm: none
|
|
12
|
+
releaseAssets: none
|
|
13
|
+
jobs:
|
|
14
|
+
test:
|
|
15
|
+
runner:
|
|
16
|
+
profile: oci
|
|
17
|
+
labels:
|
|
18
|
+
- linux
|
|
19
|
+
execution:
|
|
20
|
+
profile: oci
|
|
21
|
+
image: registry.example/test@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
22
|
+
steps:
|
|
23
|
+
- run:
|
|
24
|
+
- pnpm
|
|
25
|
+
- test
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
spec: 2.0.0-rc.1
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- main
|
|
6
|
+
permissions:
|
|
7
|
+
source: read
|
|
8
|
+
artifacts: none
|
|
9
|
+
caches: none
|
|
10
|
+
images: none
|
|
11
|
+
npm: none
|
|
12
|
+
releaseAssets: none
|
|
13
|
+
jobs:
|
|
14
|
+
test:
|
|
15
|
+
runner:
|
|
16
|
+
profile: oci
|
|
17
|
+
labels:
|
|
18
|
+
- linux
|
|
19
|
+
execution:
|
|
20
|
+
profile: oci
|
|
21
|
+
image: registry.example/test@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
22
|
+
steps:
|
|
23
|
+
- run:
|
|
24
|
+
- pnpm
|
|
25
|
+
- test
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
spec: ^2.0.0
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- main
|
|
6
|
+
permissions:
|
|
7
|
+
source: read
|
|
8
|
+
artifacts: none
|
|
9
|
+
caches: none
|
|
10
|
+
images: none
|
|
11
|
+
npm: none
|
|
12
|
+
releaseAssets: none
|
|
13
|
+
jobs:
|
|
14
|
+
test:
|
|
15
|
+
runner:
|
|
16
|
+
profile: oci
|
|
17
|
+
labels:
|
|
18
|
+
- linux
|
|
19
|
+
execution:
|
|
20
|
+
profile: oci
|
|
21
|
+
image: registry.example/test@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
22
|
+
steps:
|
|
23
|
+
- run:
|
|
24
|
+
- pnpm
|
|
25
|
+
- test
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
spec: 2.0.0
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- main
|
|
6
|
+
permissions:
|
|
7
|
+
source: read
|
|
8
|
+
artifacts: none
|
|
9
|
+
caches: none
|
|
10
|
+
images: none
|
|
11
|
+
npm: none
|
|
12
|
+
releaseAssets: none
|
|
13
|
+
jobs:
|
|
14
|
+
test:
|
|
15
|
+
runner:
|
|
16
|
+
profile: oci
|
|
17
|
+
labels:
|
|
18
|
+
- linux
|
|
19
|
+
execution:
|
|
20
|
+
profile: oci
|
|
21
|
+
image: registry.example/test@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
22
|
+
steps:
|
|
23
|
+
- run:
|
|
24
|
+
- pnpm
|
|
25
|
+
- test
|
|
26
|
+
timeoutMs: 86400001
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
spec: 2.0.0
|
|
2
|
+
on:
|
|
3
|
+
push:
|
|
4
|
+
branches:
|
|
5
|
+
- main
|
|
6
|
+
permissions:
|
|
7
|
+
source: read
|
|
8
|
+
artifacts: none
|
|
9
|
+
caches: none
|
|
10
|
+
images: none
|
|
11
|
+
npm: none
|
|
12
|
+
releaseAssets: none
|
|
13
|
+
jobs:
|
|
14
|
+
test:
|
|
15
|
+
runner:
|
|
16
|
+
profile: oci
|
|
17
|
+
labels:
|
|
18
|
+
- linux
|
|
19
|
+
execution:
|
|
20
|
+
profile: oci
|
|
21
|
+
image: registry.example/test@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
|
|
22
|
+
steps:
|
|
23
|
+
- run:
|
|
24
|
+
- pnpm
|
|
25
|
+
- test
|
|
26
|
+
timeoutMs: 999
|