Skip to content

Commit

Permalink
[.github/workflows] - refactor: streamline connector deployment workflow
Browse files Browse the repository at this point in the history
 - Merge `deploy-connectors.yml` into `deploy-connectors-infra.yml` to simplify deployment process
 - Remove input parameters for region specificity, default to deploying in `us-central1` region
 - Update concurrency group to reflect the new unified connector deployment mechanism
 - Adjust client_payload to send `regions` in place of `us_central1` flag, align with new input strategy

[.github/workflows] - devops: remove redundant connector deployment workflow file

 - Delete `deploy-connectors.yml` as its functionality is now incorporated in `deploy-connectors-infra.yml`
  • Loading branch information
JulesBelveze committed Nov 15, 2024
1 parent 333a557 commit bbb21a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 80 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/deploy-connectors-infra.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
name: Deploy Infra
name: Deploy connectors

on:
workflow_dispatch:
inputs:
us-central1:
description: "Deploy to us-central1"
type: boolean
default: true

concurrency:
group: deploy_infra
group: deploy_connectors
cancel-in-progress: false

env:
Expand Down Expand Up @@ -66,7 +61,7 @@ jobs:
repo: 'dust-infra',
event_type: 'trigger-component-deploy',
client_payload: {
us_central1: ${{ inputs.us-central1 }},
regions: 'us-central1',
component: 'connectors',
image_tag: '${{ steps.short_sha.outputs.short_sha }}'
}
Expand Down
72 changes: 0 additions & 72 deletions .github/workflows/deploy-connectors.yml

This file was deleted.

0 comments on commit bbb21a2

Please sign in to comment.