-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #87 from cyberark/update-go-version
Update go version
- Loading branch information
Showing
23 changed files
with
389 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
cd "$(dirname "$0")" | ||
|
||
goconvey -host 0.0.0.0 ../conjurapi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env bash -ex | ||
|
||
cd "$(dirname "$0")" | ||
. ./utils.sh | ||
|
||
source ./start-conjur.sh | ||
|
||
docker-compose build dev | ||
docker-compose run --no-deps -d dev | ||
|
||
# When we start the dev container, it mounts the top-level directory in | ||
# the container. This excludes the vendored dependencies that got | ||
# installed during the build, so reinstall them. | ||
exec_on dev go mod download | ||
|
||
# Start interactive container | ||
docker exec -it \ | ||
-e CONJUR_AUTHN_API_KEY \ | ||
-e CONJUR_V4_AUTHN_API_KEY \ | ||
-e CONJUR_V4_SSL_CERTIFICATE \ | ||
"$(docker-compose ps -q dev)" /bin/bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#!/bin/bash -e | ||
|
||
cd "$(dirname "$0")" | ||
|
||
echo "==> Packaging..." | ||
build_dir="../output/dist" | ||
rm -rf "$build_dir" | ||
mkdir -p "$build_dir" | ||
|
||
tar --exclude='../.git' --exclude='../output' -cvzf "$build_dir/conjur-api-go.tar.gz" . | ||
|
||
# # Make the checksums | ||
echo "==> Checksumming..." | ||
pushd "$build_dir" | ||
if which sha256sum; then | ||
sha256sum * > SHA256SUMS.txt | ||
elif which shasum; then | ||
shasum -a256 * > SHA256SUMS.txt | ||
else | ||
echo "couldn't find sha256sum or shasum" | ||
exit 1 | ||
fi | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.