Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
65340f76e7
|
||
|
|
8989aa1812
|
||
|
|
daefcc1ddf |
No files matched your search
+10
-53
@@ -1,57 +1,14 @@
|
||||
version: 2.1
|
||||
|
||||
setup: true
|
||||
orbs:
|
||||
qqq-orb: kingsrook/qqq-orb@0.3.1
|
||||
|
||||
qqq-orb: kingsrook/qqq-orb@0.8
|
||||
workflows:
|
||||
|
||||
test_only:
|
||||
setup:
|
||||
jobs:
|
||||
- qqq-orb/node_test_only:
|
||||
context: [ qqq-maven-registry-credentials, build-qqq-sample-app ]
|
||||
filters:
|
||||
branches:
|
||||
ignore: /(develop|main|release/.*|hotfix/.*|integration.*)/
|
||||
tags:
|
||||
only: []
|
||||
|
||||
publish_snapshot:
|
||||
jobs:
|
||||
- qqq-orb/node_publish:
|
||||
context: [ qqq-maven-registry-credentials, build-qqq-sample-app ]
|
||||
branch_type: snapshot
|
||||
filters:
|
||||
branches:
|
||||
only:
|
||||
- develop
|
||||
|
||||
publish_release_candidate:
|
||||
jobs:
|
||||
- qqq-orb/node_publish:
|
||||
context: [ qqq-maven-registry-credentials, build-qqq-sample-app ]
|
||||
branch_type: release_candidate
|
||||
filters:
|
||||
branches:
|
||||
only:
|
||||
- /release\/.*/
|
||||
|
||||
publish_release:
|
||||
jobs:
|
||||
- qqq-orb/node_publish:
|
||||
context: [ qqq-maven-registry-credentials, build-qqq-sample-app ]
|
||||
branch_type: release
|
||||
filters:
|
||||
branches:
|
||||
only: [ main ]
|
||||
tags:
|
||||
only: [ /v.*/ ]
|
||||
|
||||
publish_hotfix_release:
|
||||
jobs:
|
||||
- qqq-orb/node_publish:
|
||||
context: [ qqq-maven-registry-credentials, build-qqq-sample-app ]
|
||||
branch_type: hotfix
|
||||
filters:
|
||||
branches:
|
||||
only:
|
||||
- /hotfix\/.*/
|
||||
- qqq-orb/generate_pipeline:
|
||||
orb_version: '0.8'
|
||||
filters:
|
||||
branches:
|
||||
ignore: automation/qbit-rc-pending
|
||||
tags:
|
||||
only: /.*/
|
||||
@@ -0,0 +1,37 @@
|
||||
name: QRun original Node release
|
||||
on:
|
||||
push:
|
||||
branches: ['**']
|
||||
create:
|
||||
workflow_dispatch:
|
||||
# Thin caller default stays READ.
|
||||
permissions:
|
||||
contents: read
|
||||
actions: read
|
||||
jobs:
|
||||
release:
|
||||
# Tag creation bypasses the forge's [skip ci] push suppression. Push is branch-only, so a tag has one route.
|
||||
if: ${{ github.event_name != 'create' || (github.event.ref_type == 'tag' && github.event.ref == github.ref && (startsWith(github.ref, 'refs/tags/publish') || startsWith(github.ref, 'refs/tags/v'))) }}
|
||||
# Ceiling only: the callee's isolated version and cleanup jobs declare their own contents: write; every other callee job is READ.
|
||||
# No NPM_TOKEN, no OIDC, no registry secret is passed. Not rolled out to any caller.
|
||||
permissions:
|
||||
contents: write
|
||||
actions: read
|
||||
uses: self:KofTwentyTwo/platform-ci/.gitea/workflows/qrun-node-release.yaml@qrun-release-v1
|
||||
with:
|
||||
runner: linux-small
|
||||
postpublish:
|
||||
needs: release
|
||||
if: ${{ success() && needs.release.outputs.computed-version != '' }}
|
||||
permissions:
|
||||
contents: write
|
||||
actions: read
|
||||
uses: self:KofTwentyTwo/platform-ci/.gitea/workflows/qrun-node-finalize.yaml@qrun-release-v1
|
||||
with:
|
||||
runner: linux-small
|
||||
mode: ${{ needs.release.outputs.mode }}
|
||||
version: ${{ needs.release.outputs.computed-version }}
|
||||
dist-tag: ${{ needs.release.outputs.dist-tag }}
|
||||
built-commit: ${{ needs.release.outputs.built-commit }}
|
||||
build-job-id: ${{ needs.release.outputs.build-job-id }}
|
||||
run-attempt: ${{ needs.release.outputs.run-attempt }}
|
||||
@@ -0,0 +1,4 @@
|
||||
profile: frontend-core
|
||||
orb_version: '0.8'
|
||||
default_branch: develop
|
||||
node_version: '24.21'
|
||||
Reference in new issue
Block a user