-
Notifications
You must be signed in to change notification settings - Fork 326
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport of added make target for checking for hashicorppreview into …
…release/1.1.x (#2624) * backport of commit 853a9d1 * backport of commit 128d8a7 --------- Co-authored-by: Michael Wilkerson <[email protected]>
- Loading branch information
1 parent
95fab39
commit e436f7d
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
control-plane/build-support/scripts/check-hashicorppreview.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
# Copyright (c) HashiCorp, Inc. | ||
# SPDX-License-Identifier: MPL-2.0 | ||
echo "Checking charts for hashicorpreview images. . ." | ||
if grep -rnw -e 'hashicorppreview' './charts'; then | ||
echo Charts contain hashicorppreview images. If this is intended for release, please remove the preview images. | ||
else | ||
echo Charts do not contain hashicorpreview images, ready for release! | ||
fi |