Skip to content

Conversation

@alexgg
Copy link
Contributor

@alexgg alexgg commented Jun 17, 2025

Related: https://github.com/product-os/github-runner-vm/pull/253

This will need github-runners to be updated to use the latest github-runner-vm as they are currently in:

  runner-jammy-1:
    image: ghcr.io/product-os/github-runner-vm:3.1.0-jammy

Contributor checklist

Reviewer Guidelines

  • When submitting a review, please pick:
    • 'Approve' if this change would be acceptable in the codebase (even if there are minor or cosmetic tweaks that could be improved).
    • 'Request Changes' if this change would not be acceptable in our codebase (e.g. bugs, changes that will make development harder in future, security/performance issues, etc).
    • 'Comment' if you don't feel you have enough information to decide either way (e.g. if you have major questions, or you don't understand the context of the change sufficiently to fully review yourself, but want to make a comment)

alexgg added 7 commits June 17, 2025 15:36
The memory check before a migration run was not taking into account
that the tmp directory is now compressed ram.

This change approximates the compressed size of the raw image which is
the biggest in the calculation. The rest of the file sizes are left as
is to provide some buffer for approximation failures and not to complicate
the logic excessively.

Change-type: patch
Signed-off-by: Alex Gonzalez <[email protected]>
The logic to assert encrypted partitions was being implemented in a
device specific way as part of cryptsetup - move it to common code so
that this does not need to be re-implemented for every device type.

Change-type: patch
Signed-off-by: Alex Gonzalez <[email protected]>
…erts

Use the shared helper functions to assert encrypted partitions.

Note that the new functions have introduced some refactoring so that
they can be used in the general case.

Change-type: patch
Signed-off-by: Alex Gonzalez <[email protected]>
This is used from the initramfs of flasher devices to erase the disk
of secrets.

Change-type: patch
Signed-off-by: Alex Gonzalez <[email protected]>
Change-type: patch
Signed-off-by: Alex Gonzalez <[email protected]>
@alexgg alexgg marked this pull request as draft June 17, 2025 18:59
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg temporarily deployed to balena-staging.com June 17, 2025 18:59 — with GitHub Actions Inactive
@alexgg alexgg had a problem deploying to sign.balena-cloud.com June 17, 2025 19:00 — with GitHub Actions Failure
@deploynaut
Copy link

deploynaut bot commented Jun 17, 2025

One or more environments require approval before deploying workflow runs.

Maintainers, please inspect changes carefully for improper handling of secrets or other sensitive information.

To approve pending deployments, submit an approved review, or a commented review with /deploy.

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