-
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.
added make target for checking for hashicorppreview (#2603)
* added make target for checking for hashicorppreview * added check to prepare-release make target
- Loading branch information
1 parent
8b45de8
commit efa2be8
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 |