Re: [PATCH] robosignatory.toml.j2: bump FCOS artifacts signing key to f31

2019-11-25 Thread Jonathan Lebon
On that topic, one thing we'd like to do in the future is making
RoboSignatory smarter so that it can automatically select the right
release key based on the FCOS version string[1].  The versioning
scheme is available at [2].

[1] https://github.com/coreos/fedora-coreos-tracker/issues/296
[2] 
https://github.com/coreos/fedora-coreos-tracker/blob/master/Design.md#version-numbers

On Mon, Nov 25, 2019 at 9:47 AM Jonathan Lebon  wrote:
>
> From: Jonathan Lebon 
>
> FCOS is now rebased to f31. Bump the signing key accordingly.
>
> Signed-off-by: Jonathan Lebon 
> ---
>  roles/robosignatory/templates/robosignatory.toml.j2 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/roles/robosignatory/templates/robosignatory.toml.j2 
> b/roles/robosignatory/templates/robosignatory.toml.j2
> index 8126648c9..520ec72ee 100644
> --- a/roles/robosignatory/templates/robosignatory.toml.j2
> +++ b/roles/robosignatory/templates/robosignatory.toml.j2
> @@ -476,7 +476,7 @@ handlers = ["console"]
>
>  [consumer_config.coreos]
>  bucket = "fcos-builds"
> -key = "{{ (env == 'production')|ternary('fedora-30', 'testkey') }}"
> +key = "{{ (env == 'production')|ternary('fedora-31', 'testkey') }}"
>
>  [consumer_config.coreos.aws]
>  access_key = "{{ fcos_builds_releng_aws_access_id }}"
> --
> 2.23.0
>
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org


[PATCH] robosignatory.toml.j2: bump FCOS artifacts signing key to f31

2019-11-25 Thread Jonathan Lebon
From: Jonathan Lebon 

FCOS is now rebased to f31. Bump the signing key accordingly.

Signed-off-by: Jonathan Lebon 
---
 roles/robosignatory/templates/robosignatory.toml.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/roles/robosignatory/templates/robosignatory.toml.j2 
b/roles/robosignatory/templates/robosignatory.toml.j2
index 8126648c9..520ec72ee 100644
--- a/roles/robosignatory/templates/robosignatory.toml.j2
+++ b/roles/robosignatory/templates/robosignatory.toml.j2
@@ -476,7 +476,7 @@ handlers = ["console"]
 
 [consumer_config.coreos]
 bucket = "fcos-builds"
-key = "{{ (env == 'production')|ternary('fedora-30', 'testkey') }}"
+key = "{{ (env == 'production')|ternary('fedora-31', 'testkey') }}"
 
 [consumer_config.coreos.aws]
 access_key = "{{ fcos_builds_releng_aws_access_id }}"
-- 
2.23.0
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org


[PATCH v2] rabbitmq: add coreos queue

2019-09-20 Thread Jonathan Lebon
This is needed for CoreOS-specific messages. See
https://pagure.io/fedora-infrastructure/issue/8227.

Reviewed-by: Aurelien Bompard 
---
 roles/rabbitmq_cluster/tasks/apps.yml | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/roles/rabbitmq_cluster/tasks/apps.yml 
b/roles/rabbitmq_cluster/tasks/apps.yml
index 1f2f5af55..ec743defc 100644
--- a/roles/rabbitmq_cluster/tasks/apps.yml
+++ b/roles/rabbitmq_cluster/tasks/apps.yml
@@ -3,9 +3,12 @@
 #
 
 
-- name: CoreOS user
+- name: CoreOS queue
   run_once: true
   include_role:
-name: rabbit/user
+name: rabbit/queue
   vars:
 username: coreos{{ env_suffix }}
+queue_name: coreos{{ env_suffix }}
+routing_keys:
+  - "org.fedoraproject.*.coreos.build.request.*"
-- 
2.21.0
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org


[PATCH] rabbitmq: add coreos queue

2019-09-20 Thread Jonathan Lebon
This is needed for CoreOS-specific messages. See
https://pagure.io/fedora-infrastructure/issue/8227.
---
 roles/rabbitmq_cluster/tasks/apps.yml | 10 ++
 1 file changed, 10 insertions(+)

diff --git a/roles/rabbitmq_cluster/tasks/apps.yml 
b/roles/rabbitmq_cluster/tasks/apps.yml
index 1f2f5af55..8f4cfffa8 100644
--- a/roles/rabbitmq_cluster/tasks/apps.yml
+++ b/roles/rabbitmq_cluster/tasks/apps.yml
@@ -9,3 +9,13 @@
 name: rabbit/user
   vars:
 username: coreos{{ env_suffix }}
+
+- name: CoreOS queue
+  run_once: true
+  include_role:
+name: rabbit/queue
+  vars:
+username: coreos{{ env_suffix }}
+queue_name: coreos{{ env_suffix }}
+routing_keys:
+  - "org.fedoraproject.*.coreos.*"
-- 
2.21.0
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org


[PATCH] tag2distrepo: also regen f*-coreos-continuous repos

2019-04-11 Thread Jonathan Lebon
We want to be able to get automatically regenerated yum repos whenever
we build into the continuous tags. This will be used by the Fedora
CoreOS team for building and testing.

See https://pagure.io/releng/issue/8165 for more details.
---
 roles/bodhi2/backend/templates/tag2distrepo.py.j2 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/roles/bodhi2/backend/templates/tag2distrepo.py.j2
b/roles/bodhi2/backend/templates/tag2distrepo.py.j2
index 943e543b9..1a845d089 100644
--- a/roles/bodhi2/backend/templates/tag2distrepo.py.j2
+++ b/roles/bodhi2/backend/templates/tag2distrepo.py.j2
@@ -24,6 +24,8 @@ config = {
 'epel6-infra-stg': ['47dd8ef9'],
 'epel7-infra': ['47dd8ef9'],
 'epel7-infra-stg': ['47dd8ef9'],
+'f29-coreos-continuous': [],
+'f30-coreos-continuous': [],
 }
 }
 }
--
2.20.1
___
infrastructure mailing list -- infrastructure@lists.fedoraproject.org
To unsubscribe send an email to infrastructure-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedoraproject.org