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 committed Jan 14, 2025
1 parent 1945b65 commit c2a800e
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/project-codeflare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,3 +165,29 @@ 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 SDK
version: ${{ github.event.inputs.codeflare-sdk-version }}
repoUrl: https://github.com/project-codeflare/codeflare-sdk
- name: AppWrapper
version: ${{ github.event.inputs.appwrapper-version }}
repoUrl: https://github.com/project-codeflare/appwrapper
- name: KubeRay
version: ${{ github.event.inputs.kuberay-version }}
repoUrl: https://github.com/ray-project/kuberay
- name: Kueue
version: ${{ github.event.inputs.kueue-version }}
repoUrl: https://github.com/kubernetes-sigs/kueue
EOL
- name: Verify Generated File
run: cat config/component_metadata.yaml

0 comments on commit c2a800e

Please sign in to comment.