Skip to content

Conversation

@pablomendezroyo
Copy link
Contributor

Add build of ubuntu ISO unattended, calculate its shashum and upload both files to dappnode server

@pablomendezroyo pablomendezroyo requested a review from a team as a code owner September 4, 2025 07:46
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR enables the building of Ubuntu ISOs in the CI/CD pipeline by uncommenting previously disabled workflow steps. It adds the Ubuntu unattended ISO build process, checksum calculation, and automated upload to the server alongside the existing Debian ISO workflow.

  • Uncommented Ubuntu ISO build, checksum, and upload steps in the GitHub Actions workflow
  • Added automated upload of Ubuntu unattended ISO and its checksum to the SSH server
  • Integrated Ubuntu ISO processing into the existing release workflow

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

target: ${{ secrets.ISO_SSH_PATH }}
overwrite: true
env:
SHASUM_UBUNTU_UNATTENDED: ${{ steps.shasum-ubuntu-unattended.outputs.SHASUM_UBUNTU_UNATTENDED }}
Copy link

Copilot AI Sep 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The SHASUM_UBUNTU_UNATTENDED environment variable is removed from the 'Write release content' step but is still referenced in the 'Upload Ubuntu unattended to SSH server' step. This creates an inconsistency where the shasum is calculated but not included in the release content.

Copilot uses AI. Check for mistakes.
username: ${{ secrets.ISO_SSH_USER }}
key: ${{ secrets.ISO_SSH_PRIVATE_KEY }}
port: ${{ secrets.SSH_PORT }}
source: "SHASUM_UBUNTU_UNATTENDED|./images/Dappnode-*-ubuntu-*-unattended.iso"
Copy link

Copilot AI Sep 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The source parameter appears to reference 'SHASUM_UBUNTU_UNATTENDED' as a file path, but this is an environment variable containing the checksum value, not a file. The scp-action expects file paths in the source parameter.

Copilot uses AI. Check for mistakes.
@pablomendezroyo pablomendezroyo merged commit 9362e51 into master Sep 4, 2025
8 checks passed
@pablomendezroyo pablomendezroyo deleted the pablo/add-ubuntu branch September 4, 2025 08:52
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