Skip to content
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

Calendar sensor with Schedule: @every 30s triggers only once #91

Closed
DmitryBe opened this issue Aug 22, 2018 · 1 comment
Closed

Calendar sensor with Schedule: @every 30s triggers only once #91

DmitryBe opened this issue Aug 22, 2018 · 1 comment
Assignees

Comments

@DmitryBe
Copy link

Describe the bug
Calendar sensor with Schedule: @every 30s triggers only once

To Reproduce
create sensor with following config:

apiVersion: argoproj.io/v1alpha1
kind: Sensor
metadata:
name: inline-example
namespace: playground
labels:
sensors.argoproj.io/controller-instanceid: axis
spec:
signals:
- name: time
calendar:
schedule: "@every 30s"
triggers:
- name: inline-workflow-trigger
resource:
namespace: playground
group: argoproj.io
version: v1alpha1
kind: Workflow
source:
inline: |
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
generateName: job-hello-world-
spec:
entrypoint: whalesay
templates:
-
container:
args:
- "hello world"
command:
- cowsay
image: "docker/whalesay:latest"
name: whalesay

specifying schedule: "@every 30s" i expect it to repeat every 30 seconds;
sensor triggers once and transitions to Phase: Complete

@VaibhavPage
Copy link
Contributor

VaibhavPage commented Aug 22, 2018

This issue is being addressed in #92

@VaibhavPage VaibhavPage self-assigned this Aug 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants