Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency carvel-dev/vendir to v0.39.0 #8

Merged
merged 2 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN curl -sL https://github.com/cloudfoundry/bosh-cli/releases/download/v${BOSH_
install /dev/stdin /usr/local/bin/bosh && bosh --version

# renovate: datasource=github-releases depName=carvel-dev/vendir
ENV VENDIR_VERSION=0.38.0
ENV VENDIR_VERSION=0.39.0
RUN curl -sL https://github.com/carvel-dev/vendir/releases/download/v${VENDIR_VERSION}/vendir-linux-amd64 | \
install /dev/stdin /usr/local/bin/vendir && vendir -v

Expand Down
7 changes: 5 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,17 @@ set -e

# extract info
if [[ "$GITHUB_REF" == refs/tags/* ]]; then
echo "tag detected: $GITHUB_REF"
version=${GITHUB_REF#refs/tags/}
version=${version#v}
tag_version=v${version}
release=true
elif [[ "$GITHUB_REF" == refs/heads/* ]]; then
version=${GITHUB_REF#refs/heads/}
echo "Head ref detected: $GITHUB_REF"
version=$(echo ${GITHUB_REF#refs/heads/}|tr '/' '_') # Replace / with _ to support PR like renovate/xxxxx
release=false
elif [[ "$GITHUB_REF" == refs/pull/* ]]; then
echo "PR detected: $GITHUB_REF"
pull_number=$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH")
version=pr-${pull_number}
release=false
Expand Down Expand Up @@ -102,7 +105,7 @@ else
echo "::warning::AWS_BOSH_ACCES_KEY_ID not set, skipping config/private.yml"
fi

echo "creating bosh release: ${name}-${version}.tgz"
echo "creating bosh release (name: ${name} - version: ${version}): ${name}-${version}.tgz"
if [ "${release}" == "true" ]; then
bosh create-release --final --version="${version}" --tarball="${name}-${version}".tgz --force # --force is required to ignore dev_releases/ dir, created during final release
else
Expand Down
Loading