-
Notifications
You must be signed in to change notification settings - Fork 502
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
Only versionize docs on new branches. #6
Conversation
I don't know this script well enough. Can we make a test github repo (or just script that sets up a test git clone) and test this to see what it does? Ideally, test it continually? |
@lavalamp yes, that's on the (in process) roadmap to get this running/mocked continuously (and tested). |
ref #7 |
# versionize docs | ||
if [[ "$PARENT_BRANCH" == master ]]; then | ||
# versionize docs on new branches (from master) only | ||
if [[ "$PARENT_BRANCH" == master && "$label" != "alpha" ]]; then |
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 don't understand this, but can you just check if you're on the master branch? We should never run versionize docs on the master branch, I'm pretty sure.
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.
In this context, this condition is correct. "alpha" releases only occur on the master.
But for readability, I'll update to condition specifically on the current branch. Update coming..
Ref #27218 #27205
0870549
to
0795c4c
Compare
PTAL |
LGTM |
- Ports state of the repository from https://github.com/alenkacz/ci-signal-report at alenkacz/ci-signal-report@0ab843f - Provides attribution to original authors of the code in this commit in order of commit history - Fixes lint issues in code - Adds copyright header to report.go Commits picked from the above repository: 0ab843f Adding LICENSE file e13b901 Merge pull request #1 from leonardpahlke/update-packaging 21d9d0c update packageing d1c99b8 update structure cf4595d Merge pull request #11 from mkorbi/report-v2 fbf55fb add -short, make version optional, change order of output e1b0a29 Fix go version, rate limit and add version variabl (#10) eaab27f Merge branch 'master' of github.com:alenkacz/ci-signal-report 513789b 1.17 fixes d3b7b85 Group by issues from the same sig (#9) 37672b7 Fix generated urls (#7) c36df2b Try to set up CI 1ea4d5b Always pick resolved column with highest ID (#6) cfd6d63 A bit polishing on readme 710c6f7 Update README.md (#1) d5eb427 Add token help fe16eaa Merge branch 'master' of github.com:alenkacz/ci-signal-report b6071fe Add 1.16 jobs, sig names improvements 8b755a4 Overview d236bf2 Readme 7fcdea6 Initial implementation Co-authored-by: Alena Varkockova <[email protected]> Co-authored-by: Jim Angel <[email protected]> Co-authored-by: Max <[email protected]> Co-authored-by: Max Körbächer <[email protected]> Signed-off-by: Nabarun Pal <[email protected]>
Ref kubernetes/kubernetes#27218 kubernetes/kubernetes#27205