File tree 12 files changed +40
-15
lines changed
12 files changed +40
-15
lines changed Original file line number Diff line number Diff line change 14
14
# See the License for the specific language governing permissions and
15
15
# limitations under the License.
16
16
17
+ # This script retrieves the specified version of the Kubernetes tar.gz file via
18
+ # Google Cloud Storage.
19
+ # Usage: `hack/get-build.sh <version number or publication>`.
20
+ # Example: `./hack/get-build.sh release/latest`.
21
+
17
22
set -o errexit
18
23
set -o nounset
19
24
set -o pipefail
Original file line number Diff line number Diff line change 14
14
# See the License for the specific language governing permissions and
15
15
# limitations under the License.
16
16
17
+ # This script runs e2e tests on Google Cloud Platform.
18
+ # Usage: `hack/ginkgo-e2e.sh`.
19
+
17
20
set -o errexit
18
21
set -o nounset
19
22
set -o pipefail
Original file line number Diff line number Diff line change 14
14
# See the License for the specific language governing permissions and
15
15
# limitations under the License.
16
16
17
+ # This script grabs profiles from running components.
18
+ # Usage: `hack/grab-profiles.sh`.
19
+
17
20
set -o errexit
18
21
set -o nounset
19
22
set -o pipefail
Original file line number Diff line number Diff line change 14
14
# See the License for the specific language governing permissions and
15
15
# limitations under the License.
16
16
17
- # Convenience script to download and install etcd in third_party.
17
+ # This script is convenience to download and install etcd in third_party.
18
18
# Mostly just used by CI.
19
+ # Usage: `hack/install-etcd.sh`.
19
20
20
21
set -o errexit
21
22
set -o nounset
Original file line number Diff line number Diff line change 14
14
# See the License for the specific language governing permissions and
15
15
# limitations under the License.
16
16
17
+ # This script checks version dependencies of modules. It checks whether all
18
+ # pinned versions of checked dependencies match their preferred version or not.
19
+ # Usage: `hack/lint-dependencies.sh`.
20
+
17
21
set -o errexit
18
22
set -o nounset
19
23
set -o pipefail
Original file line number Diff line number Diff line change 14
14
# See the License for the specific language governing permissions and
15
15
# limitations under the License.
16
16
17
- # A single script that lists all of the [Feature:.+] tests in our e2e suite.
17
+ # This script lists all of the [Feature:.+] tests in our e2e suite.
18
+ # Usage: `hack/list-feature-tests.sh`.
19
+
18
20
set -o errexit
19
21
set -o nounset
20
22
set -o pipefail
Original file line number Diff line number Diff line change 16
16
17
17
KUBE_ROOT=$( dirname " ${BASH_SOURCE[0]} " ) /..
18
18
19
- # This command builds and runs a local kubernetes cluster.
20
- # You may need to run this as root to allow kubelet to open docker's socket,
21
- # and to write the test CA in /var/run/kubernetes.
19
+ # This script builds and runs a local kubernetes cluster. You may need to run
20
+ # this as root to allow kubelet to open docker's socket, and to write the test
21
+ # CA in /var/run/kubernetes.
22
+ # Usage: `hack/local-up-cluster.sh`.
23
+
22
24
DOCKER_OPTS=${DOCKER_OPTS:- " " }
23
25
export DOCKER=(docker " ${DOCKER_OPTS[@]} " )
24
26
DOCKER_ROOT=${DOCKER_ROOT:- " " }
Original file line number Diff line number Diff line change 14
14
# See the License for the specific language governing permissions and
15
15
# limitations under the License.
16
16
17
- # Usage:
18
- # hack/pin-dependency.sh $MODULE $SHA-OR-TAG
19
- #
20
- # Example:
21
- # hack/pin-dependency.sh github.com/docker/docker 501cb131a7b7
17
+ # This script switches to the preferred version for specified module.
18
+ # Usage: `hack/pin-dependency.sh $MODULE $SHA-OR-TAG`.
19
+ # Example: `hack/pin-dependency.sh github.com/docker/docker 501cb131a7b7`.
22
20
23
21
set -o errexit
24
22
set -o nounset
Original file line number Diff line number Diff line change 13
13
# See the License for the specific language governing permissions and
14
14
# limitations under the License.
15
15
16
- # This command is used by bazel as the workspace_status_command
17
- # to implement build stamping with git information.
16
+ # This script is used by bazel as the workspace_status_command to implement
17
+ # build stamping with git information.
18
+ # Usage: `hack/print-workspace-status.sh`.
18
19
19
20
set -o errexit
20
21
set -o nounset
Original file line number Diff line number Diff line change 15
15
# limitations under the License.
16
16
17
17
# This script sets up a temporary Kubernetes GOPATH and runs an arbitrary
18
- # command under it. Go tooling requires that the current directory be under
18
+ # command under it. Go tooling requires that the current directory be under
19
19
# GOPATH or else it fails to find some things, such as the vendor directory for
20
20
# the project.
21
+ # Usage: `hack/run-in-gopath.sh <command>`.
21
22
22
23
set -o errexit
23
24
set -o nounset
Original file line number Diff line number Diff line change 14
14
# See the License for the specific language governing permissions and
15
15
# limitations under the License.
16
16
17
- # This script is a vestigial redirection. Please do not add "real" logic.
17
+ # This script runs all *_test.go files. It is equivalent to `make test`.
18
+ # Usage: `hack/test-go.sh` or `make test`.
19
+ # Note: This script is a vestigial redirection. Please do not add "real" logic.
18
20
19
21
set -o errexit
20
22
set -o nounset
Original file line number Diff line number Diff line change 14
14
# See the License for the specific language governing permissions and
15
15
# limitations under the License.
16
16
17
- # This script is a vestigial redirection. Please do not add "real" logic.
17
+ # This script has been replaced by `make test-integration`.
18
+ # `make test-integration` runs all integration tests.
19
+ # Usage: `make test-integration`.
20
+ # Note: This script is a vestigial redirection. Please do not add "real" logic.
18
21
19
22
set -o errexit
20
23
set -o nounset
You can’t perform that action at this time.
0 commit comments