diff --git a/scripts/supermarket_push b/scripts/supermarket_push deleted file mode 100755 index ca7a77b2..00000000 --- a/scripts/supermarket_push +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/sh -# -# vim: syntax=ruby:expandtab:shiftwidth=2:softtabstop=2:tabstop=2 -# -# Copyright (c) 2016-present, Facebook, Inc. -# All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -set -eu - -if [ -z "$SKEY" ]; then - SKEY='../supermarket.pem' -fi -if [ -z "$SUSER" ]; then - SUSER='phild' -fi -if [ -z "$TRAVIS_RUBY_VERSION" ]; then - BUNDLE='bundle' -else - BUNDLE="rvm $TRAVIS_RUBY_VERSION do bundle" -fi - -COMMON_OPTS="-m https://supermarket.chef.io -k $SKEY -u $SUSER" - -$BUNDLE install -cd cookbooks -for i in *; do - echo "Unpublishing $i" - # shellcheck disable=SC2086 - $BUNDLE exec knife supermarket unshare "$i" $COMMON_OPTS -y - echo "Publishing $i" - # shellcheck disable=SC2086 - $BUNDLE exec knife supermarket share "$i" Other -o . $COMMON_OPTS -done diff --git a/supermarket.pem.enc b/supermarket.pem.enc deleted file mode 100644 index 1545f251..00000000 Binary files a/supermarket.pem.enc and /dev/null differ