From c8fb0b7056e8f22b683e60b5e48a7d0a4adecdf3 Mon Sep 17 00:00:00 2001 From: Justice Sidhu Date: Fri, 16 Feb 2024 11:50:12 -0800 Subject: [PATCH] remove configs --- appveyor-sam-cli-beta-cdk.yml | 40 ------------------------------- appveyor-sam-cli-nightly.yml | 44 ----------------------------------- 2 files changed, 84 deletions(-) delete mode 100644 appveyor-sam-cli-beta-cdk.yml delete mode 100644 appveyor-sam-cli-nightly.yml diff --git a/appveyor-sam-cli-beta-cdk.yml b/appveyor-sam-cli-beta-cdk.yml deleted file mode 100644 index b53e8795..00000000 --- a/appveyor-sam-cli-beta-cdk.yml +++ /dev/null @@ -1,40 +0,0 @@ -version: 1.0.{build} - -branches: - # whitelist - only: - - cdk-support - -image: - - macos-mojave - - Ubuntu1804 - -# scripts that are called at very beginning, before repo cloning -init: - - git config --global core.autocrlf input - -# scripts that run after cloning repository -for: - - - matrix: - only: - - image: Ubuntu1804 - - before_build: - # Installing linuxbrew and putting it in path. - - export PATH=$PATH:/home/linuxbrew/.linuxbrew/bin - - sh -c "$(curl -fsSL https://raw.githubusercontent.com/Linuxbrew/install/master/install.sh)" - - - matrix: - only: - - image: macos-mojave - - before_build: - - echo "Mac don't need any before_build steps." - -# Building bottles shell script. -build_script: - - ./build-formula.sh -f Formula/aws-sam-cli-beta-cdk.rb - -artifacts: - - path: "build/*.bottle.tar.gz" diff --git a/appveyor-sam-cli-nightly.yml b/appveyor-sam-cli-nightly.yml deleted file mode 100644 index 3c0ef93e..00000000 --- a/appveyor-sam-cli-nightly.yml +++ /dev/null @@ -1,44 +0,0 @@ -version: 1.0.{build} - -branches: - # whitelist - only: - - nightly-builds - -image: - - macos-bigsur - -# scripts that are called at very beginning, before repo cloning -init: - - git config --global core.autocrlf input - -# scripts that run after cloning repository -for: - - - matrix: - only: - - image: macos-bigsur - - before_build: - - echo "Mac don't need any before_build steps." - -# Building bottles shell script. -build_script: - - ./build-formula.sh -f Formula/_aws-sam-cli-nightly.rb -b bottle-configs/aws-sam-cli-nightly.json - # since bottle is prefixed with '_', we need to run following steps to make it easy to use the bottle if needed - - cd build && for f in *.bottle.tar.gz; do mv -i -- "$f" "${f#*_}"; done # remove _ prefix from bottle name - - BOTTLE_FILE=(*.bottle.tar.gz) - # remove the underscore from folder inside tar.gz and re-pack it again - - mkdir tmp-bottle-folder - - tar -xf $BOTTLE_FILE -C tmp-bottle-folder - - cd tmp-bottle-folder - - mv _aws-sam-cli-nightly/ aws-sam-cli-nightly/ - - tar -czvf $BOTTLE_FILE aws-sam-cli-nightly/ - # go to build folder again, replace original tar.gz file with the one which is updated, clean tmp folders - - cd .. - - rm $BOTTLE_FILE - - mv tmp-bottle-folder/$BOTTLE_FILE ./ - - rm -rf tmp-bottle-folder - -artifacts: - - path: "build/*.bottle.tar.gz"