Skip to content

Moved last two needed scripts from mender-qa to buildscripts#2353

Merged
craigcomstock merged 4 commits into
cfengine:masterfrom
craigcomstock:ent-11241/master
Jul 22, 2026
Merged

Moved last two needed scripts from mender-qa to buildscripts#2353
craigcomstock merged 4 commits into
cfengine:masterfrom
craigcomstock:ent-11241/master

Conversation

@craigcomstock

Copy link
Copy Markdown
Contributor
  • Moved create_swap_file.sh and initialize-user-data.sh from mender-qa/scripts to buildscripts/ci
  • Remove SSH port forwarding from initialization script
  • Tidied up initialize-user-data.sh and initialize-build-host.sh scripts for move from mender-qa to buildscripts

…scripts to buildscripts/ci

Ticket: ENT-11241
Changelog: none
Taken from mender-qa commit c4eb419bf32ad9b840e794dc5ec781c846e8ff22

Ticket: ENT-11241
Changelog: none
…s for move from mender-qa to buildscripts

Ticket: ENT-11241
Changelog: none
Comment thread ci/initialize-user-data.sh
@craigcomstock
craigcomstock marked this pull request as draft July 17, 2026 20:55
… do not need rust

We don't build leech2 with rust on bootstrap machines.
Any machine building leech2 will support CFEngine 3.23 or newer as guarded by the macro.

Ticket: ENT-11241
Changelog: none
@craigcomstock
craigcomstock marked this pull request as ready for review July 22, 2026 19:54
expression => not(fileexists("/etc/cfengine-in-container.flag")),
comment => "We use an explicit flag file that we control to avoid ambiguity about whether we are in a container or not.";

@if minimum_version(3.23)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Heh, I see why but wasnt expecting a macro for that.

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.

yup :)

@craigcomstock
craigcomstock merged commit e7c7d6f into cfengine:master Jul 22, 2026
1 check passed
@craigcomstock
craigcomstock deleted the ent-11241/master branch July 22, 2026 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants