Skip to content

Commit 8da303c

Browse files
committed
.cci.Jenkinsfile: don't use dev profile for CI testing
The debug binaries are much larger and we were running out of space in some tests such as the `ext.config.rpm-ostree.kernel-replace` test. Use the release profile here which creates much smaller binaries.
1 parent 86279e7 commit 8da303c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.cci.jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ buildPod {
99
checkout scm
1010

1111
stage("Build") {
12-
shwrap("make && make install DESTDIR=install")
12+
shwrap("make RELEASE=1 && make install RELEASE=1 DESTDIR=install")
1313
stash name: 'build', includes: 'install/**'
1414
}
1515
}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ifeq ($(RELEASE),1)
88
else
99
PROFILE ?= debug
1010
CARGO_ARGS = --features docgen
11-
# In debug mode (most often used by devs/CI), we default to stripping
11+
# In debug mode (most often used by devs), we default to stripping
1212
# `rdcore` because it's otherwise huge and in kola's default 1G VMs can
1313
# cause ENOSPC. In release mode (most often used by Koji/Brew), we don't do
1414
# this because the debuginfo gets split out anyway. In either profile,

docs/release-notes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Minor changes:
1515
Internal changes:
1616

1717
- Add initial TMT tests and a new workflow to execute tests on PRs
18+
- Use release profile for smaller binaries in CI testing
1819

1920
Packaging changes:
2021

0 commit comments

Comments
 (0)