Unverified Commit b00514c2 authored by atchernych's avatar atchernych Committed by GitHub
Browse files

fix: Support vCluster in post merge in GAIE test (#7743)


Signed-off-by: default avatarAnna Tchernych <atchernych@nvidia.com>
parent cbbde3d0
...@@ -389,12 +389,48 @@ jobs: ...@@ -389,12 +389,48 @@ jobs:
steps: steps:
- name: Checkout code - name: Checkout code
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0 uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
- name: Check if vCluster exists
id: vcluster-check
uses: ./.github/actions/check-vcluster-exists
with:
kubeconfig_base64: ${{ secrets.AZURE_AKS_CI_KUBECONFIG_B64 }}
vcluster_name: ${{ needs.deploy-operator.outputs.vcluster_name }}
vcluster_namespace: ${{ needs.deploy-operator.outputs.namespace }}
- name: Self-bootstrap vCluster (rerun)
if: steps.vcluster-check.outputs.exists != 'true'
uses: ./.github/actions/setup-dynamo-operator
with:
kubeconfig_base64: ${{ secrets.AZURE_AKS_CI_KUBECONFIG_B64 }}
vcluster_name: ${{ needs.deploy-operator.outputs.vcluster_name }}
vcluster_namespace: ${{ needs.deploy-operator.outputs.namespace }}
registry: ${{ secrets.AZURE_ACR_HOSTNAME }}
operator_tag: ${{ needs.deploy-operator.outputs.operator_tag }}
hf_token: ${{ secrets.HF_TOKEN }}
dockerhub_username: ${{ secrets.DOCKERHUB_LOGIN_USER }}
dockerhub_password: ${{ secrets.DOCKERHUB_ACCESS_TOKEN }}
- name: Connect to vCluster
id: connect-vcluster
uses: ./.github/actions/connect-vcluster
with:
host_kubeconfig_base64: ${{ secrets.AZURE_AKS_CI_KUBECONFIG_B64 }}
vcluster_name: ${{ needs.deploy-operator.outputs.vcluster_name }}
vcluster_namespace: ${{ needs.deploy-operator.outputs.namespace }}
- name: Install GAIE prerequisites (Gateway API, kgateway, Inference Extension CRDs)
shell: bash
env:
KUBECONFIG_B64: ${{ steps.connect-vcluster.outputs.kubeconfig_base64 }}
run: |
echo "${KUBECONFIG_B64}" | base64 -d > ${{ github.workspace }}/.kubeconfig_gaie
export KUBECONFIG=${{ github.workspace }}/.kubeconfig_gaie
export NAMESPACE=default
bash deploy/inference-gateway/scripts/install_gaie_crd_kgateway.sh
rm -f ${{ github.workspace }}/.kubeconfig_gaie
- name: Run GAIE Deploy Test - name: Run GAIE Deploy Test
id: deploy-test id: deploy-test
uses: ./.github/actions/dynamo-deploy-test uses: ./.github/actions/dynamo-deploy-test
with: with:
kubeconfig_base64: ${{ secrets.AZURE_AKS_CI_KUBECONFIG_B64 }} kubeconfig_base64: ${{ steps.connect-vcluster.outputs.kubeconfig_base64 }}
namespace: ${{ needs.deploy-operator.outputs.namespace }} namespace: default
registry: ${{ secrets.AZURE_ACR_HOSTNAME }} registry: ${{ secrets.AZURE_ACR_HOSTNAME }}
operator_tag: ${{ needs.deploy-operator.outputs.operator_tag }} operator_tag: ${{ needs.deploy-operator.outputs.operator_tag }}
hf_token: ${{ secrets.HF_TOKEN }} hf_token: ${{ secrets.HF_TOKEN }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment