-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: create tiertemplaterevision for each tiertemplate #1061
Open
mfrancisc
wants to merge
40
commits into
codeready-toolchain:master
Choose a base branch
from
mfrancisc:createttr
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+208
−17
Open
Changes from 2 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
fb8a690
wip add ttr tests
d66af28
test TierTemplate revisions are created when templateObjects are set
62a1a83
check for owner refernces
09fe90b
fix ownership check
edcf467
remove unused import
6b4deb8
Merge branch 'master' into createttr
mfrancisc b9e5e84
Merge branch 'master' into createttr
e91f57c
make linter happy
7e03339
Merge branch 'master' into createttr
MatousJobanek 7d34843
add comments, check for ttr content, check revisions
b826d56
fix compilation
9cb5461
remove owner ref check
b50289c
avoid initializing twice
bdba663
remove second declaration
b4f334d
add ttr cleanup logic
dc38c17
fix linter
22f4e64
Merge branch 'master' into createttr
mfrancisc a0ec293
Merge branch 'master' into createttr
mfrancisc b1c59ab
Merge branch 'master' into createttr
mfrancisc a61de18
relax number of ttr check
7665e00
fix test
f73f65b
Merge branch 'master' into createttr
mfrancisc 02797f9
handle parameters in TierTemplateRevision
f9069f6
Merge remote-tracking branch 'origin/createttr' into createttr
62ee614
fix test
1b44744
Merge branch 'master' into createttr
alexeykazakov aec5c1d
update api
d18c2a4
Merge remote-tracking branch 'origin/createttr' into createttr
8260a86
Merge branch 'master' into createttr
mfrancisc f818ea9
add comment about param assertion
3f36b81
merge
7dd6053
fix merge
f442e1b
Merge branch 'master' into createttr
mfrancisc 1fc2e34
Merge branch 'master' into createttr
b24e0c0
address PR comments
ad40d0c
Merge remote-tracking branch 'origin/createttr' into createttr
be087d9
fix check
38bb9d6
fix assert check
6836296
cleanup unused functions
e006742
Merge branch 'master' into createttr
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess that you can also use the len of TemplateRef from
tiers.GetTemplateRefs(t, hostAwait, "ttr").Flatten()
, right?Just in case the number of templateRefs changes in the base1ns tier
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you meant len(tiers.GetTemplateRefs(t, hostAwait, "ttr").Flatten())*2 ? because it can have less or equal double the number of TTRs .