Skip to content

Commit 343ea91

Browse files
committed
Fix defaults in packaging scripts
1 parent 9941f77 commit 343ea91

2 files changed

Lines changed: 5 additions & 11 deletions

File tree

.buildkite/scripts/steps/integration-package.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ source .buildkite/scripts/common.sh
99
#
1010
# Making a change here can affect the released images to agentless, so be cautious.
1111

12-
export USE_PACKAGE_VERSION="true"
1312
export WINDOWS_NPCAP="true"
14-
# Always compile core from this checkout; integration tests and agentless
15-
# release builds must exercise the core from this commit.
16-
export AGENT_CORE_SOURCE=local
1713

1814
mage package

.buildkite/scripts/steps/package.sh

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@ source "${_SELF}/../common.sh"
77

88
mage clean
99

10-
# When MANIFEST_URL is provided (DRA full-package run), download core from the
11-
# manifest. Otherwise compile core from this checkout and read version/snapshot
12-
# from .package-version.
13-
if test -z "${MANIFEST_URL:-}"; then
14-
export AGENT_CORE_SOURCE=local
15-
export USE_PACKAGE_VERSION=true
16-
else
10+
# Default behavior (no MANIFEST_URL): compile core from this checkout and read
11+
# version/snapshot from .package-version (AGENT_CORE_SOURCE=local and
12+
# USE_PACKAGE_VERSION=true are both defaults). When MANIFEST_URL is provided
13+
# (DRA full-package run), download core from the manifest instead.
14+
if [ -n "${MANIFEST_URL:-}" ]; then
1715
export AGENT_CORE_SOURCE=manifest
1816
export USE_PACKAGE_VERSION=false
1917
fi

0 commit comments

Comments
 (0)