You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set build type for scheduled builds based on doc repo changes (#2931)
* check if docs repo has changed
* more
* updates so I can test it
* build commit
* lbc
* gpb
* more testing
* a
* b
* mmhm
* use auth token
* fix quotes
* c
* aha!
* no way this works
* forgot the squigles
* back up
* perhaps
* lsc
* no squigs
* jq isn’t working
* quotes
* try a file
* ugh
* d
* e
* move to file, echo all the things
* Fixing up the script - mostly adding curl and jq flags
* wire up the rebuild
* fix script typo
* export rebuild var
* Make the script more generic
* Set REBUILD value to false since empty strings are not accepted
* Remove early exits used for testing purposes
* Try setting concurrency group name based on branch
* uncomment
---------
Co-authored-by: nassimkammah <[email protected]>
Copy file name to clipboardExpand all lines: .buildkite/build_pipeline.yml
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,9 @@ steps:
25
25
value: ""
26
26
hint: "Should we ignore checking broken links? Should we allow to run the build without failing if there's a broken link? Ignoring broken links is dangerous not just because bad links will leak into the public site but because subsequent builds and pull requests that do not fix the links fail."
27
27
- wait
28
+
- label: "Full rebuild or incremental build?"
29
+
if: build.source == "schedule"
30
+
command: ".buildkite/scripts/compare_commits.sh"
28
31
- label: ":white_check_mark: Build docs"
29
32
command: |
30
33
export REBUILD="$(buildkite-agent meta-data get REBUILD --default '' --log-level fatal)"
0 commit comments