From 0dff0b2be3971dc522fea203fd6cc45a031cc259 Mon Sep 17 00:00:00 2001 From: Liya Katz Date: Thu, 5 Sep 2024 19:25:47 +0300 Subject: [PATCH] Delete .github/workflows/deploy_custom_env.yaml --- .github/workflows/deploy_custom_env.yaml | 46 ------------------------ 1 file changed, 46 deletions(-) delete mode 100644 .github/workflows/deploy_custom_env.yaml diff --git a/.github/workflows/deploy_custom_env.yaml b/.github/workflows/deploy_custom_env.yaml deleted file mode 100644 index 1fbfdc0bb8..0000000000 --- a/.github/workflows/deploy_custom_env.yaml +++ /dev/null @@ -1,46 +0,0 @@ -name: "Deploy OPIK to Custom environment" -run-name: Deploy OPIK version ${{inputs.opik_version}} to ${{inputs.custom_env}} -on: - workflow_dispatch: - inputs: - custom_env: - type: choice - description: Choose environment - options: - - fetch - - demo - opik_version: - type: string - description: OPIK Version - - -jobs: - - deploy: - runs-on: org - steps: - - name: Checkout - uses: actions/checkout@v4.1.1 - with: - fetch-depth: 1 - - - name: Configure AWS credentials for Production cluster - uses: aws-actions/configure-aws-credentials@v4 - with: - role-to-assume: ${{ vars.PROD_ACTION_RUNNER_ROLE_ARN }} - aws-region: ${{ vars.PROD_AWS_REGION }} - role-session-name: "github-actions-runner" - role-skip-session-tagging: true - - - name: Update kubeconfig - shell: bash - run: | - aws eks update-kubeconfig --name comet-ml-production-v1 --region ${{ vars.PROD_AWS_REGION }} - - - name: Upgrade Opik on ${{inputs.custom_env}} to ${{inputs.opik_version}} - run: | - cd deployment/helm_chart/opik - helm repo add bitnami https://charts.bitnami.com/bitnami - helm dependency build - helm upgrade --install opik -n ${{inputs.custom_env}} --create-namespace -f values.yaml -f ../../custom_installations/values-${{inputs.custom_env}}.yaml \ - --set component.backend.image.tag=${{inputs.opik_version}} --set component.frontend.image.tag=${{inputs.opik_version}}-os .