Skip to content

Commit

Permalink
initial_version: make some of the docs a bit clearer
Browse files Browse the repository at this point in the history
Signed-off-by: Liam Stanley <[email protected]>
  • Loading branch information
lrstanley committed Feb 13, 2022
1 parent 1015861 commit d3cecb5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ level of precision is better left to other tools.
configured time range for the first time (manual runs will work once the `time`
resource has produced it's first version).

To get around this issue, there are two approaches.
To get around this issue, there are two approaches:
* Use `initial_version: true`, which will produce a new version that is
set to the current time, if `check` runs and there isn't already a version
specified. This has a downside that if used with `trigger: true`, it will
specified. **NOTE: This has a downside that if used with `trigger: true`, it will
kick off the correlating job when the pipeline is first created, even
outside of the specified window.
* Once you push a pipeline that utilizes `start` and `stop`, run the
outside of the specified window**.
* Alternatively, once you push a pipeline that utilizes `start` and `stop`, run the
following fly command to run the resource check from a previous point
in time (see [this issue](https://github.com/concourse/time-resource/issues/24#issuecomment-689422764)
for 6.x.x+ or [this issue](https://github.com/concourse/time-resource/issues/11#issuecomment-562385742)
Expand Down

0 comments on commit d3cecb5

Please sign in to comment.