EUGENIO SOUZA CARVALHO 3 years ago
parent
commit
19458f5f4b
1 changed files with 20 additions and 20 deletions
  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