k8s.io/test-infra@v0.0.0-20240520184403-27c6b4c223d8/images/kubekins-e2e/Makefile (about)

     1  # Copyright 2016 The Kubernetes Authors.
     2  #
     3  # Licensed under the Apache License, Version 2.0 (the "License");
     4  # you may not use this file except in compliance with the License.
     5  # You may obtain a copy of the License at
     6  #
     7  #     http://www.apache.org/licenses/LICENSE-2.0
     8  #
     9  # Unless required by applicable law or agreed to in writing, software
    10  # distributed under the License is distributed on an "AS IS" BASIS,
    11  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  # See the License for the specific language governing permissions and
    13  # limitations under the License.
    14  
    15  K8S ?= everything
    16  EXTRA_ARG =
    17  
    18  ifneq ($(K8S), everything)
    19    EXTRA_ARG = --variant $(K8S)
    20  endif
    21  
    22  push-prod:
    23  	../../hack/make-rules/go-run/arbitrary.sh run ./images/builder $(EXTRA_ARG) --project=k8s-staging-test-infra --scratch-bucket=gs://k8s-staging-test-infra-gcb --build-dir=. images/kubekins-e2e
    24  
    25  push:
    26  	../../hack/make-rules/go-run/arbitrary.sh run ./images/builder $(EXTRA_ARG) --allow-dirty --build-dir=. images/kubekins-e2e
    27  
    28  .PHONY: push push-prod help
    29  
    30  help:
    31  	@echo "By default, build all the images"
    32  	@echo "But you can also specify one of a supported k8s version, \"experimental\", or \"master\", e.g."
    33  	@echo
    34  	@echo "    make build K8S=1.14"
    35  	@echo