Skip to content

Commit

Permalink
Add automated update step for component metadata file in CodeFlare re…
Browse files Browse the repository at this point in the history
…lease workflow
  • Loading branch information
oksanabaza authored and openshift-merge-bot[bot] committed Jan 23, 2025
1 parent a6794de commit 9519938
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/project-codeflare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,20 @@ jobs:
echo "Kueue release with version ${{ github.event.inputs.kueue-version }} does not exist. Please select an existing version."
exit 1
fi
generate-component-metadata:
needs: [check-appwrapper-version, check-kuberay-version, check-kueue-version]
runs-on: ubuntu-latest

steps:
- name: Generate component_metadata.yaml
run: |
cat <<EOL > config/component_metadata.yaml
releases:
- name: CodeFlare Operator
version: ${{ github.event.inputs.operator-version }}
repoUrl: https://github.com/project-codeflare/codeflare-operator
EOL
- name: Verify generated file
run: cat config/component_metadata.yaml

0 comments on commit 9519938

Please sign in to comment.