Skip to content

ci: refactor debian build - #115

Draft
Lewluu wants to merge 6 commits into
mainfrom
ci/update-debian-packaging
Draft

Lewluu wants to merge 6 commits into
mainfrom
ci/update-debian-packaging

Conversation

@Lewluu

@Lewluu Lewluu commented Nov 10, 2026

Copy link
Copy Markdown

Refactor CI for debian build. Now using the shared action instead of local script. Restructure folders to follow the shared action convention

@Lewluu
Lewluu force-pushed the ci/update-debian-packaging branch 6 times, most recently from b63a831 to cc39eeb Compare November 10, 2026 12:58
Refactor CI for debian build. Now using the shared action
instead of local script. Restructure folders to follow
the shared action convention. Adding workflow dispatch
event for validaiton purpose.

Signed-off-by: Lewluu <iuliuantoniu@gmail.com>
@Lewluu
Lewluu force-pushed the ci/update-debian-packaging branch from cc39eeb to 8aa6800 Compare November 10, 2026 13:12
@Lewluu
Lewluu marked this pull request as ready for review November 10, 2026 13:15
@Lewluu Lewluu self-assigned this Nov 10, 2026
@Lewluu
Lewluu requested a review from NicuS03 November 10, 2026 13:15
@SRaus
SRaus requested review from SRaus and mlradu November 16, 2026 10:17
Comment thread packaging/debian/control Outdated
Section: utils
Priority: optional
Maintainer: Engineerzone <https://ez.analog.com/sw-interface-tools>
Maintainer: EngineerZone <linux@analog.com>

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.

There are 2 places where there is specified "Engineer Zone" and next to it is the mail address - linux@analog.com.

It doesn't make too much sense - EZ is a discussion forum, having its own link, and there is no associated mail address to it.
On the other hand, the email address (linux@analog.com) is completely different than the forum - there should be a generic ADI user associated with it. for example, you may have something like:

  • ADI DEB Maintainer linux@analog.com OR
  • Analog Devices DEB Maintainer linux@analog.com etc

Do you know if the rest of DEB packages have the same implementation (EngineerZone <linux@analog.com>)?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

As far as I know, "EngineerZone linux@analog.com" was the current convention used where I was involved. Replacing the name of the owner as well.

Comment thread packaging/debian/control

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.

The guideline is to not make file renaming and changes in the same commit! Keep actions of moving/renaming files in a separate commit.

Comment thread .github/workflows/build_gt.yml Outdated
Comment on lines +66 to +69
ls "${{env.APP_NAME}}/packaging/debian"
# debug: show what the deb build will see
ls -la "${{env.APP_NAME}}"
ls "${{env.APP_NAME}}/source" | head

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.

Are the debugging information still needed?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

nope. thanks for pointing it out.

Comment thread .github/workflows/build_gt.yml Outdated
if: ${{ matrix.architecture == 'arm64' }}
run: apt-get update && apt-get install -y curl ca-certificates sudo
# The shared-action is compatible only with amd64/arm64 - armhf runs the
# same build-deb.sh manually inside an emulated container.

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.

Probably "manually" is not the best keyword here :)
[...] runs the same build-deb.sh manually [...]

Comment thread CI/gt_deb_scripts/README.md Outdated

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.

Wouldn't make sense to let a ReadMe file here where to shortly describe how the flow is working ?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

One of the purposes of refactoring the debian packaging was to use analogdevicesinc/deb-generator-action across multiple repos and get rid of specific or repetitive scripts. In this case, was the whole CI/gt_deb_scripts. Keeping both, the path and the shared action, would create confusion, and as consequence that readme is deleted as well. I may re-create its documentation in another .md file.

@Lewluu

Lewluu commented Nov 20, 2026

Copy link
Copy Markdown
Author

Update: After latest discussions, I need to separate the workflow into 2 different files or jobs. One for packaging current repository, and the other one for packaging gt repository (there is already another branch with partial implementation). Furthermore, now the versioning for debian metadata is settled up and maintainers naming convention as well.

@Lewluu
Lewluu marked this pull request as draft November 23, 2026 15:01
Re-add linux-adi-image-scripts debian creation, based
on existing solution on kuiper2.0 branch, using newly
added debian features and conventions

Signed-off-by: Lewluu <iuliuantoniu@gmail.com>
Re-ad gt repository debian creation using newly features
and conventions, now having two separate workflows.

Signed-off-by: Lewluu <iuliuantoniu@gmail.com>
Refactor workflow structure and logic in separate
scripts for some steps. Now keeping the worfklows cleaner.

Signed-off-by: Lewluu <iuliuantoniu@gmail.com>
@Lewluu
Lewluu force-pushed the ci/update-debian-packaging branch from 2b62e84 to e468fba Compare November 24, 2026 11:02
Signed-off-by: Lewluu <iuliuantoniu@gmail.com>
@Lewluu
Lewluu force-pushed the ci/update-debian-packaging branch 9 times, most recently from e125214 to 6ad4593 Compare November 25, 2026 08:32
@Lewluu
Lewluu force-pushed the ci/update-debian-packaging branch 22 times, most recently from ec30f11 to 449dda3 Compare November 26, 2026 14:15
Syncing gt and adi-scirpts debian workflows. Adi-scripts
needs gt debian package for installing and testing its debian
first. Using cloudsmith debian setup for solving this and
installing the gt debian package directly from repository.

Signed-off-by: Lewluu <iuliuantoniu@gmail.com>
@Lewluu
Lewluu force-pushed the ci/update-debian-packaging branch from 449dda3 to ca58633 Compare November 27, 2026 08:23
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