-
Notifications
You must be signed in to change notification settings - Fork 105
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
If git fails to push, it will not stop retrying #89
Comments
What do you mean that "the step was running over and over again"? In our case, Concourse doesn't have permission to write to However, the Since we have no idea the Configuration (Concourse v 5.7.0) is: resources:
- name: library-version
type: semver
source:
branch: develop
driver: git
file: src/version.txt
private_key: ((bitbucket-repo-private-key))
uri: ssh://git@domain:1234/project/repo.git
jobs:
- name: job-build-packages
serial: true
plan:
- get: library-version
params:
bump: patch
- put: library-version
params:
file: library-version/version Output of
The contents of |
I was seeing messages like these: #38 (comment) And job would not terminate. Also, when you say that
how can you guarantee that? What will happen if you were to do this:
Will that push your commit or will it be denied? |
We have manually triggered jobs to bump to a new major, minor or patch version. The semver resource has 0.0.1 as the initial version, git as the driver and an SSH access key to Bitbucket Cloud. But we overlooked that an SSH access key on Bitbucket Cloud only provides read access to the repository. Below you can see two green runs of the The job reports success, but the push to Bitbucket Cloud clearly fails. This kind of error should be reported as an error in the job as well IMO. |
Had a situation, where the user that was pushing to our git repo didn't have push rights to a restricted branch. As a result, the step was running over and over again. There was no helpful information as to what was happening.
I think it would be nice if errors from git were surfaced to the logs and retry had a limit.
The text was updated successfully, but these errors were encountered: