diff --git a/.github/workflows/deploy-s3-fast.yml b/.github/workflows/deploy-s3-fast.yml new file mode 100644 index 0000000..67bcb80 --- /dev/null +++ b/.github/workflows/deploy-s3-fast.yml @@ -0,0 +1,28 @@ +name: Build and Deploy S3 Fast + +on: + push: + branches: [s3fast-patch] + +permissions: + contents: read + +jobs: + deploy: + permissions: + contents: read + uses: loadnetwork/infra/.github/workflows/reusable-build-redeploy.yml@main + with: + image_name: load-s3-agent + pod_selector: app=load-s3-agent + kube_namespace: business + runner_labels: '["self-hosted","linux","x64"]' + wait_for_pods: true + secrets: + REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }} + REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }} + MAIN_CLUSTER_USERNAME: ${{ secrets.MAIN_CLUSTER_USERNAME }} + MAIN_CLUSTER_PWD: ${{ secrets.MAIN_CLUSTER_PWD }} + MAIN_CLUSTER_HOST: ${{ secrets.MAIN_CLUSTER_HOST }} + MAIN_CLUSTER_CTX: ${{ secrets.MAIN_CLUSTER_CTX }} + INFRA_REPO_TOKEN: ${{ secrets.INFRA_REPO_TOKEN }} diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f8c0de6..4e756e2 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,7 +17,8 @@ jobs: image_name: load-s3-agent pod_selector: app=load-s3-agent kube_namespace: business - runner_labels: '["self-hosted","linux","x64"]' + cluster_ref: + runner_labels: '["self-hosted","linux","x64","load-s3-fast"]' wait_for_pods: true secrets: REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }} diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 7e53eb7..8941875 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -46,24 +46,25 @@