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

Missing CI secrets #1

Closed
mpetuska opened this issue Aug 8, 2022 · 11 comments
Closed

Missing CI secrets #1

mpetuska opened this issue Aug 8, 2022 · 11 comments
Assignees

Comments

@mpetuska
Copy link
Contributor

mpetuska commented Aug 8, 2022

The following secrets needs to be added to the repo:

  • SIGNING_KEY: raw GPG signing private key
  • SIGNING_KEY_ID: GPG signing key ID
  • SIGNING_PASSWORD: GPG signing key password (empty secret if none)
  • SONATYPE_USERNAME: Nexus publishing username
  • SONATYPE_PASSWORD: Nexus publishing password or PAT
@mpetuska
Copy link
Contributor Author

mpetuska commented Aug 8, 2022

@patjackson52 ping me when done

@patjackson52
Copy link

@mpetuska these are already added at the org level and should be available with the following names:
image

@mpetuska
Copy link
Contributor Author

mpetuska commented Aug 8, 2022

Ah, awesome. I'll see if I can make it work.

@mpetuska
Copy link
Contributor Author

mpetuska commented Aug 8, 2022

@patjackson52 Hmm, something is not quite right with the org secrets as they won't let me publish to snapshot repo https://github.com/reduxkotlin/redux-kotlin-compose/runs/7730160325?check_suite_focus=true#step:6:160

Could you double check that gpg key is not expired, matches public key on nexus and nexus credentials have sufficient permissions?

@junerver
Copy link

awesome! I directly imported the source code into my demo and it works fine with android jetpack-compose. Hope to see it uploaded to maven central soon, I can't wait to use it in future projects.

@mpetuska
Copy link
Contributor Author

FYI: Publish snapshot job was not working in main repo CI for quite some time https://github.com/reduxkotlin/redux-kotlin/actions/workflows/publish_snapshot.yml

@patjackson52
Copy link

patjackson52 commented Aug 10, 2022 via email

@mpetuska
Copy link
Contributor Author

@patjackson52 no worries, we all get busy sometimes. Just get to it when you eventually can and until then I'm afraid there's not much else I can do.

@mpetuska
Copy link
Contributor Author

@junerver and others - I've published it to gh packages for now under 0.0.1-SNAPSHOT version https://github.com/reduxkotlin/redux-kotlin-compose/actions/runs/2855527881

@mpetuska
Copy link
Contributor Author

@mpetuska
Copy link
Contributor Author

mpetuska commented Jan 13, 2023

@patjackson52 I've done some more digging and now I'm sure the issue has something to do with sonatype.

The credentials are getting propagated properly as seen here.
The snapshot repo is set correctly as well as seen here

I'm not sure why I'm still getting 403

SORTED: Issue was me using new sonatype url with old (pre 2021) account.

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

3 participants