Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added logging to diagnose CI build failures #532

Merged
merged 4 commits into from
Oct 25, 2023

Conversation

fheinecke
Copy link
Contributor

It looks like CI push builds to master are periodically failing, leaving releases in a bad state:

When this happens a new chart version is published, but a new tag is not cut. This can cause issues with downstream projects that use this service, and makes it difficult to tell what changes are included in a given release.

It looks like the issue is caused by some form of intermittent permissions issue. I have not been able to reproduce this on my local fork, but I also cannot fully test the workflow as it requires access to other services (such as dockerhub) that my fork does not have. This PR does not attempt to solve the issue, but attempts to add some logging information to help determine the root cause.

@github-actions
Copy link

@fheinecke Image is available for testing. docker pull ghcr.io/stakater/reloader:SNAPSHOT-PR-532-3ca7ec7b

@github-actions
Copy link

@karl-johan-grahn Image is available for testing. docker pull ghcr.io/stakater/reloader:SNAPSHOT-PR-532-1e7507e1

@karl-johan-grahn
Copy link
Contributor

The issue could possibly be that the token need to be persisted, can you instead update the push workflow to:

      - name: Check out code
        uses: actions/checkout@v4
        with:
          token: ${{ secrets.STAKATER_GITHUB_TOKEN }}
          persist-credentials: true
          fetch-depth: 0 # otherwise, you will fail to push refs to dest repo

@github-actions
Copy link

@MuneebAijaz Yikes! You better fix it before anyone else finds out! Build has Failed!

@github-actions
Copy link

@MuneebAijaz Images are available for testing. docker pull ghcr.io/stakater/reloader:SNAPSHOT-PR-532-be0d1dc4\ndocker pull ghcr.io/stakater/reloader:SNAPSHOT-PR-532-UBI-be0d1dc4

@MuneebAijaz MuneebAijaz merged commit c400662 into stakater:master Oct 25, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants