From 37eceb75a3bdf325a6ea126dd834a74d57105d49 Mon Sep 17 00:00:00 2001 From: 0pens0 <36497537+0pens0@users.noreply.github.com> Date: Mon, 21 Oct 2024 10:15:43 +0100 Subject: [PATCH] changes --- .github/workflows/build-flow.yml | 2 +- .github/workflows/gitops-flow.yml | 2 +- conf/platform-config.yml | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-flow.yml b/.github/workflows/build-flow.yml index 82f47f6..08675c1 100644 --- a/.github/workflows/build-flow.yml +++ b/.github/workflows/build-flow.yml @@ -32,7 +32,7 @@ jobs: TANZU_API_TOKEN: ${{ secrets.API_TOKEN }} run: | tanzu login --endpoint ${{ vars.API_ENDPOINT }} - tanzu build config --build-plan-source-type=file --build-plan-source conf/platform-config.yml --containerapp-registry ${{ vars.BUILD_REGISTRY_CONF }} + tanzu build config --build-plan-source-type git --build-plan-source https://github.com/0pens0/spring-metal-gitops.git --containerapp-registry openso/{name} docker login ${{ vars.REGISTRY }} -u ${{ vars.REGISTRY_USER_NAME }} -p ${{ secrets.RERGISTRY_PASS }} tanzu build -o .build-output-temp diff --git a/.github/workflows/gitops-flow.yml b/.github/workflows/gitops-flow.yml index 13a0a4e..c56e21a 100644 --- a/.github/workflows/gitops-flow.yml +++ b/.github/workflows/gitops-flow.yml @@ -33,7 +33,7 @@ jobs: TANZU_API_TOKEN: ${{ secrets.API_TOKEN }} run: | tanzu login --endpoint ${{ vars.API_ENDPOINT }} - tanzu build config --build-plan-source-type=file --build-plan-source conf/platform-config.yml --containerapp-registry ${{ vars.BUILD_REGISTRY_CONF }} + tanzu build config --build-plan-source-type git --build-plan-source https://github.com/0pens0/spring-metal-gitops.git --containerapp-registry openso/{name} echo ${{ vars.REGISTRY }} echo ${{ vars.REGISTRY_USER_NAME }} echo ${{ vars.BUILD_REGISTRY_CONF }} diff --git a/conf/platform-config.yml b/conf/platform-config.yml index 6bd763f..b7127b8 100644 --- a/conf/platform-config.yml +++ b/conf/platform-config.yml @@ -15,9 +15,9 @@ spec: steps: - namedtask: tanzu-kubernetes-deployment - namedtask: tanzu-kubernetes-carvel-package - - name: add-route - containerTask: - image: openso/add-http-route-task +# - name: add-route +# containerTask: +# image: openso/add-http-route-task - description: create kubernetes yaml files for deploying on kubernetes name: kubernetes-plain steps: