Skip to content

Added numbered symlinks to build steps for ease of use - #2467

Open
craigcomstock wants to merge 6 commits into
cfengine:masterfrom
craigcomstock:ent-12599/master
Open

Added numbered symlinks to build steps for ease of use#2467
craigcomstock wants to merge 6 commits into
cfengine:masterfrom
craigcomstock:ent-12599/master

Conversation

@craigcomstock

@craigcomstock craigcomstock commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@cf-bottom

Copy link
Copy Markdown

Thanks for submitting a pull request! Maybe @craigcomstock can review this?

@craigcomstock
craigcomstock marked this pull request as ready for review September 2, 2026 16:09
@craigcomstock

Copy link
Copy Markdown
Contributor Author

@cf-bottom jenkins please

@cf-bottom

Copy link
Copy Markdown

@larsewi larsewi left a comment

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.

Nice improvments

Comment thread build-scripts/bootstrap-mission-portal Outdated
Comment thread build-scripts/bootstrap-mission-portal Outdated
Comment thread build-scripts/build-tarballs Outdated
Comment thread build-scripts/unpack-tarballs Outdated
Comment thread Jenkinsfile Outdated
@craigcomstock
craigcomstock force-pushed the ent-12599/master branch 2 times, most recently from 0b42a13 to 57b5998 Compare September 3, 2026 16:55
@craigcomstock

Copy link
Copy Markdown
Contributor Author

Looks like pr-pipeline is not happy. I will debug and make sure this works in both cases: pr-pipeline and build-in-container. 👍

@craigcomstock
craigcomstock marked this pull request as draft September 3, 2026 17:08
@craigcomstock
craigcomstock force-pushed the ent-12599/master branch 3 times, most recently from f5a07bd to d44af5b Compare September 3, 2026 21:56
@craigcomstock

craigcomstock commented Sep 3, 2026

Copy link
Copy Markdown
Contributor Author

Looking awesome in pr-pipeline and 🤞 for in-container build

@craigcomstock
craigcomstock marked this pull request as ready for review September 3, 2026 22:01
@craigcomstock
craigcomstock force-pushed the ent-12599/master branch 2 times, most recently from 8f34e8b to 420d0ce Compare September 4, 2026 16:29
@craigcomstock

craigcomstock commented Sep 4, 2026

Copy link
Copy Markdown
Contributor Author

bootstrap-mission-portal was being skipped due to ROLE != hub in bootstrap-pr jenkins job. I added a check for JOB_NAME=bootstrap-pr.

The numbered steps are symlinks to existing scripts.
The artifacts output directory had to be refactored slightly to work in both containers and regular build hosts.
Some existing scripts were split up or refactored to migrate steps previously in build-in-container-inner.sh to build-script scripts.

Ticket: ENT-12599
Changelog: None

pull better mission portal bootstrap code from old bootstrap-tarballs
Ticket: none
Changelog: none
@olehermanse
olehermanse requested a review from larsewi September 4, 2026 19:52
Comment on lines +31 to +32
# let setup-cfengine-build-host.sh know we are in a container and bootstrapping
RUN touch /etc/cfengine-in-container.flag

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.

WRT this flag file name, I'd maybe distinguish whether we're talking about building CFEngine in a container, or running CFEngine in a container. But no big deal of course.

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.

yeah, makes sense. would be easy to change :)

Comment thread build-scripts/0005-repositories
Comment thread build-scripts/0010-autogen
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.

4 participants