#136 Change Testing-Farm secret key
Merged 2 years ago by zuul. Opened 2 years ago by guyinger.
guyinger/fedora-zuul-jobs-config prepare_for_tf_generic_role  into  master

file modified
+4 -4
@@ -251,8 +251,8 @@ 

          , requires = Some [ "repo" ]

          , secrets = Some

            [ Zuul.Job.Secret::{

-             , name = "testing_farm_zuul_fedora_ci_key"

-             , secret = "testing_farm_zuul_fedora_ci_key"

+             , name = "testing_farm_zuul_ci_key"

+             , secret = "testing_farm_zuul_ci_key"

              }

            ]

          , run = Some "playbooks/testing-farm/run.yaml"
@@ -281,8 +281,8 @@ 

          , requires = Some [ "repo" ]

          , secrets = Some

            [ Zuul.Job.Secret::{

-             , name = "testing_farm_zuul_fedora_ci_key"

-             , secret = "testing_farm_zuul_fedora_ci_key"

+             , name = "testing_farm_zuul_ci_key"

+             , secret = "testing_farm_zuul_ci_key"

              }

            ]

          , run = Some "playbooks/testing-farm/run.yaml"

file modified
+20 -20
@@ -564,8 +564,8 @@ 

        - zuul: zuul-distro-jobs

        - zuul: fedora-zuul-jobs

      secrets:

-       - name: testing_farm_zuul_fedora_ci_key

-         secret: testing_farm_zuul_fedora_ci_key

+       - name: testing_farm_zuul_ci_key

+         secret: testing_farm_zuul_ci_key

      timeout: 21600

      vars:

        compose: Fedora-Rawhide
@@ -587,8 +587,8 @@ 

        - zuul: zuul-distro-jobs

        - zuul: fedora-zuul-jobs

      secrets:

-       - name: testing_farm_zuul_fedora_ci_key

-         secret: testing_farm_zuul_fedora_ci_key

+       - name: testing_farm_zuul_ci_key

+         secret: testing_farm_zuul_ci_key

      timeout: 21600

      vars:

        compose: Fedora-35
@@ -610,8 +610,8 @@ 

        - zuul: zuul-distro-jobs

        - zuul: fedora-zuul-jobs

      secrets:

-       - name: testing_farm_zuul_fedora_ci_key

-         secret: testing_farm_zuul_fedora_ci_key

+       - name: testing_farm_zuul_ci_key

+         secret: testing_farm_zuul_ci_key

      timeout: 21600

      vars:

        compose: Fedora-34
@@ -633,8 +633,8 @@ 

        - zuul: zuul-distro-jobs

        - zuul: fedora-zuul-jobs

      secrets:

-       - name: testing_farm_zuul_fedora_ci_key

-         secret: testing_farm_zuul_fedora_ci_key

+       - name: testing_farm_zuul_ci_key

+         secret: testing_farm_zuul_ci_key

      timeout: 21600

      vars:

        compose: Fedora-33
@@ -656,8 +656,8 @@ 

        - zuul: zuul-distro-jobs

        - zuul: fedora-zuul-jobs

      secrets:

-       - name: testing_farm_zuul_fedora_ci_key

-         secret: testing_farm_zuul_fedora_ci_key

+       - name: testing_farm_zuul_ci_key

+         secret: testing_farm_zuul_ci_key

      timeout: 21600

      vars:

        compose: Fedora-epel8
@@ -680,8 +680,8 @@ 

        - zuul: zuul-distro-jobs

        - zuul: fedora-zuul-jobs

      secrets:

-       - name: testing_farm_zuul_fedora_ci_key

-         secret: testing_farm_zuul_fedora_ci_key

+       - name: testing_farm_zuul_ci_key

+         secret: testing_farm_zuul_ci_key

      timeout: 21600

      vars:

        compose: Fedora-Rawhide
@@ -703,8 +703,8 @@ 

        - zuul: zuul-distro-jobs

        - zuul: fedora-zuul-jobs

      secrets:

-       - name: testing_farm_zuul_fedora_ci_key

-         secret: testing_farm_zuul_fedora_ci_key

+       - name: testing_farm_zuul_ci_key

+         secret: testing_farm_zuul_ci_key

      timeout: 21600

      vars:

        compose: Fedora-35
@@ -726,8 +726,8 @@ 

        - zuul: zuul-distro-jobs

        - zuul: fedora-zuul-jobs

      secrets:

-       - name: testing_farm_zuul_fedora_ci_key

-         secret: testing_farm_zuul_fedora_ci_key

+       - name: testing_farm_zuul_ci_key

+         secret: testing_farm_zuul_ci_key

      timeout: 21600

      vars:

        compose: Fedora-34
@@ -749,8 +749,8 @@ 

        - zuul: zuul-distro-jobs

        - zuul: fedora-zuul-jobs

      secrets:

-       - name: testing_farm_zuul_fedora_ci_key

-         secret: testing_farm_zuul_fedora_ci_key

+       - name: testing_farm_zuul_ci_key

+         secret: testing_farm_zuul_ci_key

      timeout: 21600

      vars:

        compose: Fedora-33
@@ -772,8 +772,8 @@ 

        - zuul: zuul-distro-jobs

        - zuul: fedora-zuul-jobs

      secrets:

-       - name: testing_farm_zuul_fedora_ci_key

-         secret: testing_farm_zuul_fedora_ci_key

+       - name: testing_farm_zuul_ci_key

+         secret: testing_farm_zuul_ci_key

      timeout: 21600

      vars:

        compose: Fedora-epel8

@@ -1,6 +1,6 @@ 

  ---

  - secret:

-     name: testing_farm_zuul_fedora_ci_key

+     name: testing_farm_zuul_ci_key

      data:

        apikey: !encrypted/pkcs1-oaep

          - lHC3iX9kFYconVbRleWHuCklX97ap/kzrCtF+DQM6BkkHTAciscsoeqZY0csoRJqTvOT7

This PR changes the Testing-Farm secret key, to prepare for https://pagure.io/fedora-zuul-jobs/pull-request/123#

Build succeeded.

rebased onto 69a0b6aea798fbd721a573090c599170ea66ac1d

2 years ago

Zuul encountered a syntax error while parsing its configuration in the
repo fedora-zuul-jobs-config on branch master. The error was:

The secret "testing_farm_zuul_fedora_ci_key" was not found.

The error appears in the following job stanza:

job:
name: rpm-tmt-test
description: Running fmf test on Testing Farm
run: playbooks/testing-farm/run.yaml
post-run:
- playbooks/testing-farm/fetch.yaml
branches:
- rawhide
- main
final: true
nodeset: fedora-33-container
requires:
- repo
roles:
- zuul: zuul-distro-jobs
- zuul: fedora-zuul-jobs
secrets:
- name: testing_farm_zuul_fedora_ci_key
secret: testing_farm_zuul_fedora_ci_key
timeout: 21600
vars:
compose: Fedora-Rawhide
test_type: fmf

in "fedora-zuul-jobs-config/zuul.d/jobs.yaml@master", line 550, column 3

@guyinger maybe you did not generate the jobs or something? not sure why it is complaining about the old secret name

rebased onto 5e9cf48e497a36b2563bfe145525c5ae16eff3b3

2 years ago

Build succeeded.

rebased onto bec4411

2 years ago

Build succeeded.

Metadata Update from @fbo:
- Pull-request tagged with: gateit

2 years ago

Build succeeded (gate pipeline).

Pull-Request has been merged by zuul

2 years ago