Skip to content

Commit

Permalink
Merge pull request kubernetes#81 from Shopify/remove-unnecessary-changes
Browse files Browse the repository at this point in the history
remove unnecessary changes
  • Loading branch information
ElvinEfendi authored Jul 20, 2018
2 parents 03657f3 + 4950f99 commit f32f0a1
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 18 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ env:
- KUBERNETES_VERSION=v1.10.0
- DOCKER=docker
- GH_REF=github.com/kubernetes/ingress-nginx
- secure: LIS2XpZufWTcJ53jiRsSZy2Gi1EUJ1XmLg7z3f2ZHeMnyG2Jhk3GW4vod1FNru+PY4PWgddLdCdIl+jqOYXndFlbdAWF3/Oy5fEkYLXdYV7tdlHcPWDkqNFrfiyZ4guChN+b2Nk6FqU7o5fsZAIR7VAbgqNRF5XMo9Mhn/vhDCQRcnbXy7uq7JTrYUkqDbQoyYvT6b480GCY5gags1zp/xZfPDNZEe936o8i5IPTyiykRyNOXN/AH6kd3pR5e1xYgcvJ9KpSVPghcwFE7kJ4fOVMRhRG5ML+IyML+xD0jX43EMNoqRKZ/HS42kIMCInFbJEcxVde7DPNBZ7Y3GAqh7HO6qrE70Dn3ha6DID6zCoH2ArW39BxG4zempjn2VxYoMRGREyZszWQb++dwGoHmo5FHt6zvIrYBG0dA0H8ja9VkZkjFwtYTGHU1ooPzUfJK4O4VBayV8LqZibyZQR+GrmyQc0aagUY7J/fe4A2PJyI4DbkeZ7GX1ELj0ciDz4urQSzUc8l/T3aU3X+FuJItjgYtMLPmqcjA5uifDCtutE8Z9L2gSpanqUdvLSOozuxPho/KNl+2YlF7fXqPW3LnRf5mHD+NbOff306pvKlHJOb2Vmth+HBQ1XDzt/Cy5+sfwS3E0Vmh6UTq/NtkUXxwH10BDMF7FMVlQ4zdHQvyZ0=
- secure: rKDoy9IYYYy0fYBs4+9mwuBVq/TcxfFwMfE0ywYWhUUdgzrUYSJAwpoe/96EQ4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4F/jMvY4w+tNo8ISJiNZ/+uQaIlPaijCdwu9FPvAY59lJXORGVHd1Fq2pKkGkNjQVHtu9BH7ufO1fX5a6FtYbclMwm7w9BE5jnJNoP+y8Yq0bVwbGONSUFTyMWCbSCYDsyUPzmaZLkFpZPbnJua5y9c1x0/OYijNizBW0UVQDZauortsTPzwYlZ1J7TywVtpUEoI8CGuUb2QEWh+O/IwrogtiKvFtPrrYakIwV/lr7mO294=
- secure: ZZlcwdr4X2ZeIuA4f5wiT04qNCpSiNQb9d3dITG7MdtxIpiC1mi9rUFAkMDDlNjKumHO82O/a/X4RYKjXny7eixeHl5lgQ++IV9APwvWfsCiREFhiQFspfL+j0d9sZ5I4pfyPC671984We1T4G+ltuMcN3nQdPm3mP4xPT3h0IBQ9iAHonKck0TdLieNZ47vPPB8C8oxbx5NpdW8aSfQJGo3bFGiXNxWWFZ4P7BsMBDrBZaXuh0rAml/0nCJBGohgSqC8h/UObBOHeehEWnF1zzfQPRezHwVkUaMf2+xQtLGhB5rPjFhBKX0C/JZeqDgHEQ0auC2bLbfG5QCYQauy7jCq5kc6XPT7xFxCUd/sS7Wu2gg6KcgFeTE+Rnn4KWFZx2jMP2EPQYP2+LrM/VbfY1HW4QkpIkPVSFBatciuePUnIkEX6+jVM+GEZOhOOEqZ89zwjsGpa2GkFAJrwX/dphXXtn6oS20mLbu1kqocWTbGUJl/fYztTxCdOt/NoH/hiQMxy+TOGFF3Dx85MJiMUOlgk/NbPqUwBn5RbuD71L69vFZZLpU09V4PuablWW8ACQxgp8BMeqLhaLRn/I3r0ntRc8AdQ1xubPlrVWO9DDbhGfj44YPNoLUAC/7QHkRyCbP98Yv2FTXrJFcx9isA2viFx2UxzTsvXcAKHbCSAw=

jobs:
include:
Expand Down
2 changes: 1 addition & 1 deletion .travis/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ fi
function docker_tag_exists() {
TAG=${2//\"/}
TOKEN=$( curl -sSLd "username=${DOCKER_USERNAME}&password=${DOCKER_PASSWORD}" https://hub.docker.com/v2/users/login | jq -r ".token" )
RES=$(curl -sH "Authorization: JWT $TOKEN" "https://hub.docker.com/v2/repositories/shopify/$1-$3/tags/$TAG/" | jq .detail)
RES=$(curl -sH "Authorization: JWT $TOKEN" "https://hub.docker.com/v2/repositories/$1-$3/tags/$TAG/" | jq .detail)

if [ "$RES" == "\"Not found\"" ];
then
Expand Down
2 changes: 1 addition & 1 deletion .travis/ingress-controller.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ source $DIR/common.sh

IMAGE=$(make -s -C $DIR/../ image-info)

if docker_tag_exists "nginx-ingress-controller" $(echo $IMAGE | jq .tag) "$ARCH"; then
if docker_tag_exists "shopify/nginx-ingress-controller" $(echo $IMAGE | jq .tag) "$ARCH"; then
echo "Image already published"
exit 0
fi
Expand Down
2 changes: 1 addition & 1 deletion .travis/release-from-travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ body=$(cat <<EOF
{
"request": {
"branch": "master",
"message": "Publishing image for component $2 to Docker Hub",
"message": "Publishing image for component $2 to quay.io",
"config": {
"merge_mode": "deep_merge",
"env": {
Expand Down
4 changes: 0 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,6 @@ build: clean
verify-all:
@./hack/verify-all.sh

.PHONY: verify-all-verbose
verify-all:
@./hack/verify-all.sh -v

.PHONY: test
test:
@go test -v -race -tags "$(BUILDTAGS) cgo" $(shell go list ${PKG}/... | grep -v vendor | grep -v '/test/e2e')
Expand Down
16 changes: 9 additions & 7 deletions hack/verify-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
source "${KUBE_ROOT}/hack/kube-env.sh"

SILENT=true
OUT=/dev/stdout

function is-excluded {
for e in $EXCLUDE; do
Expand All @@ -40,7 +39,6 @@ while getopts ":v" opt; do
case $opt in
v)
SILENT=false
OUT=/dev/stderr
;;
\?)
echo "Invalid flag: -$OPTARG" >&2
Expand All @@ -62,12 +60,16 @@ do
echo "Skipping $t"
continue
fi
echo -e "Verifying $t"
if bash "$t" &> $OUT; then
echo -e "${color_green}SUCCESS${color_norm}"
if $SILENT ; then
echo -e "Verifying $t"
if bash "$t" &> /dev/null; then
echo -e "${color_green}SUCCESS${color_norm}"
else
echo -e "${color_red}FAILED${color_norm}"
ret=1
fi
else
echo -e "${color_red}FAILED${color_norm}"
ret=1
bash "$t" || ret=1
fi
done

Expand Down

0 comments on commit f32f0a1

Please sign in to comment.