github.com/zppinho/prow@v0.0.0-20240510014325-1738badeb017/test/integration/config/prow/jobs/postsubmits.yaml (about)

     1  postsubmits:
     2    org1/repo1:
     3      - name: trigger-postsubmit-via-pubsub1
     4        always_run: false
     5        decorate: true
     6        # Without this, the ProwJob CR that gets created will attempt to clone
     7        # from GitHub, not the fakegitserver. We can't set this in the test case
     8        # code because sub (production code), not our test code, is the one
     9        # creating the ProwJob CR.
    10        clone_uri: "http://fakegitserver.default/repo/repo1"
    11        spec:
    12          containers:
    13          - image: localhost:5001/alpine
    14            command:
    15            - sh
    16            args:
    17            - -c
    18            - |
    19              set -eu
    20              echo "hello from trigger-postsubmit-via-pubsub1"
    21              # Cat out the contents of the file that is only available from the
    22              # repo1 Git repo.
    23              cat README.txt