-
Notifications
You must be signed in to change notification settings - Fork 960
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Steve Hipwell <[email protected]>
- Loading branch information
1 parent
293f647
commit fd2a4a2
Showing
8 changed files
with
177 additions
and
193 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,4 @@ | ||
defaultBaseImage: public.ecr.aws/eks-distro-build-tooling/eks-distro-minimal-base | ||
defaultPlatforms: | ||
- linux/arm64 | ||
- linux/amd64 |
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
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
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 |
---|---|---|
@@ -1,19 +1,15 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd) | ||
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)" | ||
# shellcheck source=hack/release/common.sh | ||
source "${SCRIPT_DIR}/common.sh" | ||
|
||
config | ||
|
||
GIT_TAG=${GIT_TAG:-$(git describe --exact-match --tags || echo "none")} | ||
if [[ $(releaseType "$GIT_TAG") != $RELEASE_TYPE_STABLE ]]; then | ||
git_tag="${GIT_TAG:-$(git describe --exact-match --tags || echo "none")}" | ||
if [[ "${git_tag}" != v* ]]; then | ||
echo "Not a stable release. Missing required git tag." | ||
exit 1 | ||
fi | ||
echo "RenderingPrep website files for ${GIT_TAG}" | ||
echo "RenderingPrep website files for ${git_tag}" | ||
|
||
createNewWebsiteDirectory "$GIT_TAG" | ||
removeOldWebsiteDirectories | ||
editWebsiteConfig "$GIT_TAG" | ||
editWebsiteVersionsMenu | ||
prepareWebsite "${git_tag#v}" |
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 |
---|---|---|
@@ -1,15 +1,17 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
HEAD_HASH=$(git rev-parse HEAD) | ||
GIT_TAG=$(git describe --exact-match --tags || echo "no tag") | ||
|
||
SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd) | ||
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)" | ||
# shellcheck source=hack/release/common.sh | ||
source "${SCRIPT_DIR}/common.sh" | ||
|
||
config | ||
publishHelmChart "karpenter-crd" "${HEAD_HASH}" "${RELEASE_REPO_GH}" | ||
commit_sha="$(git rev-parse HEAD)" | ||
git_tag="$(git describe --exact-match --tags || echo "no tag")" | ||
|
||
BUILD_DATE="$(buildDate "$(dateEpoch)")" | ||
|
||
publishHelmChart "${RELEASE_REPO_GH}" "karpenter-crd" "${commit_sha}" "${commit_sha}" "${BUILD_DATE}" | ||
|
||
if [[ $(releaseType $GIT_TAG) == $RELEASE_TYPE_STABLE ]]; then | ||
publishHelmChart "karpenter-crd" "${GIT_TAG}" "${RELEASE_REPO_GH}" | ||
if [[ "${git_tag}" == v* ]]; then | ||
publishHelmChart "${RELEASE_REPO_GH}" "karpenter-crd" "${git_tag#v}" "${commit_sha}" "${BUILD_DATE}" | ||
fi |
Oops, something went wrong.