@starci/hfs 5.0.5 → 5.0.6
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/CHANGELOG.md +6 -0
- package/README.md +22 -2
- package/cache/session.mjs +1 -1
- package/cache/test-family.d.mts +1 -1
- package/cache/test-family.mjs +15 -7
- package/ci/cli.d.mts +7 -1
- package/ci/cli.mjs +37 -6
- package/ci/github.d.mts +1 -0
- package/ci/secret.d.mts +10 -1
- package/ci/secret.mjs +26 -6
- package/ci/verify.d.mts +9 -1
- package/ci/verify.mjs +5 -3
- package/package.json +1 -1
- package/release/candidate-ci.mjs +1 -1
- package/release/gate.d.mts +1 -0
- package/release/gate.mjs +76 -18
- package/release/index.d.mts +1 -1
- package/release/index.mjs +7 -3
- package/runtime/knowledge/hfs/canon-pins.yaml +6 -6
- package/runtime/knowledge/hfs/rules.yaml +2 -2
- package/runtime/modules/kernel/failure-codes.yaml +4 -4
- package/runtime/modules/schemas/application-stacks.schema.yaml +10 -7
- package/runtime/scripts/gates/starcistacks-ci.mjs +3 -1
- package/runtime/scripts/gates/starcistacks-form.d.mts +1 -0
- package/runtime/scripts/gates/starcistacks.d.mts +1 -0
- package/runtime/scripts/gates/starcistacks.mjs +22 -10
- package/runtime/scripts/hfs/architecture/contract-bounds.d.mts +3 -0
- package/runtime/scripts/hfs/architecture/contract-bounds.mjs +72 -0
- package/runtime/scripts/hfs/architecture/index.mjs +1 -1
- package/runtime/scripts/hfs/architecture/tiers.d.mts +2 -1
- package/runtime/scripts/hfs/architecture/tiers.mjs +45 -4
- package/runtime/scripts/hfs/ci-declaration.d.mts +47 -1
- package/runtime/scripts/hfs/ci-declaration.mjs +115 -3
- package/runtime/scripts/hfs/repo-identity.d.mts +5 -1
- package/runtime/scripts/hfs/repo-identity.mjs +15 -10
- package/runtime/scripts/hfs/rules/ci-custody.mjs +21 -32
- package/runtime/scripts/hfs/rules/env-parity.mjs +15 -6
- package/runtime/scripts/hfs/secret-standard.d.mts +1 -0
- package/runtime/scripts/hfs/secret-standard.mjs +25 -4
- package/runtime/scripts/hfs/secret-store.d.mts +5 -0
- package/runtime/scripts/hfs/secret-store.mjs +31 -0
- package/src/main.mjs +1 -1
- package/sync/ci-commands.mjs +2 -1
- package/sync/quality-services.mjs +3 -2
- package/sync/readme-badges.mjs +1 -1
- package/sync/sonar-key.d.mts +2 -3
- package/sync/sonar-key.mjs +7 -14
- package/templates/app/skeleton/.starcistacks/application-stacks.yaml +7 -3
- package/templates/app/skeleton-lite/.starcistacks/application-stacks.yaml +7 -3
|
@@ -181,11 +181,15 @@ services:
|
|
|
181
181
|
environment: dev
|
|
182
182
|
compose: compose.yaml
|
|
183
183
|
auth: token
|
|
184
|
-
credentials:
|
|
184
|
+
credentials:
|
|
185
|
+
- id: analysis
|
|
186
|
+
project: "{{project}}"
|
|
187
|
+
key: SONAR_TOKEN
|
|
188
|
+
custody: {repository: "{{project}}", path: .starcistacks/dev/secrets/sonar.enc.yaml}
|
|
185
189
|
projects: [{repository: "{{project}}", key: "{{project}}"}]
|
|
186
|
-
ci: {wiring: required, workflow: .github/workflows/ci.yml, token: SONAR_TOKEN, hostVar: SONAR_HOST_URL}
|
|
190
|
+
ci: {wiring: required, workflow: .github/workflows/ci.yml, token: SONAR_TOKEN, hostVar: SONAR_HOST_URL, secrets: [{name: SONAR_TOKEN, credential: analysis}]}
|
|
187
191
|
ownerAction:
|
|
188
|
-
needed:
|
|
192
|
+
needed: Declare this app's connection profile and project credential with its actual sealed member/key and project reference, seal it through starci app secret, bind ci.secrets to that credential, then set the CI execution copy with starci app ci secret set SONAR_TOKEN --from-custody --execute and sync SONAR_HOST_URL.
|
|
189
193
|
reason: A fresh app declares its quality service without fabricating credentials or a successful analysis.
|
|
190
194
|
codecov:
|
|
191
195
|
provider: codecov
|
|
@@ -270,11 +270,15 @@ services:
|
|
|
270
270
|
environment: dev
|
|
271
271
|
compose: compose.yaml
|
|
272
272
|
auth: token
|
|
273
|
-
credentials:
|
|
273
|
+
credentials:
|
|
274
|
+
- id: analysis
|
|
275
|
+
project: "{{project}}"
|
|
276
|
+
key: SONAR_TOKEN
|
|
277
|
+
custody: {repository: "{{project}}", path: .starcistacks/dev/secrets/sonar.enc.yaml}
|
|
274
278
|
projects: [{repository: "{{project}}", key: "{{project}}"}]
|
|
275
|
-
ci: {wiring: required, workflow: .github/workflows/ci.yml, token: SONAR_TOKEN, hostVar: SONAR_HOST_URL}
|
|
279
|
+
ci: {wiring: required, workflow: .github/workflows/ci.yml, token: SONAR_TOKEN, hostVar: SONAR_HOST_URL, secrets: [{name: SONAR_TOKEN, credential: analysis}]}
|
|
276
280
|
ownerAction:
|
|
277
|
-
needed:
|
|
281
|
+
needed: Declare this app's connection profile and project credential with its actual sealed member/key and project reference, seal it through starci app secret, bind ci.secrets to that credential, then set the CI execution copy with starci app ci secret set SONAR_TOKEN --from-custody --execute and sync SONAR_HOST_URL.
|
|
278
282
|
reason: A fresh app declares its quality service without fabricating credentials or a successful analysis.
|
|
279
283
|
codecov:
|
|
280
284
|
provider: codecov
|