Skip to content

Commit c2a800e

Browse files
committed
Add automated update step for component metadata file in CodeFlare release workflow
1 parent 1945b65 commit c2a800e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/project-codeflare-release.yml

+26
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,29 @@ jobs:
165165
echo "Kueue release with version ${{ github.event.inputs.kueue-version }} does not exist. Please select an existing version."
166166
exit 1
167167
fi
168+
169+
generate-component-metadata:
170+
needs: [check-appwrapper-version, check-kuberay-version, check-kueue-version]
171+
runs-on: ubuntu-latest
172+
173+
steps:
174+
- name: Generate component_metadata.yaml
175+
run: |
176+
cat <<EOL > config/component_metadata.yaml
177+
releases:
178+
- name: CodeFlare SDK
179+
version: ${{ github.event.inputs.codeflare-sdk-version }}
180+
repoUrl: https://github.com/project-codeflare/codeflare-sdk
181+
- name: AppWrapper
182+
version: ${{ github.event.inputs.appwrapper-version }}
183+
repoUrl: https://github.com/project-codeflare/appwrapper
184+
- name: KubeRay
185+
version: ${{ github.event.inputs.kuberay-version }}
186+
repoUrl: https://github.com/ray-project/kuberay
187+
- name: Kueue
188+
version: ${{ github.event.inputs.kueue-version }}
189+
repoUrl: https://github.com/kubernetes-sigs/kueue
190+
EOL
191+
192+
- name: Verify Generated File
193+
run: cat config/component_metadata.yaml

0 commit comments

Comments
 (0)