diff --git a/.github/workflows/e2e-preset-test.yml b/.github/workflows/e2e-preset-test.yml index 7ae6dc3d9..20dcd7934 100644 --- a/.github/workflows/e2e-preset-test.yml +++ b/.github/workflows/e2e-preset-test.yml @@ -248,7 +248,7 @@ jobs: - name: Create Service if: steps.check_image.outputs.IMAGE_EXISTS == 'true' - run: kubectl apply -f presets/examples/${{ matrix.image.name }}/${{ matrix.image.name }}-service.yaml + run: kubectl apply -f presets/test/manifests/${{ matrix.image.name }}/${{ matrix.image.name }}-service.yaml - name: Retrieve External Service IP if: steps.check_image.outputs.IMAGE_EXISTS == 'true' @@ -264,10 +264,10 @@ jobs: - name: Replace IP and Deploy Statefulset to K8s if: steps.check_image.outputs.IMAGE_EXISTS == 'true' run: | - sed -i "s/MASTER_ADDR_HERE/${{ steps.get_ip.outputs.SERVICE_IP }}/g" presets/examples/${{ matrix.image.name }}/${{ matrix.image.name }}-statefulset.yaml - sed -i "s/TAG_HERE/${{ needs.setup.outputs.IMG_TAG }}/g" presets/examples/${{ matrix.image.name }}/${{ matrix.image.name }}-statefulset.yaml - sed -i "s/REPO_HERE/${{ steps.get_acr_name.outputs.ACR_NAME }}/g" presets/examples/${{ matrix.image.name }}/${{ matrix.image.name }}-statefulset.yaml - kubectl apply -f presets/examples/${{ matrix.image.name }}/${{ matrix.image.name }}-statefulset.yaml + sed -i "s/MASTER_ADDR_HERE/${{ steps.get_ip.outputs.SERVICE_IP }}/g" presets/test/manifests/${{ matrix.image.name }}/${{ matrix.image.name }}-statefulset.yaml + sed -i "s/TAG_HERE/${{ needs.setup.outputs.IMG_TAG }}/g" presets/test/manifests/${{ matrix.image.name }}/${{ matrix.image.name }}-statefulset.yaml + sed -i "s/REPO_HERE/${{ steps.get_acr_name.outputs.ACR_NAME }}/g" presets/test/manifests/${{ matrix.image.name }}/${{ matrix.image.name }}-statefulset.yaml + kubectl apply -f presets/test/manifests/${{ matrix.image.name }}/${{ matrix.image.name }}-statefulset.yaml - name: Wait for Statefulset to be ready if: steps.check_image.outputs.IMAGE_EXISTS == 'true' diff --git a/presets/examples/falcon-40b-instruct/falcon-40b-instruct-service.yaml b/presets/test/manifests/falcon-40b-instruct/falcon-40b-instruct-service.yaml similarity index 100% rename from presets/examples/falcon-40b-instruct/falcon-40b-instruct-service.yaml rename to presets/test/manifests/falcon-40b-instruct/falcon-40b-instruct-service.yaml diff --git a/presets/examples/falcon-40b-instruct/falcon-40b-instruct-statefulset.yaml b/presets/test/manifests/falcon-40b-instruct/falcon-40b-instruct-statefulset.yaml similarity index 100% rename from presets/examples/falcon-40b-instruct/falcon-40b-instruct-statefulset.yaml rename to presets/test/manifests/falcon-40b-instruct/falcon-40b-instruct-statefulset.yaml diff --git a/presets/examples/falcon-40b/falcon-40b-service.yaml b/presets/test/manifests/falcon-40b/falcon-40b-service.yaml similarity index 100% rename from presets/examples/falcon-40b/falcon-40b-service.yaml rename to presets/test/manifests/falcon-40b/falcon-40b-service.yaml diff --git a/presets/examples/falcon-40b/falcon-40b-statefulset.yaml b/presets/test/manifests/falcon-40b/falcon-40b-statefulset.yaml similarity index 100% rename from presets/examples/falcon-40b/falcon-40b-statefulset.yaml rename to presets/test/manifests/falcon-40b/falcon-40b-statefulset.yaml diff --git a/presets/examples/falcon-7b-instruct/falcon-7b-instruct-service.yaml b/presets/test/manifests/falcon-7b-instruct/falcon-7b-instruct-service.yaml similarity index 100% rename from presets/examples/falcon-7b-instruct/falcon-7b-instruct-service.yaml rename to presets/test/manifests/falcon-7b-instruct/falcon-7b-instruct-service.yaml diff --git a/presets/examples/falcon-7b-instruct/falcon-7b-instruct-statefulset.yaml b/presets/test/manifests/falcon-7b-instruct/falcon-7b-instruct-statefulset.yaml similarity index 100% rename from presets/examples/falcon-7b-instruct/falcon-7b-instruct-statefulset.yaml rename to presets/test/manifests/falcon-7b-instruct/falcon-7b-instruct-statefulset.yaml diff --git a/presets/examples/falcon-7b/falcon-7b-service.yaml b/presets/test/manifests/falcon-7b/falcon-7b-service.yaml similarity index 100% rename from presets/examples/falcon-7b/falcon-7b-service.yaml rename to presets/test/manifests/falcon-7b/falcon-7b-service.yaml diff --git a/presets/examples/falcon-7b/falcon-7b-statefulset.yaml b/presets/test/manifests/falcon-7b/falcon-7b-statefulset.yaml similarity index 100% rename from presets/examples/falcon-7b/falcon-7b-statefulset.yaml rename to presets/test/manifests/falcon-7b/falcon-7b-statefulset.yaml diff --git a/presets/examples/llama-2-13b-chat/llama-2-13b-chat-service.yaml b/presets/test/manifests/llama-2-13b-chat/llama-2-13b-chat-service.yaml similarity index 100% rename from presets/examples/llama-2-13b-chat/llama-2-13b-chat-service.yaml rename to presets/test/manifests/llama-2-13b-chat/llama-2-13b-chat-service.yaml diff --git a/presets/examples/llama-2-13b-chat/llama-2-13b-chat-statefulset.yaml b/presets/test/manifests/llama-2-13b-chat/llama-2-13b-chat-statefulset.yaml similarity index 100% rename from presets/examples/llama-2-13b-chat/llama-2-13b-chat-statefulset.yaml rename to presets/test/manifests/llama-2-13b-chat/llama-2-13b-chat-statefulset.yaml diff --git a/presets/examples/llama-2-13b/llama-2-13b-service.yaml b/presets/test/manifests/llama-2-13b/llama-2-13b-service.yaml similarity index 100% rename from presets/examples/llama-2-13b/llama-2-13b-service.yaml rename to presets/test/manifests/llama-2-13b/llama-2-13b-service.yaml diff --git a/presets/examples/llama-2-13b/llama-2-13b-statefulset.yaml b/presets/test/manifests/llama-2-13b/llama-2-13b-statefulset.yaml similarity index 100% rename from presets/examples/llama-2-13b/llama-2-13b-statefulset.yaml rename to presets/test/manifests/llama-2-13b/llama-2-13b-statefulset.yaml diff --git a/presets/examples/llama-2-7b-chat/llama-2-7b-chat-service.yaml b/presets/test/manifests/llama-2-7b-chat/llama-2-7b-chat-service.yaml similarity index 100% rename from presets/examples/llama-2-7b-chat/llama-2-7b-chat-service.yaml rename to presets/test/manifests/llama-2-7b-chat/llama-2-7b-chat-service.yaml diff --git a/presets/examples/llama-2-7b-chat/llama-2-7b-chat-statefulset.yaml b/presets/test/manifests/llama-2-7b-chat/llama-2-7b-chat-statefulset.yaml similarity index 100% rename from presets/examples/llama-2-7b-chat/llama-2-7b-chat-statefulset.yaml rename to presets/test/manifests/llama-2-7b-chat/llama-2-7b-chat-statefulset.yaml diff --git a/presets/examples/llama-2-7b/llama-2-7b-service.yaml b/presets/test/manifests/llama-2-7b/llama-2-7b-service.yaml similarity index 100% rename from presets/examples/llama-2-7b/llama-2-7b-service.yaml rename to presets/test/manifests/llama-2-7b/llama-2-7b-service.yaml diff --git a/presets/examples/llama-2-7b/llama-2-7b-statefulset.yaml b/presets/test/manifests/llama-2-7b/llama-2-7b-statefulset.yaml similarity index 100% rename from presets/examples/llama-2-7b/llama-2-7b-statefulset.yaml rename to presets/test/manifests/llama-2-7b/llama-2-7b-statefulset.yaml