Use release-ansible-collections from project-config
Since secrets are unique per project, it's not possible jsut to re-use job from ansible-collections-openstack. So we define individual api key per repo and parenting same job that is stored in project-config. Depends-On: https://review.opendev.org/c/openstack/project-config/+/850664 Change-Id: If50daae8d46dffb5e7e7742feaa88eb0be7aa699
This commit is contained in:
parent
dae35c0bc3
commit
0cc7ff4503
@ -4,7 +4,7 @@ description: |-
|
||||
Template includes config_template module, that leverages template module and
|
||||
adds override functionality to different types of config files.
|
||||
name: "config_template"
|
||||
version: "1.3.0"
|
||||
version: "2.0.1"
|
||||
readme: "README.rst"
|
||||
authors:
|
||||
- Kevin Carter <kevin.carter@rackspace.com>
|
||||
|
20
zuul.d/jobs.yaml
Normal file
20
zuul.d/jobs.yaml
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
# Copyright 2022, City Network International AB.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- job:
|
||||
name: release-ansible-collection-config_template
|
||||
parent: release-ansible-collections
|
||||
secrets:
|
||||
- ansible_galaxy_info
|
@ -32,4 +32,4 @@
|
||||
|
||||
tag:
|
||||
jobs:
|
||||
- ansible-collections-openstack-release
|
||||
- release-ansible-collection-config_template
|
||||
|
21
zuul.d/secrets.yaml
Normal file
21
zuul.d/secrets.yaml
Normal file
@ -0,0 +1,21 @@
|
||||
---
|
||||
# Copyright 2022, City Network International AB.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- secret:
|
||||
name: ansible_galaxy_info
|
||||
pass-to-parent: true
|
||||
data:
|
||||
token: !encrypted/pkcs1-oaep
|
||||
-
|
Loading…
Reference in New Issue
Block a user