-
Notifications
You must be signed in to change notification settings - Fork 746
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added support for backoff option when making connections in stream gateways * Extracting common webhook functionality * Modified storage grid and webhook implementation to take advantage of common webhook functionality * Added sns gateway implementation * Enhancing sns gateway * Update deps * Adding git as trigger source * Adding git as a store for triggers * Adding capability to switch to a branch or tag for git trigger source * Update codegen * Update deps * Support for adding remotes for git trigger source * Minor comment update
- Loading branch information
1 parent
c98e35c
commit ac66a69
Showing
13 changed files
with
1,779 additions
and
262 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Sensor | ||
metadata: | ||
name: trigger-source-git | ||
labels: | ||
sensors.argoproj.io/sensor-controller-instanceid: argo-events | ||
spec: | ||
deploySpec: | ||
containers: | ||
- name: "sensor" | ||
# this is an experimental image | ||
image: "argoproj/sensor:v0.7.3" | ||
imagePullPolicy: Always | ||
volumeMounts: | ||
- mountPath: /git/argoproj | ||
name: argoproj | ||
volumes: | ||
- name: argoproj | ||
emptyDir: {} | ||
serviceAccountName: argo-events-sa | ||
dependencies: | ||
- name: "webhook-gateway-http:foo" | ||
eventProtocol: | ||
type: "HTTP" | ||
http: | ||
port: "9300" | ||
triggers: | ||
- name: workflow-trigger-1 | ||
resource: | ||
namespace: argo-events | ||
group: argoproj.io | ||
version: v1alpha1 | ||
kind: Workflow | ||
source: | ||
git: | ||
url: "https://github.com/argoproj/argo.git" | ||
cloneDirectory: "/git/argoproj" | ||
creds: | ||
username: | ||
name: github-secret | ||
key: username | ||
password: | ||
name: github-secret | ||
key: password | ||
namespace: argo-events | ||
filePath: "examples/hello-world.yaml" | ||
tag: "v2.2.1" | ||
- name: workflow-trigger-2 | ||
resource: | ||
namespace: argo-events | ||
group: argoproj.io | ||
version: v1alpha1 | ||
kind: Workflow | ||
source: | ||
git: | ||
url: "https://github.com/argoproj/argo.git" | ||
cloneDirectory: "/git/argoproj" | ||
creds: | ||
username: | ||
name: github-secret | ||
key: username | ||
password: | ||
name: github-secret | ||
key: password | ||
namespace: argo-events | ||
filePath: "examples/hello-world.yaml" | ||
branch: "release-2.0" | ||
# optional | ||
remote: | ||
name: "myremote" | ||
urls: | ||
- "https://github.com/VaibhavPage/argo.git" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.