cert-manager/hack/update-all.sh
Ashley Davis eccde015ac
add CRD generation to makefile, replacing bazel
- includes a run of make update-crds which causes some trivial changes
- updates version of YQ to latest
- makes hack/update-crds.sh just call make
- makes hack/verify-crds.sh just call make
- moves functionality of hack/verify-crds.sh to hack/check-crds.sh,
  using the makefile for generating alternative CRDs for comparison
- removes the bazel test associated with CRDs

Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
2022-06-27 13:25:18 +01:00

34 lines
1.0 KiB
Bash
Executable File

#!/usr/bin/env bash
# Copyright 2020 The cert-manager Authors.
#
# 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 -o errexit
set -o nounset
set -o pipefail
# Runs all hack/update-*.sh scripts
hack=$(dirname "${BASH_SOURCE[0]}")
"$hack"/update-bazel.sh
# update-codegen is done by make now, no need to call it here
# "$hack"/update-codegen.sh
# update-crds is done by make now, no need to call it here
# "$hack"/update-crds.sh
"$hack"/update-deps.sh
# This is already run automatically by update-deps.sh
#"$hack"/update-deps-licenses.sh
"$hack"/update-gofmt.sh