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

Fix setup of GitLab Templates for JFrog for air-gapped environments. #2742

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
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
8 changes: 4 additions & 4 deletions build/gitlab/v2/.setup-jfrog-unix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
- |
if [ -z "${JF_RELEASES_REPO}" ]
then
BASE_URL="https://releases.jfrog.io/artifactory"
BASE_URL="https://releases.jfrog.io/artifactory/jfrog-cli"
AUTH_HEADER=""
echo "Downloading directly from releases.jfrog.io..."
else
Expand All @@ -42,9 +42,9 @@
if echo "${OSTYPE}" | grep -q darwin; then
CLI_OS="mac"
if [[ $(uname -m) == 'arm64' ]]; then
URL="${BASE_URL}/jfrog-cli/v2-jf/${VERSION}/jfrog-cli-mac-arm64/jf"
URL="${BASE_URL}/v2-jf/${VERSION}/jfrog-cli-mac-arm64/jf"
else
URL="${BASE_URL}/jfrog-cli/v2-jf/${VERSION}/jfrog-cli-mac-386/jf"
URL="${BASE_URL}/v2-jf/${VERSION}/jfrog-cli-mac-386/jf"
fi
FILE_NAME="jf"
else
Expand Down Expand Up @@ -77,7 +77,7 @@
exit -1
;;
esac
URL="${BASE_URL}/jfrog-cli/v2-jf/${VERSION}/jfrog-cli-${CLI_OS}-${ARCH}/jf"
URL="${BASE_URL}/v2-jf/${VERSION}/jfrog-cli-${CLI_OS}-${ARCH}/jf"
FILE_NAME="jf"
fi

Expand Down
Loading