EUGENIO SOUZA CARVALHO 4 سال پیش
والد
کامیت
19458f5f4b
1فایلهای تغییر یافته به همراه20 افزوده شده و 20 حذف شده
  1. 20 20
      argoworkflow/workflow/040-sensor-github.yaml

+ 20 - 20
argoworkflow/workflow/040-sensor-github.yaml

@@ -105,28 +105,28 @@ spec:
               apiVersion: argoproj.io/v1alpha1
               kind: Workflow
               metadata:
-                # generateName: github-
-                generateName: ci-workflow-
+                generateName: github-
+                # generateName: ci-workflow-
               spec:
                 serviceAccountName: workflow
-                # entrypoint: whalesay
-                entrypoint: ci-workflow
-                workflowTemplateRef:
-                   name: ci-workflow
-                # arguments:
-                #   parameters:
-                #   - name: message
-                #     # value will get overridden by the event payload
-                #     value: hello world
-                # templates:
-                # - name: whalesay
-                #   inputs:
-                #     parameters:
-                #     - name: message
-                #   container:
-                #     image: docker/whalesay:latest
-                #     command: [cowsay]
-                #     args: ["{{inputs.parameters.message}}"]
+                entrypoint: whalesay
+                # entrypoint: ci-workflow
+                # workflowTemplateRef:
+                #    name: ci-workflow
+                arguments:
+                  parameters:
+                  - name: message
+                    # value will get overridden by the event payload
+                    value: hello world
+                templates:
+                - name: whalesay
+                  inputs:
+                    parameters:
+                    - name: message
+                  container:
+                    image: docker/whalesay:latest
+                    command: [cowsay]
+                    args: ["{{inputs.parameters.message}}"]
           parameters:
             - src:
                 dependencyName: test-dep