Skip to content

Add build hack#4

Open
rakelkar wants to merge 5 commits intoreleasefrom
add_build_hack
Open

Add build hack#4
rakelkar wants to merge 5 commits intoreleasefrom
add_build_hack

Conversation

@rakelkar
Copy link
Collaborator

Proposed Changes

  • Fixes revision termination issue

This  causes revisions that take long to provision to get terminated
@@ -1,4 +1,9 @@
# Knative Serving
HACK RELEASE THIS UGLY UGLY FORK:
1. get docker secretes to viennadroptest
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: secrets

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add a comment on why this hack is needed?

# $KO_DOCKER_REPO is the registry containing the images to tag with $TAG.
# Parameters: $1..$n - files to parse for images (non .yaml files are ignored).
function tag_images_in_yamls() {
echo "yeah"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to remove?

function tag_images_in_yamls() {
echo "yeah"
if [[ -n ${AZ_ACR_NAME} ]]; then
echo "haha"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here?


function tag_images_in_yamls_acr() {
#[[ -z ${TAG} ]] && return 0
local XTAG="4eae16e681237d15dbcb4a22442e559e05ec3c30"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is that image tag fixed with some hash?

@@ -0,0 +1,1890 @@
apiVersion: v1
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this yaml has to be part of the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments