Skip to content

Commit

Permalink
Merge pull request #111 from paketo-community/automation/github-confi…
Browse files Browse the repository at this point in the history
…g/update

Updates github-config
  • Loading branch information
pacostas authored Mar 21, 2024
2 parents 161f396 + 8beb5b7 commit 5633d31
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
1 change: 1 addition & 0 deletions .github/.syncignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
CODEOWNERS
workflows/update-dependencies-from-metadata.yml
workflows/create-draft-release.yml
workflows/push-buildpackage.yml
1 change: 1 addition & 0 deletions scripts/.syncignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
package.sh
build.sh
options.json
2 changes: 1 addition & 1 deletion scripts/.util/builders.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function util::builders::list() {

if [[ -z "${builders}" ]]; then
util::print::info "No builders specified. Falling back to default builder..."
builders="$(jq --compact-output --null-input '["index.docker.io/paketocommunity/builder-ubi-buildpackless-base:0.0.3"]')"
builders="$(jq --compact-output --null-input '["index.docker.io/paketobuildpacks/builder-jammy-buildpackless-base:latest"]')"
fi

echo "${builders}"
Expand Down
15 changes: 8 additions & 7 deletions scripts/integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ USAGE
}

function tools::install() {
local token
token="${1}"

util::tools::pack::install \
--directory "${BUILDPACKDIR}/.bin" \
Expand Down Expand Up @@ -146,14 +148,13 @@ function tests::run() {
util::print::info "Using ${1} as builder..."

export CGO_ENABLED=0
pack config experimental true
pushd "${BUILDPACKDIR}" > /dev/null
if GOMAXPROCS="${GOMAXPROCS:-4}" go test -count=1 -timeout 0 ./integration/... -v -run Integration | tee "${2}"; then
util::print::info "** GO Test Succeeded with ${1}**"
else
util::print::error "** GO Test Failed with ${1}**"
fi
popd >/dev/null
if GOMAXPROCS="${GOMAXPROCS:-4}" go test -count=1 -timeout 0 ./integration/... -v -run Integration | tee "${2}"; then
util::print::info "** GO Test Succeeded with ${1}**"
else
util::print::error "** GO Test Failed with ${1}**"
fi
popd > /dev/null
}

main "${@:-}"

0 comments on commit 5633d31

Please sign in to comment.