-
Notifications
You must be signed in to change notification settings - Fork 32
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
Adding a zero time #11
Comments
Hi there! We use Pivotal Tracker to provide visibility into what our team is working on. A story for this issue has been automatically created. The current status is as follows:
This comment, as well as the labels on the issue, will be automatically updated as the status in Tracker changes. |
Should probably be opt-in. I could definitely see that going wrong otherwise ("why did the prod deploy run during business hours?"). |
I am having a docker image that prepares build environment - it collects go vendors etc. It is expensive to do and reloading the image also slows down. This is why I would like to have it updated only after midnight ... and this is how I noticed the time resource issue. |
After some discussion with the team, having the resource calculate a zero time automagically could have some challenges with keeping track of those versions. We've decided to go a more explicit route where you can specify an With For example, resources:
- name: 15m
type: time
source:
interval: 15m
initial_time: Mon Jan 2 15:04:05 -0700 MST 2006 |
After discussion, again, |
And when this will be added to Concourse? we are using 3.3.2 and we have this issue |
+1 to having an |
Is this in the pipeline? We would love this feature as well! |
+1 This is still a big workflow issue for pipelines that have nightly/weekly triggers when needing to set a development pipeline. Having an |
+1 ran into this issue when trying to set a dev version of a pipeline with a weekly trigger. |
+1 : frequently have this issue and often see it cause confusion when introducing clients to Concourse. |
(Just doing some issue/RFC networking...) This would be fixed by concourse/rfcs#24 if we treat the time resource as a trigger resource - it would then be used to trigger on its schedule, but not a hard dependency, so the job could also run without any versions being found initially. |
any update on this? |
There is a workaround. If you ask your Concourse to check the resource as of a day far in the past, it will "find" a time-resource version and your job will be able to run. Run this command:
And you are good to go. |
Oh cool - thanks! |
When a long-term time resource is used - say once per day or week a newly created pipeline is dysfunctional until the timer activates at least once. To overcome this I have to make the time schedule to include the time I am working at to create one version and set the correct ranges after that.
It will be nice if the time resource does this by itself - creating a zero - or any other system time, to unblock the pipeline for testing.
The text was updated successfully, but these errors were encountered: