Skip to content

Commit

Permalink
Create scans of gradle builds (#22583)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Roes authored Feb 9, 2023
1 parent 4f97ad7 commit fd6497c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions tools/bin/release_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ docker login -u "${DOCKER_HUB_USERNAME}" -p "${DOCKER_HUB_PASSWORD}"
source ./tools/bin/bump_version.sh

echo "Building and publishing PLATFORM version $NEW_VERSION for git revision $GIT_REVISION..."
VERSION=$NEW_VERSION SUB_BUILD=PLATFORM ./gradlew clean build
VERSION=$NEW_VERSION SUB_BUILD=PLATFORM ./gradlew publish
VERSION=$NEW_VERSION SUB_BUILD=PLATFORM ./gradlew clean build --scan
VERSION=$NEW_VERSION SUB_BUILD=PLATFORM ./gradlew publish --scan

# Container should be running before build starts
# It generates binaries to build images for different CPU architecture
Expand Down
2 changes: 1 addition & 1 deletion tools/bin/release_version_octavia.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ docker login --username "${DOCKER_HUB_USERNAME}" --password "${DOCKER_HUB_PASSWO
source ./tools/bin/bump_version.sh

echo "Building and publishing OCTAVIA version ${NEW_VERSION} for git revision ${GIT_REVISION}..."
VERSION=$NEW_VERSION SUB_BUILD=OCTAVIA_CLI ./gradlew clean build
VERSION=$NEW_VERSION SUB_BUILD=OCTAVIA_CLI ./gradlew clean build --scan
./octavia-cli/publish.sh ${NEW_VERSION} ${GIT_REVISION}
echo "Completed building and publishing OCTAVIA..."

0 comments on commit fd6497c

Please sign in to comment.