From 135c7c7998364674e874e616343e1d0b48ae4ddd Mon Sep 17 00:00:00 2001 From: Nikhil Jha Date: Tue, 23 Apr 2024 16:25:17 -0700 Subject: [PATCH] Revert "feat: build cluster incrementally" This reverts commit 80575d2386c4ab369dba5a1b4f767888d043b9be. It has a bug where it deletes most of the cluster repo on push. --- .github/workflows/cluster-ci.yml | 5 +---- .github/workflows/module-ci.yml | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/.github/workflows/cluster-ci.yml b/.github/workflows/cluster-ci.yml index e533cef..59fb105 100644 --- a/.github/workflows/cluster-ci.yml +++ b/.github/workflows/cluster-ci.yml @@ -2,9 +2,6 @@ name: Transpire Module CI on: workflow_call: - inputs: - module_name: - type: string secrets: OCF_CLUSTER_DEPLOY_KEY: required: true @@ -19,7 +16,7 @@ jobs: repository: ocf/kubernetes - name: Build cluster repository - run: transpire object build _out ${{ inputs.module_name != '' && format('--module {0}', inputs.module_name) || '' }} + run: transpire object build _out - name: Push cluster repository run: | diff --git a/.github/workflows/module-ci.yml b/.github/workflows/module-ci.yml index 81e29e6..7359a24 100644 --- a/.github/workflows/module-ci.yml +++ b/.github/workflows/module-ci.yml @@ -57,7 +57,5 @@ jobs: if: always() needs: build-images uses: ocf/transpire/.github/workflows/cluster-ci.yml@main - with: - module_name: ${{ inputs.module_name }} secrets: OCF_CLUSTER_DEPLOY_KEY: ${{ secrets.OCF_CLUSTER_DEPLOY_KEY }}