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

packages: APT repo in R2 #110

Merged
merged 3 commits into from
Jul 3, 2024
Merged

packages: APT repo in R2 #110

merged 3 commits into from
Jul 3, 2024

Conversation

alltilla
Copy link
Member

@alltilla alltilla commented May 19, 2024

Depends on #107

Example config:

storage:
  vendor: "s3"
  incoming:
    all:
      endpoint: "https://foobar.r2.cloudflarestorage.com"
      bucket: "axosyslog-apt-incoming"
      access-key: "foobar"
      secret-key: "foobar"
  indexed:
    all:
      endpoint: "https://foobar.r2.cloudflarestorage.com"
      bucket: "axosyslog-apt-indexed"
      access-key: "foobar"
      secret-key: "foobar"

cdn:
  vendor: "cloudflare"
  all:
    zone-id: "foobar"
    api-token: "foobar"

gpg-key-path: "/home/runner/work/axosyslog/axosyslog/packaging/package-indexer/axosyslog_signing_key.sub.priv.asc"

Example run: https://github.com/alltilla/axosyslog/actions/runs/9147374885

@MrAnno
Copy link
Member

MrAnno commented May 19, 2024

TODO:

  • an AxoSyslog PGP key (certify-only master key + sign-only subkey)
  • store signing subkey as a secret
  • public R2 bucket on a subdomain, access keys stored as a secret
  • public signing key shared on subdomain
  • (+ optionally on https://keys.openpgp.org)
  • update PR with all the above
  • re-enable package upload in draft-release

I think it looks better in the CI run page.

Signed-off-by: Attila Szakacs <[email protected]>
This is not strictly necessary as we set an
absolute path in the config, but it is a nice
feature, I think.

Signed-off-by: Attila Szakacs <[email protected]>
@MrAnno MrAnno merged commit f29a1f7 into axoflow:main Jul 3, 2024
23 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.

2 participants