Explorar el Código

continued pipeline work (#3122)

Signed-off-by: Alex Meijer <alexander.meijer@ibm.com>
Alex Meijer hace 1 año
padre
commit
bedc5ddf42

+ 9 - 0
.github/workflows/build-test-image.yml

@@ -24,6 +24,15 @@ jobs:
               GITHUB_TOKEN: ${{ secrets.ORG_READER_PAT }}
               username: ${{ github.actor }}
               team: opencost-maintainers
+  debug-actor-permissions:
+    runs-on: ubuntu-latest
+    needs: check_actor_permissions
+    if: ${{ always() }}
+    steps:
+      - name: Debug actor permissions
+        run: |
+          echo "Actor: ${{ github.actor }}"
+          echo "Is maintainer: ${{ needs.check_actor_permissions.outputs.ismaintainer }}"
   build-and-publish-test-image:
     runs-on: ubuntu-latest
     needs: check_actor_permissions

+ 3 - 3
.github/workflows/integration-testing.yaml

@@ -115,7 +115,7 @@ jobs:
                 
     build-test-stack:
         needs: wait_for_image_ready
-        uses: opencost/opencost-infra/.github/workflows/build-stack.yaml@master
+        uses: opencost/opencost-infra/.github/workflows/build-stack.yaml@main
         secrets: inherit
         with:
             oc-container-version: "${{ needs.wait_for_image_ready.outputs.IMAGE_TAG }}"
@@ -145,7 +145,7 @@ jobs:
     run-tests:
         needs: [wait_for_image_ready, build-test-stack, wait-for-dns]
         permissions: {}
-        uses: opencost/opencost-infra/.github/workflows/test-stack.yaml@master
+        uses: opencost/opencost-infra/.github/workflows/test-stack.yaml@main
         secrets: inherit
         with:
             namespace: "${{ needs.wait_for_image_ready.outputs.NAMESPACE }}"
@@ -154,7 +154,7 @@ jobs:
     teardown-test-stack:
         needs: [wait_for_image_ready, run-tests]
         permissions: {}
-        uses: opencost/opencost-infra/.github/workflows/destroy-stack.yaml@master
+        uses: opencost/opencost-infra/.github/workflows/destroy-stack.yaml@main
         if: always()
         secrets: inherit 
         with: