EUGENIO SOUZA CARVALHO 4 éve
szülő
commit
19458f5f4b
1 módosított fájl, 20 hozzáadás és 20 törlés
  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