Skip to content

release gpu operator 0.1.16 (#481) #36

release gpu operator 0.1.16 (#481)

release gpu operator 0.1.16 (#481) #36

name: Generate Inframold Charts Artifacts Manifest
on:
push:
branches:
- main
jobs:
update-artifacts:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Kubectl
id: install-kubectl
uses: azure/setup-kubectl@v3
with:
version: 'v1.28.0'
- name: Setup Helm
uses: azure/[email protected]
with:
version: v3.15.1
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install python dependencies
run: pip install -r scripts/upload-artifacts/requirements.txt
# Generate artifacts manifest for inframold charts
- name: Generate Artifacts Manifest for Each Chart
run: |
charts_list=("tfy-k8s-aws-eks-inframold tfy-k8s-azure-aks-inframold tfy-k8s-gcp-gke-autopilot-inframold tfy-k8s-gcp-gke-standard-inframold tfy-k8s-generic-inframold")
for chart in $charts_list;
do
version=$(cat charts/$chart/Chart.yaml | grep version | awk '{print $2}')
python scripts/generate-artifacts-manifest/artifacts_template_generator.py $chart https://truefoundry.github.io/infra-charts/ \
$version charts/$chart/values.yaml charts/$chart/artifacts-manifest.json scripts/generate-artifacts-manifest/extra.json
done
# Update the inframold artifacts manifest
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
commit-message: Update Inframold artifacts manifest
title: CI Update Inframold Artifacts-${{ github.sha }}
body: Update Inframold artifacts manifest
branch: update-inframold-artifacts-manifest-${{ github.sha }}
delete-branch: true