Publish tempest-k8s charm

Add zuul variable tempest-k8s to publish charm.
Add tox to generate token.
Run generate token to update secret to include
publish permissions for new charm tempest-k8s

Change-Id: I36566b73d9edc0e05a27591db24daf9f3634b518
This commit is contained in:
Hemanth Nakkina 2024-02-02 15:05:11 +05:30
parent 8dc3cdff4c
commit b9307183f7
No known key found for this signature in database
GPG Key ID: 2E4970F7B143168E
4 changed files with 83 additions and 61 deletions

View File

@ -51,3 +51,6 @@ zuul-client --zuul-url https://zuul.opendev.org encrypt \
generated="\ # Generated on $(date --iso-8601=seconds --utc) with 90 days ttl" generated="\ # Generated on $(date --iso-8601=seconds --utc) with 90 days ttl"
sed '1d' < sunbeam-charms.charmhub.token | sed "4 i $generated" > zuul.d/secrets.yaml sed '1d' < sunbeam-charms.charmhub.token | sed "4 i $generated" > zuul.d/secrets.yaml
# Clean the created files
rm sunbeam-charms.*

View File

@ -15,6 +15,7 @@ passenv =
allowlist_externals = allowlist_externals =
{toxinidir}/run_tox.sh {toxinidir}/run_tox.sh
{toxinidir}/fetch_libs.sh {toxinidir}/fetch_libs.sh
{toxinidir}/generate_token.sh
[testenv:fetch] [testenv:fetch]
basepython = python3 basepython = python3
@ -94,3 +95,10 @@ commands =
python3 render_bundles.py python3 render_bundles.py
# Example: functest-run-suite --keep-model --smoke --test-directory=tests/set1 # Example: functest-run-suite --keep-model --smoke --test-directory=tests/set1
functest-run-suite --keep-model {posargs} functest-run-suite --keep-model {posargs}
[testenv:generate-token]
basepython = python3
deps =
zuul-client
commands =
{toxinidir}/generate_token.sh

View File

@ -1,65 +1,75 @@
- secret: - secret:
name: charmhub_token name: charmhub_token
data: data:
# Generated on 2024-01-12T13:04:48+00:00 with 90 days ttl # Generated on 2024-02-02T09:33:56+00:00 with 90 days ttl
value: !encrypted/pkcs1-oaep value: !encrypted/pkcs1-oaep
- fojARxWlJPEVDv9FIq1kH9njVwjTQen/dgEQEUnsGtZ3Kuueta74+q8yDEI+VYkp2CoEh - E2LjWpipAf7UmhKuEmrk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TtE
cgW53PllZZhy6yI0fQSIW3y0e3BDCpNAjE+OAOtA331t4XtaDvBThb18wqMxIaJ93EpqW
YD6iLmOiWB6kCQVe9ZBfPjofki9HSuCkzsoK8LX7YT44IjqgMDSQbzmRQ0OOAZI11WEgg
m9USmDTgK9Ytjm/RjggiJ5kpTHtNwX6DrHWivXvWjKbfN8sCRj+dJj/ce1O5DcAPmhH8B
caBDNuPFWaPoS7U9FTnQsZ0H1O/uR5DbeIUwU5Y4O/32ni2nCmVyiXlTV0rNIE=

View File

@ -49,3 +49,4 @@
openstack-hypervisor: 2023.2/edge openstack-hypervisor: 2023.2/edge
sunbeam-machine: 2023.2/edge sunbeam-machine: 2023.2/edge
sunbeam-clusterd: 2023.2/edge sunbeam-clusterd: 2023.2/edge
tempest-k8s: 2023.2/edge