From 892576e5f4ab6b060145e220312c1d21a7a97cbe Mon Sep 17 00:00:00 2001 From: Dmitrii Ganochenko Date: Thu, 13 Jun 2024 03:03:17 +0200 Subject: [PATCH] add terraforkm ci --- .github/workflows/ai-ml-nl-to-sql-ci.yaml | 28 +++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/ai-ml-nl-to-sql-ci.yaml diff --git a/.github/workflows/ai-ml-nl-to-sql-ci.yaml b/.github/workflows/ai-ml-nl-to-sql-ci.yaml new file mode 100644 index 0000000000..d1afd1d3ac --- /dev/null +++ b/.github/workflows/ai-ml-nl-to-sql-ci.yaml @@ -0,0 +1,28 @@ +name: ai-ml-nl-to-sql-ci +on: + push: + branches: + - main + paths: + - '.github/workflows/ai-ml-nl-to-sql-ci.yml' + - 'ai-ml/nl-to-sql/**' + pull_request: + paths: + - '.github/workflows/ai-ml-nl-to-sql-ci.yml' + - 'ai-ml/nl-to-sql/**' +jobs: + job: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + - name: Validate terraform autopilot + run: | + cd ai-ml/nl-to-sql/terraform/gke-autopilot + terraform init + terraform validate + - name: Validate terraform standard + run: | + cd ai-ml/nl-to-sql/terraform/gke-standard + terraform init + terraform validate +