Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
star3am committed Nov 8, 2023
1 parent f4d3b1c commit c85b8a3
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
jobs:
build-and-publish-latest:
if: |
always() &&
# always() &&
contains(github.event.pull_request.labels.*.name, 'rebuild container image') &&
(github.ref != 'refs/heads/main' || github.ref != 'refs/heads/master')
runs-on: ubuntu-latest
Expand Down Expand Up @@ -48,7 +48,7 @@ jobs:
run-run-dot-sh:
needs: build-and-publish-latest
if: |
always() &&
# always() &&
(github.ref != 'refs/heads/main' || github.ref != 'refs/heads/master') &&
(needs.build-and-publish-latest.result == 'success' || needs.build-and-publish-latest.result == 'skipped')
runs-on: ubuntu-latest
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
azure-image-gallery:
needs: run-run-dot-sh
if: |
always() &&
# always() &&
(needs.run-run-dot-sh.result == 'success' || needs.run-run-dot-sh.result == 'skipped')
runs-on: ubuntu-latest
container:
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
azure-image-gallery-on-tfc:
needs: run-run-dot-sh
if: |
always() &&
# always() &&
(needs.run-run-dot-sh.result == 'success' || needs.run-run-dot-sh.result == 'skipped')
runs-on: ubuntu-latest
container:
Expand Down Expand Up @@ -187,8 +187,8 @@ jobs:
needs: azure-image-gallery
if: |
always() &&
(needs.run-run-dot-sh.result == 'success' || needs.run-run-dot-sh.result == 'skipped') &&
(needs.azure-image-gallery.result == 'success' || needs.azure-image-gallery.result == 'skipped' || needs.azure-image-gallery-on-tfc.result == 'success' || needs.azure-image-gallery-on-tfc.result == 'skipped')
# (needs.run-run-dot-sh.result == 'success' || needs.run-run-dot-sh.result == 'skipped') &&
# (needs.azure-image-gallery.result == 'success' || needs.azure-image-gallery.result == 'skipped' || needs.azure-image-gallery-on-tfc.result == 'success' || needs.azure-image-gallery-on-tfc.result == 'skipped')
runs-on: ubuntu-latest
container:
image: ghcr.io/${{ github.repository_owner }}/golden-image-builder-container:latest
Expand Down Expand Up @@ -224,8 +224,8 @@ jobs:
needs: azure-image-gallery-on-tfc
if: |
always() &&
(needs.run-run-dot-sh.result == 'success' || needs.run-run-dot-sh.result == 'skipped') &&
(needs.azure-image-gallery.result == 'success' || needs.azure-image-gallery.result == 'skipped' || needs.azure-image-gallery-on-tfc.result == 'success' || needs.azure-image-gallery-on-tfc.result == 'skipped')
# (needs.run-run-dot-sh.result == 'success' || needs.run-run-dot-sh.result == 'skipped') &&
# (needs.azure-image-gallery.result == 'success' || needs.azure-image-gallery.result == 'skipped' || needs.azure-image-gallery-on-tfc.result == 'success' || needs.azure-image-gallery-on-tfc.result == 'skipped')
runs-on: ubuntu-latest
container:
image: ghcr.io/${{ github.repository_owner }}/golden-image-builder-container:latest
Expand Down Expand Up @@ -293,7 +293,7 @@ jobs:
packer-build:
needs: azure-image-gallery
if: |
always() &&
# always() &&
(needs.run-run-dot-sh.result == 'success' || needs.run-run-dot-sh.result == 'skipped') &&
(needs.azure-image-gallery.result == 'success' || needs.azure-image-gallery.result == 'skipped' || needs.azure-image-gallery-on-tfc.result == 'success' || needs.azure-image-gallery-on-tfc.result == 'skipped')
runs-on: ubuntu-latest
Expand Down

0 comments on commit c85b8a3

Please sign in to comment.