From 8180b96edbce431619608a5432ced3b548788e97 Mon Sep 17 00:00:00 2001 From: greg pereira Date: Wed, 20 Nov 2024 12:33:21 -0800 Subject: [PATCH 1/2] more fixes for testing Signed-off-by: greg pereira --- .github/workflows/pr-images.yml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-images.yml b/.github/workflows/pr-images.yml index 6aa19d3f..ecb30a2a 100644 --- a/.github/workflows/pr-images.yml +++ b/.github/workflows/pr-images.yml @@ -27,6 +27,8 @@ jobs: steps: - name: Check out the repo uses: actions/checkout@v4 + with: + token: ${{ secrets.BOT_PAT }} - name: Skip if triggered by GitHub Actions bot id: check-skip @@ -161,10 +163,14 @@ jobs: run: |- git config user.name "platform-engineering-bot" git config user.email "platform-engineering@redhat.com" - git remote add origin-push https://platform-engineering-bot:${{ secrets.BOT_PAT }}@github.com/instructlab/ui.git + git config --local --list > local-git-config + cat local-git-config + git config --global --list > global-git-config + cat global-git-config + git remote -v git add deploy/k8s/overlays/openshift/qa/kustomization.yaml git commit -m "[CI AUTOMATION]: Bumping QA UI image to tag: pr-${{ steps.get_pr_number.outputs.result }}" -s - git push origin-push main + git push origin main build_and_publish_ps_qa_image: name: Push QA pathservice container image to GHCR and QUAY @@ -179,6 +185,8 @@ jobs: steps: - name: Check out the repo uses: actions/checkout@v4 + with: + token: ${{ secrets.BOT_PAT }} - name: Skip if triggered by GitHub Actions bot id: check-skip @@ -313,7 +321,11 @@ jobs: run: |- git config user.name "platform-engineering-bot" git config user.email "platform-engineering@redhat.com" - git remote add origin-push https://platform-engineering-bot:${{ secrets.BOT_PAT }}@github.com/instructlab/ui.git + git config --local --list > local-git-config + cat local-git-config + git config --global --list > global-git-config + cat global-git-config + git remote -v git add deploy/k8s/overlays/openshift/qa/kustomization.yaml git commit -m "[CI AUTOMATION]: Bumping QA PS image to tag: pr-${{ steps.get_pr_number.outputs.result }}" -s - git push origin-push main + git push origin main From ca22afc0e16b4081d019557b00de747b4e64373f Mon Sep 17 00:00:00 2001 From: greg pereira Date: Wed, 20 Nov 2024 12:37:03 -0800 Subject: [PATCH 2/2] consistent casing for docker warnings Signed-off-by: greg pereira --- pathservice/Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pathservice/Containerfile b/pathservice/Containerfile index 1899f0b3..5f9273fa 100644 --- a/pathservice/Containerfile +++ b/pathservice/Containerfile @@ -1,4 +1,4 @@ -FROM registry.access.redhat.com/ubi9/go-toolset:1.22.5-1730550521 as builder +FROM registry.access.redhat.com/ubi9/go-toolset:1.22.5-1730550521 AS builder WORKDIR /opt/app-root/src