Spaces:
Sleeping
Sleeping
Zhichao
commited on
change cluster_name and remove detect_migration_changes (#100)
Browse files- .github/workflows/cicd.yaml +2 -16
.github/workflows/cicd.yaml
CHANGED
|
@@ -9,7 +9,7 @@ env:
|
|
| 9 |
repo_name: "vision-agent"
|
| 10 |
aws_account_id: "970073041993"
|
| 11 |
aws_region: "us-east-2"
|
| 12 |
-
cluster_name: "
|
| 13 |
namespace: "datamanagement"
|
| 14 |
|
| 15 |
jobs:
|
|
@@ -60,22 +60,8 @@ jobs:
|
|
| 60 |
AUTH_SECRET=${{ vars.AUTH_SECRET }}
|
| 61 |
OPENAI_API_KEY=${{ vars.OPENAI_API_KEY }}
|
| 62 |
|
| 63 |
-
detect_migration_changes:
|
| 64 |
-
runs-on: ubuntu-latest
|
| 65 |
-
outputs:
|
| 66 |
-
migrations: ${{ steps.filter.outputs.migrations }}
|
| 67 |
-
steps:
|
| 68 |
-
- uses: actions/checkout@v4
|
| 69 |
-
- uses: dorny/paths-filter@v3
|
| 70 |
-
id: filter
|
| 71 |
-
with:
|
| 72 |
-
filters: |
|
| 73 |
-
migrations:
|
| 74 |
-
- 'prisma/migrations/**'
|
| 75 |
-
|
| 76 |
db_migration:
|
| 77 |
-
needs:
|
| 78 |
-
if: ${{ needs.detect_migration_changes.outputs.migrations == 'true' }}
|
| 79 |
runs-on: ubuntu-latest
|
| 80 |
environment: aws-development
|
| 81 |
|
|
|
|
| 9 |
repo_name: "vision-agent"
|
| 10 |
aws_account_id: "970073041993"
|
| 11 |
aws_region: "us-east-2"
|
| 12 |
+
cluster_name: "lles-app-dev"
|
| 13 |
namespace: "datamanagement"
|
| 14 |
|
| 15 |
jobs:
|
|
|
|
| 60 |
AUTH_SECRET=${{ vars.AUTH_SECRET }}
|
| 61 |
OPENAI_API_KEY=${{ vars.OPENAI_API_KEY }}
|
| 62 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
db_migration:
|
| 64 |
+
needs: build
|
|
|
|
| 65 |
runs-on: ubuntu-latest
|
| 66 |
environment: aws-development
|
| 67 |
|