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

[fullrelease] from a drone.ci fails due to missing git auth #452

Open
laur89 opened this issue Oct 14, 2024 · 0 comments
Open

[fullrelease] from a drone.ci fails due to missing git auth #452

laur89 opened this issue Oct 14, 2024 · 0 comments

Comments

@laur89
Copy link

laur89 commented Oct 14, 2024

I'm trying to do a fullrelease from drone CI node with config like:

---
kind: pipeline
type: docker
name: default

steps:
# note zest does everything, including tagging!
- name: version-tag-changelog
  image: python:3-bookworm
  commands:
  - git config --global user.email "[email protected]"
  - git config --global user.name "Zest Releaser"
  - pip install zest.releaser
  - fullrelease --no-input
  when:
    branch:
    - master

This will result in changelog change, and push to git fails with:

INFO: OK to commit this
INFO: Auto-responding 'yes'.
INFO: [master 734674d] Back to development: 0.6.5

 2 files changed, 7 insertions(+), 1 deletion(-)


INFO: OK to push commits to the server?
INFO: Auto-responding 'yes'.
ERROR: exit code 128.

fatal: could not read Username for 'https://github.com': terminal prompts disabled

as expected.

Is there a way to provide git auth in a declarative way?

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

No branches or pull requests

1 participant