diff --git a/ci/publish-tarball.sh b/ci/publish-tarball.sh index 52c1ddb4b3957e..e15bca255c25c0 100755 --- a/ci/publish-tarball.sh +++ b/ci/publish-tarball.sh @@ -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 - DRYRUN= if [[ -z $CI_BRANCH ]]; then DRYRUN="echo" @@ -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 diff --git a/ci/upload-ci-artifact.sh b/ci/upload-ci-artifact.sh index e7cc34ab2b2d8c..d8f1e1aa9db259 100644 --- a/ci/upload-ci-artifact.sh +++ b/ci/upload-ci-artifact.sh @@ -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[@]}" - ) -} - upload-gcs-artifact() { echo "--- artifact: $1 to $2" docker run --rm \