Skip to content

Commit

Permalink
release: don't run the tests before release
Browse files Browse the repository at this point in the history
The tests will be run at a later stage as part of the release
automation.

Signed-off-by: Pablo Barbáchano <[email protected]>
  • Loading branch information
pb8o committed Nov 7, 2023
1 parent 4336317 commit 9e0a1b8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
5 changes: 0 additions & 5 deletions tools/devtool
Original file line number Diff line number Diff line change
Expand Up @@ -486,11 +486,6 @@ cmd_build() {
}

function cmd_make_release {
OPTS="--reruns=7"
# run build tests first so that functional tests reuse compilation artifacts
cmd_test -- $OPTS --json-report-file=../test_results/test-report-perf+build.json integration_tests/{build,performance} || die "Tests failed!"
cmd_test -- $OPTS --json-report-file=../test_results/test-report-functional+security.json -n8 --dist=worksteal integration_tests/{functional,security,style} || die "Tests failed!"

run_devctr \
--user "$(id -u):$(id -g)" \
--workdir "$CTR_FC_ROOT_DIR" \
Expand Down
3 changes: 0 additions & 3 deletions tools/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,6 @@ cp -v -t "$RELEASE_DIR" LICENSE NOTICE THIRD-PARTY
check_swagger_artifact src/api_server/swagger/firecracker.yaml "$VERSION"
cp -v src/api_server/swagger/firecracker.yaml "$RELEASE_DIR/firecracker_spec-$VERSION.yaml"

cp -v test_results/test-report-functional+security.json "$RELEASE_DIR/"
cp -v test_results/test-report-perf+build.json "$RELEASE_DIR/"

(
cd "$RELEASE_DIR"
find . -type f -not -name "SHA256SUMS" |sort |xargs sha256sum >SHA256SUMS
Expand Down

0 comments on commit 9e0a1b8

Please sign in to comment.