Skip to content

Commit

Permalink
Revert "feat: build cluster incrementally"
Browse files Browse the repository at this point in the history
This reverts commit 80575d2.
It has a bug where it deletes most of the cluster repo on push.
  • Loading branch information
nikhiljha committed Apr 23, 2024
1 parent 897dc23 commit 135c7c7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/cluster-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Transpire Module CI

on:
workflow_call:
inputs:
module_name:
type: string
secrets:
OCF_CLUSTER_DEPLOY_KEY:
required: true
Expand All @@ -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: |
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/module-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 135c7c7

Please sign in to comment.