diff --git a/.github/workflows/deploy-kubernetes.yml b/.github/workflows/deploy-kubernetes.yml index 57b5e6e91b..71f2926daf 100644 --- a/.github/workflows/deploy-kubernetes.yml +++ b/.github/workflows/deploy-kubernetes.yml @@ -38,21 +38,14 @@ jobs: cluster_name: ${{ env.GKE_NAME }} location: ${{ env.GKE_REGION }} - run: curl -sSL https://install.python-poetry.org | python - - - name: Set up hologit - env: - BIO_RELEASE: 1.6.821 - run: | - curl -LO "https://github.com/biome-sh/biome/releases/download/v${BIO_RELEASE}/bio-${BIO_RELEASE}-x86_64-linux.tar.gz" - tar xzvf "bio-${BIO_RELEASE}-x86_64-linux.tar.gz" - sudo mv bio /usr/local/bin/bio - sudo bio pkg install --binlink jarvus/hologit - - git config user.name "Github Action $GITHUB_JOB" - git config user.email "$(whoami)@$(uname -n)" # Render Kubernetes content with parent underlay and checkout - - run: git holo project kubernetes-workspace --commit-to=kubernetes - - run: git checkout kubernetes + - name: 'Project kubernetes-workspace holobranch' + uses: JarvusInnovations/hologit@actions/projector/v1 + with: + holobranch: kubernetes-workspace + commit-to: kubernetes-workspace + - run: git checkout kubernetes-workspace # Diff and write back to PR - id: diff diff --git a/.github/workflows/preview-kubernetes.yml b/.github/workflows/preview-kubernetes.yml index 21dbea5142..f2f72d55ea 100644 --- a/.github/workflows/preview-kubernetes.yml +++ b/.github/workflows/preview-kubernetes.yml @@ -38,21 +38,14 @@ jobs: cluster_name: ${{ env.GKE_NAME }} location: ${{ env.GKE_REGION }} - run: curl -sSL https://install.python-poetry.org | python - - - name: Set up hologit - env: - BIO_RELEASE: 1.6.821 - run: | - curl -LO "https://github.com/biome-sh/biome/releases/download/v${BIO_RELEASE}/bio-${BIO_RELEASE}-x86_64-linux.tar.gz" - tar xzvf "bio-${BIO_RELEASE}-x86_64-linux.tar.gz" - sudo mv bio /usr/local/bin/bio - sudo bio pkg install --binlink jarvus/hologit - - git config user.name "Github Action $GITHUB_JOB" - git config user.email "$(whoami)@$(uname -n)" # Render Kubernetes content with parent underlay and checkout - - run: git holo project kubernetes-workspace --commit-to=kubernetes - - run: git checkout kubernetes + - name: 'Project kubernetes-workspace holobranch' + uses: JarvusInnovations/hologit@actions/projector/v1 + with: + holobranch: kubernetes-workspace + commit-to: kubernetes-workspace + - run: git checkout kubernetes-workspace # Diff and write back to PR - id: diff