Skip to content

Prepare debian packages for Nexus 3 hosting#719

Open
GabyUnalaq wants to merge 13 commits intomainfrom
apt_on_nexus
Open

Prepare debian packages for Nexus 3 hosting#719
GabyUnalaq wants to merge 13 commits intomainfrom
apt_on_nexus

Conversation

@GabyUnalaq
Copy link
Copy Markdown
Contributor

@GabyUnalaq GabyUnalaq commented Mar 25, 2026

Description

This PR adds script for creating and uploading Ankaios debian packages to Eclipse Nexus 3.

Technicalities

  1. the debian packages are created on Ubuntu 22.04, which makes them compatible with any distro that has at least glibc 2.35. This includes Ubuntu 22.04+, Debian 12+, RHEL 10+ and more.
  2. The binary packages are uploaded to Nexus while the src package is published as an artifact for the moment.
  3. The release triggers the build and publish of the debian packages automatically. Manual runs can also be made.

Tasks

  • Implement scripts
  • Implement actions
  • Test the actions (Runs can be seen in my fork: build&publish and remove)
  • Add installation instructions to the docs

Definition of Done

The PR shall be merged only if all items mentioned in CONTRIBUTING.md have been followed. In case an item is not applicable as described, please provide a short explanation in the description.

@GabyUnalaq GabyUnalaq self-assigned this Mar 25, 2026
@GabyUnalaq GabyUnalaq added documentation Improvements or additions to documentation. Issue will appear in the change log "Documentation" enhancement New feature or request. Issue will appear in the change log "Features" CI/CD arch/design-review An architecture or design review is required for this PR. labels Mar 26, 2026
@windsource windsource self-requested a review March 27, 2026 07:57
@windsource
Copy link
Copy Markdown
Contributor

What about moving .github/scripts/debian to tools/debian such to only have one place for scripts? I know that the scripts in the debian folder are only used during CI builds but the same is valid for e.g. tools/create_release.sh.

local description="$1" bin_dir="$2" exec_name="$3" log_level="$4"
cat > "$BASE_DIR/debian/$exec_name.service" << EOF
[Unit]
Description=${description}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
Description=${description}
Description=${description}
After=network-online.target
Wants=network-online.target

We should wait until the network is available.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Should this be implemented for all service files, including the ones set by the install script?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes, we should have that consistent.

Source: https://github.com/eclipse-ankaios/ankaios

Files: *
Copyright: 2023 Elektrobit Automotive GmbH
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
Copyright: 2023 Elektrobit Automotive GmbH
Copyright: 2026 Elektrobit Automotive GmbH

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arch/design-review An architecture or design review is required for this PR. CI/CD documentation Improvements or additions to documentation. Issue will appear in the change log "Documentation" enhancement New feature or request. Issue will appear in the change log "Features" ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants