diff --git a/.github/workflows/boulder-ci.yml b/.github/workflows/boulder-ci.yml index 13b59d0c7..2c0b56235 100644 --- a/.github/workflows/boulder-ci.yml +++ b/.github/workflows/boulder-ci.yml @@ -42,7 +42,7 @@ jobs: # Tests command definitions. Use the entire "docker compose" command you want to run. tests: # Run ./test.sh --help for a description of each of the flags. - - "./t.sh --lints --generate --make-artifacts" + - "./t.sh --lints --generate" - "./t.sh --integration && ./test/test-caa-log-checker.sh" # Testing Config Changes: # Config changes that have landed in main but not yet been applied to diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ebeac8d91..cfce6eb60 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,7 +30,7 @@ jobs: id: build env: GO_VERSION: ${{ matrix.GO_VERSION }} - run: ./tools/make-deb.sh + run: ./tools/make-assets.sh - name: Create release env: @@ -43,4 +43,4 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # https://cli.github.com/manual/gh_release_upload - run: gh release upload "${GITHUB_REF_NAME}" boulder*.deb + run: gh release upload "${GITHUB_REF_NAME}" boulder*.deb boulder*.tar.gz diff --git a/.github/workflows/try-release.yml b/.github/workflows/try-release.yml index 076c7ee3d..effd71d61 100644 --- a/.github/workflows/try-release.yml +++ b/.github/workflows/try-release.yml @@ -28,4 +28,4 @@ jobs: id: build env: GO_VERSION: ${{ matrix.GO_VERSION }} - run: ./tools/make-deb.sh + run: ./tools/make-assets.sh diff --git a/test.sh b/test.sh index 38fe033fb..5517be9eb 100755 --- a/test.sh +++ b/test.sh @@ -111,7 +111,6 @@ With no options passed, runs standard battery of tests (lint, unit, and integrat -s, --start-py Adds start to the list of tests to run -v, --gomod-vendor Adds gomod-vendor to the list of tests to run -g, --generate Adds generate to the list of tests to run - -m, --make-artifacts Adds make-artifacts to the list of tests to run -o, --list-integration-tests Outputs a list of the available integration tests -f , --filter= Run only those tests matching the regular expression @@ -128,7 +127,7 @@ With no options passed, runs standard battery of tests (lint, unit, and integrat EOM )" -while getopts lueciosvgmnhp:f:-: OPT; do +while getopts lueciosvgnhp:f:-: OPT; do if [ "$OPT" = - ]; then # long option: reformulate OPT and OPTARG OPT="${OPTARG%%=*}" # extract long option name OPTARG="${OPTARG#$OPT}" # extract long option argument (may be empty) @@ -145,7 +144,6 @@ while getopts lueciosvgmnhp:f:-: OPT; do s | start-py ) RUN+=("start") ;; v | gomod-vendor ) RUN+=("gomod-vendor") ;; g | generate ) RUN+=("generate") ;; - m | make-artifacts ) RUN+=("make-artifacts") ;; n | config-next ) BOULDER_CONFIG_DIR="test/config-next" ;; h | help ) print_usage_exit ;; ??* ) exit_msg "Illegal option --$OPT" ;; # bad long option @@ -286,12 +284,6 @@ if [[ "${RUN[@]}" =~ "$STAGE" ]] ; then run_and_expect_silence git diff --exit-code . fi -STAGE="make-artifacts" -if [[ "${RUN[@]}" =~ "$STAGE" ]]; then - print_heading "Running Make Artifacts" - make deb rpm tar -fi - # Because set -e stops execution in the instance of a command or pipeline # error; if we got here we assume success STATUS="SUCCESS" diff --git a/tools/make-deb.sh b/tools/make-assets.sh similarity index 92% rename from tools/make-deb.sh rename to tools/make-assets.sh index d42319ea6..812f56a3d 100755 --- a/tools/make-deb.sh +++ b/tools/make-assets.sh @@ -38,5 +38,5 @@ export ARCHIVEDIR="${PWD}" # Set $VERSION to be a simulacrum of what is set in other build environments. export VERSION="${GO_VERSION}.$(date +%s)" -# Build Boulder and produce a Debian Package at $PWD. -make deb +# Build Boulder and produce an RPM, a .deb, and a tar.gz file in $PWD. +make rpm deb tar