Skip to content
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
16 changes: 0 additions & 16 deletions ci/publish-tarball.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@ set -e

cd "$(dirname "$0")/.."

if [[ -n $APPVEYOR ]]; then
# Bootstrap rust build environment
source ci/env.sh
source ci/rust-version.sh

appveyor DownloadFile https://win.rustup.rs/ -FileName rustup-init.exe
export USERPROFILE="D:\\"
./rustup-init -yv --default-toolchain "$rust_stable" --default-host x86_64-pc-windows-msvc
export PATH="$PATH:/d/.cargo/bin"
rustc -vV
cargo -vV
fi

Comment thread
mircea-c marked this conversation as resolved.
DRYRUN=
if [[ -z $CI_BRANCH ]]; then
DRYRUN="echo"
Expand Down Expand Up @@ -141,9 +128,6 @@ for file in "${TARBALL_BASENAME}"-$TARGET.tar.bz2 "${TARBALL_BASENAME}"-$TARGET.
mkdir -p github-action-release-upload/
cp -v "$file" github-action-release-upload/
fi
elif [[ -n $APPVEYOR ]]; then
# Add artifacts for .appveyor.yml to upload
appveyor PushArtifact "$file" -FileName "$CHANNEL_OR_TAG"/"$file"
fi
done

Expand Down
25 changes: 0 additions & 25 deletions ci/upload-ci-artifact.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,31 +16,6 @@ upload-ci-artifact() {
fi
}

upload-s3-artifact() {
echo "--- artifact: $1 to $2"
(
args=(
--rm
--env AWS_ACCESS_KEY_ID
--env AWS_SECRET_ACCESS_KEY
--volume "$PWD:/solana"

)
if [[ $(uname -m) = arm64 ]]; then
# Ref: https://blog.jaimyn.dev/how-to-build-multi-architecture-docker-images-on-an-m1-mac/#tldr
args+=(
--platform linux/amd64
)
fi
args+=(
amazon/aws-cli:2.13.11
s3 cp "$1" "$2" --acl public-read
)
set -x
docker run "${args[@]}"
)
}

Comment thread
mircea-c marked this conversation as resolved.
upload-gcs-artifact() {
echo "--- artifact: $1 to $2"
docker run --rm \
Expand Down