Skip to content

ENT-12600: bootstrap-tarballs: Document script#1757

Merged
larsewi merged 9 commits into
cfengine:masterfrom
larsewi:bootstrap-tarballs
Jul 29, 2025
Merged

ENT-12600: bootstrap-tarballs: Document script#1757
larsewi merged 9 commits into
cfengine:masterfrom
larsewi:bootstrap-tarballs

Conversation

@larsewi
Copy link
Copy Markdown
Contributor

@larsewi larsewi commented Jun 19, 2025

Example output:

$ BUILD_TYPE=DEBUG ./buildscripts/build-scripts/bootstrap-tarballs
 ---snip---
bootstrap-tarballs: Debug: Running configure on core repository...
bootstrap-tarballs: Debug: Running make dist on core repository...
bootstrap-tarballs: Debug: Running make distclean on core repository...
bootstrap-tarballs: Debug: Running configure on masterfiles repository...
bootstrap-tarballs: Debug: Running make dist on masterfiles repository...
bootstrap-tarballs: Debug: Running make tar-package on masterfiles repository...
bootstrap-tarballs: Debug: Running make distclean on masterfiles repository...
bootstrap-tarballs: Debug: Installing javascript dependencies...
bootstrap-tarballs: Debug: Installing PHP dependencies from mission-portal repository...
bootstrap-tarballs: Debug: Installing PHP dependencies from nova repository...
bootstrap-tarballs: Debug: Compiling Mission Portal styles...
bootstrap-tarballs: Debug: Installing LDAP API dependencies...

I snipped out noise from sourced scripts.

With exotics (no tests)
Build Status

Failures are unrelated:

@larsewi larsewi requested a review from craigcomstock June 19, 2025 11:18
@larsewi larsewi marked this pull request as draft June 19, 2025 11:40
@larsewi larsewi removed the request for review from craigcomstock June 19, 2025 11:40
@larsewi larsewi force-pushed the bootstrap-tarballs branch from b762ba5 to 0bcf793 Compare June 20, 2025 10:02
@larsewi larsewi requested a review from craigcomstock June 20, 2025 10:05
@larsewi larsewi marked this pull request as ready for review June 20, 2025 10:05
Copy link
Copy Markdown
Contributor

@craigcomstock craigcomstock left a comment

Choose a reason for hiding this comment

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

yeah, phew!

Comment thread build-scripts/bootstrap-tarballs Outdated
Comment thread build-scripts/bootstrap-tarballs
Comment thread build-scripts/bootstrap-tarballs Outdated
Comment on lines +122 to +134
if test -f "$BASEDIR"/mission-portal/public/scripts/package.json; then
cd "$BASEDIR"/mission-portal/public/scripts
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.

This change isn't so needed but is fine. I often prefer to avoid the quotes as if more vars enter the expression things get noisy.

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, shellcheck warns about it

Comment thread build-scripts/bootstrap-tarballs Outdated
Comment thread build-scripts/bootstrap-tarballs Outdated
Comment thread build-scripts/bootstrap-tarballs Outdated
Comment thread build-scripts/bootstrap-tarballs Outdated
@larsewi larsewi force-pushed the bootstrap-tarballs branch 2 times, most recently from c172f4b to 2aeef3d Compare July 24, 2025 11:08
@larsewi
Copy link
Copy Markdown
Contributor Author

larsewi commented Jul 24, 2025

Build with exotics (no tests)
Build Status
^ Solaris and AIX failure is unrelated

@larsewi larsewi requested a review from craigcomstock July 24, 2025 11:10
Copy link
Copy Markdown
Contributor

@craigcomstock craigcomstock left a comment

Choose a reason for hiding this comment

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

looking real good!

Comment thread build-scripts/bootstrap-tarballs Outdated
Comment thread build-scripts/bootstrap-tarballs Outdated
Comment thread build-scripts/bootstrap-tarballs Outdated
@larsewi larsewi force-pushed the bootstrap-tarballs branch 2 times, most recently from 990b814 to 91e9173 Compare July 28, 2025 16:04
larsewi added 9 commits July 28, 2025 18:05
Ticket: ENT-12600
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Ticket: ENT-12600
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Ticket: ENT-12600
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
I feel like the installation of dependencies does not belong here. Maybe
they should go in to the install-dependencies script?

Ticket: ENT-12600
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
The use of `|| true` will cause an error message to be printed by `rm`
which may lead QA personnel to believe that there is something wrong
while there is not. -f will simply ignore nonexistent files.

```
rm: cannot remove 'nosuchfile': No such file or directory
```

Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
Added a comment to the top of the file explaining what the script does
and how you can run it.

Ticket: ENT-12600
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
@larsewi larsewi force-pushed the bootstrap-tarballs branch from 91e9173 to d586645 Compare July 28, 2025 16:05
@larsewi larsewi requested a review from craigcomstock July 28, 2025 16:15
@larsewi larsewi changed the title bootstrap-tarballs: Document script ENT-12600: bootstrap-tarballs: Document script Jul 28, 2025
Copy link
Copy Markdown
Contributor

@craigcomstock craigcomstock left a comment

Choose a reason for hiding this comment

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

awesome.

@larsewi larsewi merged commit c975c02 into cfengine:master Jul 29, 2025
1 of 2 checks passed
@larsewi larsewi deleted the bootstrap-tarballs branch October 2, 2025 14:39
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