orchestrator

This commit is contained in:
mkorwel
2025-10-21 20:07:37 -07:00
parent ff3398f297
commit 4955b470db
4 changed files with 20 additions and 15 deletions
+9 -6
View File
@@ -5,15 +5,15 @@ on:
workflow_call:
outputs:
tag:
description: "The tag of the published package"
value: ${{ jobs.publish-bundle.outputs.tag }}
description: 'The tag of the published package'
value: '${{ jobs.publish-bundle.outputs.tag }}'
jobs:
publish-bundle:
name: 'Publish Bundle'
runs-on: 'gemini-cli-ubuntu-16-core'
outputs:
tag: ${{ steps.get_tag.outputs.tag }}
tag: '${{ steps.get_tag.outputs.tag }}'
permissions:
contents: 'read'
packages: 'write'
@@ -45,8 +45,11 @@ jobs:
run: 'npm run bundle'
- name: 'Get tag'
id: get_tag
run: echo "tag=ci-${{ github.sha }}" >> $GITHUB_OUTPUT
id: 'get_tag'
shell: 'bash'
env:
SHA: 'ci-${{ github.sha }}'
run: 'echo "tag=$SHA"'
- name: 'Publish to GitHub Packages'
run: 'npm publish --tag=${{ steps.get_tag.outputs.tag }}'
run: 'npm publish --tag="${{ steps.get_tag.outputs.tag }}"'
+3 -1
View File
@@ -1,10 +1,12 @@
name: 'Testing: CI'
on:
workflow_call:
inputs:
tag:
description: 'The tag of the published package'
required: true
type: string
type: 'string'
concurrency:
group: '${{ github.workflow }}-${{ github.head_ref || github.ref }}'
+1 -1
View File
@@ -4,7 +4,7 @@ on:
tag:
description: 'The tag of the published package'
required: true
type: string
type: 'string'
concurrency:
group: '${{ github.workflow }}-${{ github.head_ref || github.ref }}'
+7 -7
View File
@@ -15,18 +15,18 @@ concurrency:
jobs:
build-and-publish:
name: 'Build and Publish CI Bundle'
uses: ./.github/workflows/build-and-publish.yml
uses: './.github/workflows/build-and-publish.yml'
ci:
name: 'CI Checks'
needs: build-and-publish
uses: ./.github/workflows/ci.yml
needs: 'build-and-publish'
uses: './.github/workflows/ci.yml'
with:
tag: ${{ needs.build-and-publish.outputs.tag }}
tag: '${{ needs.build-and-publish.outputs.tag }}'
e2e:
name: 'E2E Checks'
needs: build-and-publish
uses: ./.github/workflows/e2e.yml
needs: 'build-and-publish'
uses: './.github/workflows/e2e.yml'
with:
tag: ${{ needs.build-and-publish.outputs.tag }}
tag: '${{ needs.build-and-publish.outputs.tag }}'