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

Build nightlies from this repository #1776

Closed
legoktm opened this issue Jan 18, 2024 · 0 comments · Fixed by #1781
Closed

Build nightlies from this repository #1776

legoktm opened this issue Jan 18, 2024 · 0 comments · Fixed by #1781
Assignees
Labels
⚙️ Tooling Improving maintainability and increasing maintainer joy : )

Comments

@legoktm
Copy link
Member

legoktm commented Jan 18, 2024

We should now be able to move nightlies out of the securedrop-builder repository and into this one. The basic workflow should be the same:

  • Bump version with dch
  • Build debs
  • Copy to sd-apt-test
  • git push

I think it should be possible to have github-actions do the push (instead of configuring sdcibot and provisioning an SSH key), but it may require an admin to give the job access to a token with write access to the apt-test repository.

The job also invokes the clean-old-packages.py script; that should probably be moved to the apt-test repository itself.

@legoktm legoktm added the ⚙️ Tooling Improving maintainability and increasing maintainer joy : ) label Jan 18, 2024
@legoktm legoktm self-assigned this Feb 5, 2024
@legoktm legoktm moved this to In Progress in SecureDrop dev cycle Feb 5, 2024
legoktm added a commit that referenced this issue Feb 5, 2024
As part of our monorepo consolidation, we're moving the nightly package
building from the securedrop-builder repository to here. The overall
process is the same, we build the packages for bullseye and bookworm,
then push buildinfo files and then push debs.

Some changes:
* nightlies will not be pushed if the bookworm job fails. This is
  largely to simplify the configuration and also because we're going to
  move to bookworm pretty soon.
* Authentication will be done via a GitHub token, which will be
  configured by infra.

Fixes #1776.
legoktm added a commit that referenced this issue Feb 5, 2024
As part of our monorepo consolidation, we're moving the nightly package
building from the securedrop-builder repository to here. The overall
process is the same, we build the packages for bullseye and bookworm,
then push buildinfo files and then push debs.

Some changes:
* nightlies will not be pushed if the bookworm job fails. This is
  largely to simplify the configuration and also because we're going to
  move to bookworm pretty soon.
* Authentication will be done via a GitHub token, which will be
  configured by infra.
* Running `clean-old-packages` will happen via the securedrop-apt-test
  repository itself instead of during nightly builds.

Fixes #1776.
legoktm added a commit that referenced this issue Feb 5, 2024
As part of our monorepo consolidation, we're moving the nightly package
building from the securedrop-builder repository to here. The overall
process is the same, we build the packages for bullseye and bookworm,
then push buildinfo files and then push debs.

Some changes:
* nightlies will not be pushed if the bookworm job fails. This is
  largely to simplify the configuration and also because we're going to
  move to bookworm pretty soon.
* Authentication will be done via a GitHub token, which will be
  configured by infra.
* Running `clean-old-packages` will happen via the securedrop-apt-test
  repository itself instead of during nightly builds.

Fixes #1776.
@github-project-automation github-project-automation bot moved this from In Progress to Done in SecureDrop dev cycle Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚙️ Tooling Improving maintainability and increasing maintainer joy : )
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant