Unverified Commit eb12aafc authored by boklm's avatar boklm
Browse files

Reset timestamp when no_build_id is selected

The defaut timestamp value will use the commit time of the selected
commit for the project, which will require cloning the git repository if
it is not present. When we use the no_build_id target to display a script,
we usually don't care about such details, so we set timestamp to 0 to
avoid unnecessary cloning.
parent fe7d1b4b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -288,6 +288,12 @@ targets:
  # a build template or other option but don't want to spend time to
  # compute the various build ids
  no_build_id:
    # The defaut timestamp value will use the commit time of the
    # selected commit for the project, which will require cloning the
    # git repository if it is not present. When we use the no_build_id
    # target to display a script, we usually don't care about such
    # details, so we set timestamp to 0 to avoid unnecessary cloning.
    timestamp: 0
    var:
      build_id: 1