Skip to content

chore: Update mender-artifact arguments to match latest version#1939

Open
elkoniu wants to merge 1 commit into
mendersoftware:masterfrom
elkoniu:MEN-9344
Open

chore: Update mender-artifact arguments to match latest version#1939
elkoniu wants to merge 1 commit into
mendersoftware:masterfrom
elkoniu:MEN-9344

Conversation

@elkoniu
Copy link
Copy Markdown
Contributor

@elkoniu elkoniu commented Apr 20, 2026

In the latest version of mender-artifact parameter --device-type has been replaced with --compatible-types. This requires update all mender-artifact calls which still use old version of argument name.

Ticket: MEN-9344

@elkoniu elkoniu requested a review from danielskinstad April 20, 2026 20:01
@mender-test-bot
Copy link
Copy Markdown

@elkoniu, start a full client pipeline with:

  • mentioning me and start client pipeline

my commands and options

You can prevent me from automatically starting CI pipelines:

  • if your pull request title starts with "[NoCI] ..."

You can trigger a client pipeline on multiple prs with:

  • mentioning me and start client pipeline --pr mender/127 --pr mender-connect/255

You can trigger a client pipeline for a specific Mender Client release with:

  • mentioning me and start client pipeline --release 6.0.x (can be given multiple times)
  • by default, a pipeline is triggered for each supported release the component is a part of

You can trigger GitHub->GitLab branch sync with:

  • mentioning me and sync

You can print PR statistics for a repository with:

  • mentioning me and print fast pr stats (Team stats only)
  • mentioning me and print full pr stats (Detailed report)
  • options: --repo <repo>, --team <name>, --all-repos, --exclude-drafts, --exclude-user <user>
  • mentioning me and print full pr stats --repo mender --all-repos --exclude-drafts

You can cherry pick to a given branch or branches with:

  • mentioning me and:
 cherry-pick to:
 * 1.0.x
 * 2.0.x

@elkoniu elkoniu changed the title feat: Update mender-artifact arguments to match latest version chore: Update mender-artifact arguments to match latest version Apr 22, 2026
@elkoniu
Copy link
Copy Markdown
Contributor Author

elkoniu commented Apr 22, 2026

@mender-test-bot start client pipeline

@mender-test-bot
Copy link
Copy Markdown

Hello 😺 I created a pipeline for you here: Pipeline-2472581725

Build Configuration Matrix

Key Value
BUILD_BEAGLEBONEBLACK true
BUILD_CLIENT true
BUILD_QEMUX86_64_BIOS_GRUB true
BUILD_QEMUX86_64_BIOS_GRUB_GPT true
BUILD_QEMUX86_64_UEFI_GRUB true
BUILD_VEXPRESS_QEMU true
BUILD_VEXPRESS_QEMU_FLASH true
BUILD_VEXPRESS_QEMU_UBOOT_UEFI_GRUB true
INTEGRATION_REV master
MENDER_BINARY_DELTA_REV master
MENDER_CLIENT_SUBCOMPONENTS_REV main
MENDER_CONFIGURE_MODULE_REV master
MENDER_CONNECT_REV master
MENDER_CONTAINER_MODULES_REV main
MENDER_FLASH_REV master
MENDER_REV pull/1939/head
MONITOR_CLIENT_REV master
RUN_INTEGRATION_TESTS true
TEST_QEMUX86_64_BIOS_GRUB true
TEST_QEMUX86_64_BIOS_GRUB_GPT true
TEST_QEMUX86_64_UEFI_GRUB true
TEST_VEXPRESS_QEMU true
TEST_VEXPRESS_QEMU_FLASH true
TEST_VEXPRESS_QEMU_UBOOT_UEFI_GRUB true

Copy link
Copy Markdown
Contributor

@danielskinstad danielskinstad left a comment

Choose a reason for hiding this comment

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

The change in the single-file-artifact-gen looks good to me. Please do the same in directory-artifact-gen.

A quick grep returned:

Documentation/automatic-bootstrap-artifact.md
tests/src/artifact/v3/header/header_test.cpp
tests/src/mender-update/update_module/v3/update_module_test.cpp
tests/src/mender-update/daemon/state_test.cpp
tests/src/mender-update/cli/cli_test.cpp
tests/Dockerfile.daemon
support/modules-artifact-gen/directory-artifact-gen

please check this and update where necessary

Please also check for -t, e.g. in

mender-artifact --compression none write rootfs-image --no-progress -t test-device -n test-artifact -f ${DIRNAME}/testdata -o ${DIRNAME}/test-artifact-no-compression.mender || exit 1
(might be other places as well)

@elkoniu elkoniu force-pushed the MEN-9344 branch 2 times, most recently from a806fc2 to cc7b06d Compare May 20, 2026 09:24
@elkoniu elkoniu requested a review from a team as a code owner May 20, 2026 09:24
In the latest version of mender-artifact parameter `--device-type` has
been replaced with `--compatible-types`. This requires update all
mender-artifact calls which still use old version of argument name.

Ticket: MEN-9344

Signed-off-by: Paweł Poławski <pawel.polawski@northern.tech>
@elkoniu
Copy link
Copy Markdown
Contributor Author

elkoniu commented May 20, 2026

@mender-test-bot start client pipeline

@mender-test-bot
Copy link
Copy Markdown

Hello 😺 I created a pipeline for you here: Pipeline-2539957077

Build Configuration Matrix

Key Value
BUILD_BEAGLEBONEBLACK true
BUILD_CLIENT true
BUILD_QEMUX86_64_BIOS_GRUB true
BUILD_QEMUX86_64_BIOS_GRUB_GPT true
BUILD_QEMUX86_64_UEFI_GRUB true
BUILD_VEXPRESS_QEMU true
BUILD_VEXPRESS_QEMU_FLASH true
BUILD_VEXPRESS_QEMU_UBOOT_UEFI_GRUB true
INTEGRATION_REV master
MENDER_BINARY_DELTA_REV master
MENDER_CLIENT_SUBCOMPONENTS_REV main
MENDER_CONFIGURE_MODULE_REV master
MENDER_CONNECT_REV master
MENDER_CONTAINER_MODULES_REV main
MENDER_FLASH_REV master
MENDER_REV pull/1939/head
MONITOR_CLIENT_REV master
RUN_INTEGRATION_TESTS true
TEST_QEMUX86_64_BIOS_GRUB true
TEST_QEMUX86_64_BIOS_GRUB_GPT true
TEST_QEMUX86_64_UEFI_GRUB true
TEST_VEXPRESS_QEMU true
TEST_VEXPRESS_QEMU_FLASH true
TEST_VEXPRESS_QEMU_UBOOT_UEFI_GRUB true

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.

3 participants