From 84ecd110df9729683eceda793eb0dd2b3193fa45 Mon Sep 17 00:00:00 2001 From: dcrosby Date: Mon, 15 Apr 2024 13:24:14 -0700 Subject: [PATCH] Remove supermarket_push script (#237) Summary: I didn't see any of the cookbooks on the supermarket, suspect the script is derelict. jaymzh is this still in use on your end? Pull Request resolved: https://github.com/facebook/chef-cookbooks/pull/237 Differential Revision: D56030336 fbshipit-source-id: 978acfc6ad35c1bfa18535839318e86a352d04bb --- scripts/supermarket_push | 45 --------------------------------------- supermarket.pem.enc | Bin 1680 -> 0 bytes 2 files changed, 45 deletions(-) delete mode 100755 scripts/supermarket_push delete mode 100644 supermarket.pem.enc diff --git a/scripts/supermarket_push b/scripts/supermarket_push deleted file mode 100755 index ca7a77b2f..000000000 --- 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 1545f251396fd356fa36c7812e0b87ef94f393f9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1680 zcmV;B25PBDd|Wwqf zTwdYI_yGmvzwzHxd5GIqI}LJc>5)rn*_s?`8C0U_q*^p_!TuRtMWf_Ri@`N0V?5x}_Vv4@O6f`b?y(gkWL zcIPth)ZZ>W|01N`Qh#HQ2B{}vid&5U;QM@b^NTGz1&PbCZIHi5SSrKLt6ypD%X}?! zaTNsR7nCRmo2ZMAR<%%IOwj8Fly52NEVRf2 zUWGpPvOWJ{u+&dRe{%`)$NJ8Yjr5HLW~E-1$ib0DfNMK0)-oICmnZ9c;Wm_~<$q}s zqsh7z>lMl-s}6)D{@h_ba#yCdHNI#3gYN4is4-e1W&dR6(g}OW9)2W1Rr)kYhNZVp zjuLp}s+JSCYe`pTbe|s#q8qn~LT4_F|BUH`M&^`IKcbmYr$7W}*va+nJZwfn2Ve1e z6l}Y(d2(PUsP!~RpH~FAH%td#CCsCOA))ahkMv7WZkWWrDl`I7B{TR|u@#DTSU@@Eon=}@SDurOdF5wl1 zzLfP7^n?T5&UycB@(4i?Ggaqank4=r^}6fddi$V5 z_$k!{ice6bE~km&rE%5!g2Wxt@Ex=lsoITG*t*93Z{JY>6_-0wN<@3ssvbGl-%5%9 ziSa6`9fEBAkCNhKTLxe*6r3SQl9t_Y=A3_;t{xWqH}w-5-8005ZGqr9A7$+_?1>lg zgl~j{qjkc(URq?ZGc?D4*!LCu^&WqOn&r09X&eX`k}4#aZ(NlntQd*~*GsJ5ZtXsi zblMS$OH9|%l?~m-AA!Wts>%DBP$1_sql{ISRzZWG`w6pH+<3nF<;*$ApG57z2*m&B z{9l0zL7?vxS%*kGl>%1-R0zV`f4Z#~A)?MhRmCifT*Wy0?gdvjie-5lk`^27uR^GH zm$pAJk5T86m+bpKL+c|kFJ*>+sy{1T>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