Skip to content

Fix: update 1.8 beta bundle definition (#723) #111

Fix: update 1.8 beta bundle definition (#723)

Fix: update 1.8 beta bundle definition (#723) #111

name: Publish bundle to Charmhub
on:
push:
branches:
- main
paths:
- releases/**
jobs:
get-releases-affected:
name: Get releases affected
runs-on: ubuntu-22.04
outputs:
releases_affected: ${{ steps.get-releases-affected.outputs.releases_affected_json }}
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get files changed
id: changed-files
uses: tj-actions/changed-files@v37
- name: Get releases affected
id: get-releases-affected
run: python scripts/get_releases_affected.py ${{ steps.changed-files.outputs.all_changed_files }}
run-tests-and-publish-bundle-for-releases-affected:
name: Run bundle tests and publish to Charmhub
needs: [get-releases-affected]
strategy:
fail-fast: false
matrix:
release: ${{ fromJson(needs.get-releases-affected.outputs.releases_affected) }}
uses: ./.github/workflows/run-tests-and-publish-bundle.yaml

Check failure on line 36 in .github/workflows/release-bundle-to-charmhub.yaml

View workflow run for this annotation

GitHub Actions / Publish bundle to Charmhub

Invalid workflow file

The workflow is not valid. In .github/workflows/release-bundle-to-charmhub.yaml (Line: 36, Col: 11): Error from called workflow canonical/bundle-kubeflow/.github/workflows/run-tests-and-publish-bundle.yaml@e592ae2242df585552015b74dac2d93f3ca61376 (Line: 45, Col: 33): Job 'publish-bundle-for-releases-affected' depends on unknown job 'run-tests'.

Check failure on line 36 in .github/workflows/release-bundle-to-charmhub.yaml

View workflow run for this annotation

GitHub Actions / Publish bundle to Charmhub

Invalid workflow file

The workflow is not valid. In .github/workflows/release-bundle-to-charmhub.yaml (Line: 36, Col: 11): Error from called workflow canonical/bundle-kubeflow/.github/workflows/run-tests-and-publish-bundle.yaml@e592ae2242df585552015b74dac2d93f3ca61376 (Line: 45, Col: 33): Job 'publish-bundle-for-releases-affected' depends on unknown job 'run-tests'.
with:
release: ${{ matrix.release }}
secrets: inherit