Skip to content

Commit

Permalink
refactor(): incremental changes (#399)
Browse files Browse the repository at this point in the history
* refactor(): incremental changes
  • Loading branch information
VaibhavPage authored Nov 11, 2019
1 parent 2704f96 commit 6bc863f
Show file tree
Hide file tree
Showing 108 changed files with 116 additions and 116 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cache:
env:
global:
- DOCKER_PUSH=false
- IMAGE_TAG=v0.10-test
- IMAGE_TAG=v0.11
- PATH=$HOME/bin:$PATH

before_install:
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ override LDFLAGS += \
# docker image publishing options
DOCKER_PUSH?=true
IMAGE_NAMESPACE?=argoproj
IMAGE_TAG?=v0.10
IMAGE_TAG?=v0.11

ifeq (${DOCKER_PUSH},true)
ifndef IMAGE_NAMESPACE
Expand Down
2 changes: 1 addition & 1 deletion controllers/gateway/operator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ metadata:
labels:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
gateway-name: "webhook-gateway"
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
eventSource: "webhook-gateway-configmap"
type: "webhook"
Expand Down
2 changes: 1 addition & 1 deletion docs/gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ You can find gateways built by the community [here](https://github.com/argoproj/
gateways.argoproj.io/gateway-controller-instanceid: argo-events
# gateway controller will use this label to match with it's own version
# do not remove
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
type: "webhook"
eventSource: "webhook-event-source"
Expand Down
6 changes: 3 additions & 3 deletions docs/sensor.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Lets look at a basic example,
sensors.argoproj.io/sensor-controller-instanceid: argo-events
# sensor controller will use this label to match with it's own version
# do not remove
argo-events-sensor-version: v0.10
argo-events-sensor-version: v0.11
spec:
template:
spec:
Expand Down Expand Up @@ -128,7 +128,7 @@ Now, lets look at a more complex example involving a circuit,
sensors.argoproj.io/sensor-controller-instanceid: argo-events
# sensor controller will use this label to match with it's own version
# do not remove
argo-events-sensor-version: v0.10
argo-events-sensor-version: v0.11
spec:
template:
spec:
Expand Down Expand Up @@ -290,7 +290,7 @@ In the example, the first template will get triggered when either `group_1` or `
sensors.argoproj.io/sensor-controller-instanceid: argo-events
# sensor controller will use this label to match with it's own version
# do not remove
argo-events-sensor-version: v0.10
argo-events-sensor-version: v0.11
spec:
template:
spec:
Expand Down
2 changes: 1 addition & 1 deletion examples/event-sources/amqp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
name: amqp-event-source
labels:
# do not remove
argo-events-event-source-version: v0.10
argo-events-event-source-version: v0.11
data:
# no retries if connection to amqp service is not successful
example-without-retry: |-
Expand Down
2 changes: 1 addition & 1 deletion examples/event-sources/artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
name: artifact-event-source
labels:
# do not remove
argo-events-event-source-version: v0.10
argo-events-event-source-version: v0.11
data:
example-1: |-
# bucket information
Expand Down
2 changes: 1 addition & 1 deletion examples/event-sources/aws-sns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
name: aws-sns-event-source
labels:
# do not remove
argo-events-event-source-version: v0.10
argo-events-event-source-version: v0.11
data:
example: |-
# topic arn
Expand Down
2 changes: 1 addition & 1 deletion examples/event-sources/aws-sqs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
name: aws-sqs-event-source
labels:
# do not remove
argo-events-event-source-version: v0.10
argo-events-event-source-version: v0.11
data:
example-1: |-
# accessKey contains information about K8s secret that stores the access key
Expand Down
2 changes: 1 addition & 1 deletion examples/event-sources/calendar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
name: calendar-event-source
labels:
# do not remove
argo-events-event-source-version: v0.10
argo-events-event-source-version: v0.11
data:
example-with-interval: |-
# creates an event every 10 seconds
Expand Down
2 changes: 1 addition & 1 deletion examples/event-sources/file.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
name: file-configmap
labels:
# do not remove
argo-events-event-source-version: v0.10
argo-events-event-source-version: v0.11
data:
example-with-path: |-
# directory to watch
Expand Down
2 changes: 1 addition & 1 deletion examples/event-sources/gcp-pubsub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
name: gcp-pubsub-event-source
labels:
# do not remove
argo-events-event-source-version: v0.10
argo-events-event-source-version: v0.11
data:
example-1: |-
# id of your project
Expand Down
2 changes: 1 addition & 1 deletion examples/event-sources/github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
name: github-event-source
labels:
# do not remove
argo-events-event-source-version: v0.10
argo-events-event-source-version: v0.11
data:
example: |-
# owner of the repo
Expand Down
2 changes: 1 addition & 1 deletion examples/event-sources/gitlab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
name: gitlab-event-source
labels:
# do not remove
argo-events-event-source-version: v0.10
argo-events-event-source-version: v0.11
data:
example: |-
# id of the project
Expand Down
2 changes: 1 addition & 1 deletion examples/event-sources/hdfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
name: hdfs-gateway-configmap
labels:
# do not remove
argo-events-event-source-version: v0.10
argo-events-event-source-version: v0.11
data:
example-1: |-
directory: "/tmp/"
Expand Down
2 changes: 1 addition & 1 deletion examples/event-sources/kafka.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
name: kafka-event-source
labels:
# do not remove
argo-events-event-source-version: v0.10
argo-events-event-source-version: v0.11
data:
# no retries if connection to kafka service is not successful
example-without-retry: |-
Expand Down
2 changes: 1 addition & 1 deletion examples/event-sources/mqtt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
name: mqtt-event-source
labels:
# do not remove
argo-events-event-source-version: v0.10
argo-events-event-source-version: v0.11
data:
# no retries if connection to mqtt service is not successful
example-without-retry: |-
Expand Down
2 changes: 1 addition & 1 deletion examples/event-sources/nats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
name: nats-event-source
labels:
# do not remove
argo-events-event-source-version: v0.10
argo-events-event-source-version: v0.11
data:
# no retries if connection to nats service is not successful
example-without-retry: |-
Expand Down
2 changes: 1 addition & 1 deletion examples/event-sources/resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
name: resource-event-source
labels:
# do not remove
argo-events-event-source-version: v0.10
argo-events-event-source-version: v0.11
data:
# watch workflows that are in successful state
example: |-
Expand Down
2 changes: 1 addition & 1 deletion examples/event-sources/slack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
name: slack-event-source
labels:
# do not remove
argo-events-event-source-version: v0.10
argo-events-event-source-version: v0.11
data:
example-1: |-
# hook contains configuration for the HTTP server running in the gateway.
Expand Down
2 changes: 1 addition & 1 deletion examples/event-sources/storage-grid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
name: storage-grid-event-source
labels:
# do not remove
argo-events-event-source-version: v0.10
argo-events-event-source-version: v0.11
data:
example: |-
# hook contains configuration for the HTTP server running in the gateway.
Expand Down
2 changes: 1 addition & 1 deletion examples/event-sources/webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
name: webhook-event-source
labels:
# do not remove
argo-events-event-source-version: v0.10
argo-events-event-source-version: v0.11
data:
# gateway can run multiple HTTP servers. Simply define a unique port to start a new HTTP server

Expand Down
2 changes: 1 addition & 1 deletion examples/gateways/amqp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
# gateway controller will use this label to match with it's own version
# do not remove
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
# type of the gateway
type: "amqp"
Expand Down
2 changes: 1 addition & 1 deletion examples/gateways/artifact-nats-standard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
# gateway controller will use this label to match with it's own version
# do not remove
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
type: "artifact"
eventSource: "artifact-event-source"
Expand Down
2 changes: 1 addition & 1 deletion examples/gateways/artifact-nats-streaming.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
# gateway controller will use this label to match with it's own version
# do not remove
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
type: "artifact"
eventSource: "artifact-event-source"
Expand Down
2 changes: 1 addition & 1 deletion examples/gateways/artifact.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
# gateway controller will use this label to match with it's own version
# do not remove
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
processorPort: "9330"
eventProtocol:
Expand Down
2 changes: 1 addition & 1 deletion examples/gateways/aws-sns.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
# gateway controller will use this label to match with it's own version
# do not remove
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
type: "aws-sns"
eventSource: "aws-sns-event-source"
Expand Down
2 changes: 1 addition & 1 deletion examples/gateways/aws-sqs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
# gateway controller will use this label to match with it's own version
# do not remove
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
type: "aws-sqs"
eventSource: "aws-sqs-event-source"
Expand Down
2 changes: 1 addition & 1 deletion examples/gateways/calendar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
# gateway controller will use this label to match with it's own version
# do not remove
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
type: "calendar"
eventSource: "calendar-event-source"
Expand Down
2 changes: 1 addition & 1 deletion examples/gateways/file.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
# gateway controller will use this label to match with it's own version
# do not remove
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
type: "file"
eventSource: "file-event-source"
Expand Down
2 changes: 1 addition & 1 deletion examples/gateways/gcp-pubsub.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
# gateway controller will use this label to match with it's own version
# do not remove
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
type: "gcp-pubsub"
eventSource: "gcp-pubsub-event-source"
Expand Down
2 changes: 1 addition & 1 deletion examples/gateways/github.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
# gateway controller will use this label to match with it's own version
# do not remove
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
type: "github"
eventSource: "github-event-source"
Expand Down
2 changes: 1 addition & 1 deletion examples/gateways/gitlab.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
# gateway controller will use this label to match with it's own version
# do not remove
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
type: "gitlab"
eventSource: "gitlab-event-source"
Expand Down
2 changes: 1 addition & 1 deletion examples/gateways/hdfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
# gateway controller will use this label to match with it's own version
# do not remove
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
type: "hdfs"
eventSource: "hdfs-event-source"
Expand Down
2 changes: 1 addition & 1 deletion examples/gateways/kafka.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
# gateway controller will use this label to match with it's own version
# do not remove
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
type: "kafka"
eventSource: "kafka-event-source"
Expand Down
2 changes: 1 addition & 1 deletion examples/gateways/mqtt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
# gateway controller will use this label to match with it's own version
# do not remove
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
type: "mqtt"
eventSource: "mqtt-event-source"
Expand Down
2 changes: 1 addition & 1 deletion examples/gateways/multi-watchers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
# gateway controller will use this label to match with it's own version
# do not remove
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
type: "webhook"
eventSource: "webhook-event-source"
Expand Down
2 changes: 1 addition & 1 deletion examples/gateways/nats.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
# gateway controller will use this label to match with it's own version
# do not remove
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
type: "nats"
eventSource: "nats-event-source"
Expand Down
2 changes: 1 addition & 1 deletion examples/gateways/resource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
# gateway controller will use this label to match with it's own version
# do not remove
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
type: "resource"
eventSource: "resource-event-source"
Expand Down
2 changes: 1 addition & 1 deletion examples/gateways/secure-webhook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
# gateway controller will use this label to match with it's own version
# do not remove
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
type: "webhook"
eventSource: "webhook-event-source"
Expand Down
2 changes: 1 addition & 1 deletion examples/gateways/sensor-in-different-namespace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
# gateway controller will use this label to match with it's own version
# do not remove
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
type: "webhook"
eventSource: "webhook-event-source"
Expand Down
2 changes: 1 addition & 1 deletion examples/gateways/slack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
gateways.argoproj.io/gateway-controller-instanceid: argo-events
# gateway controller will use this label to match with it's own version
# do not remove
argo-events-gateway-version: v0.10
argo-events-gateway-version: v0.11
spec:
type: "slack"
eventSource: "slack-event-source"
Expand Down
Loading

0 comments on commit 6bc863f

Please sign in to comment.