Skip to content

Commit

Permalink
Moved it up to see if it runs
Browse files Browse the repository at this point in the history
  • Loading branch information
chray-zhang committed Nov 14, 2024
1 parent aec8a7f commit 1436b41
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions integration-tests/scripts/buildTests
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)

helm repo update

if [ -n "$2" ]; then
temp2="${2%\"}"
github_token="${temp2#\"}"
fi

git config --global url."https://x-access-token:${{ github_token }}@github.com/".insteadOf "https://github.com/"
go env -w GOPRIVATE=github.com/smartcontractkit/*

cd "$SCRIPT_DIR"/../../ || exit 1

# integration prep
Expand All @@ -21,15 +29,6 @@ cd "$SCRIPT_DIR"/../ || exit 1
temp="${1%\"}"
tosplit="${temp#\"}"

if [ -n "$2" ]; then
temp2="${2%\"}"
github_token="${temp2#\"}"
fi

echo "Hsdfpisjdfiosjdfiosdjf"
git config --global url."https://x-access-token:${{ github_token }}@github.com/".insteadOf "https://github.com/"
go env -w GOPRIVATE=github.com/smartcontractkit/*

# find the suite name
OIFS=$IFS
IFS=' '
Expand Down

0 comments on commit 1436b41

Please sign in to comment.