Use Swift for log and artifact upload
Generated via echo ... | python 3.6 ./tools/encrypt_secret.py --tenant public https://zuul.gerrit.cesnet.cz/ ci/project-config-public
Change-Id: I8361034b12a13ad4c4b63d054afe89d9d900b8da
diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml
index 9ed81bd..5b2b813 100644
--- a/zuul.d/jobs.yaml
+++ b/zuul.d/jobs.yaml
@@ -5,14 +5,14 @@
description: |
Base job with proper tenant-specific credentials for log upload.
secrets:
- - name: site_logs
- secret: site_logs
+ - name: cloud_logs
+ secret: cloud_logs
pass-to-parent: true
- job:
name: publish-artifacts-tenant
parent: publish-artifacts-base
secrets:
- - name: site_artifacts
- secret: site_artifacts
+ - name: cloud_artifacts
+ secret: cloud_artifacts
pass-to-parent: true
diff --git a/zuul.d/secrets.yaml b/zuul.d/secrets.yaml
index 9e79fd9..eb68e14 100644
--- a/zuul.d/secrets.yaml
+++ b/zuul.d/secrets.yaml
@@ -1,101 +1,43 @@
- secret:
- name: site_logs
+ name: cloud_logs
data:
- fqdn: ci-logs.gerrit.cesnet.cz
- path: /home/ci-logs-public/public_html/logs/
- url_prefix: https://ci-logs.gerrit.cesnet.cz/t/public/logs/
- ssh_known_hosts: |
- ci-logs.gerrit.cesnet.cz ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDPbLUowrHMqmbYPQQEMY7ESTa3LzP88r6l2KQWpLmcVpNhFL3ihphSegvssImEApyDOo0xVEegJPdTZ8d5haGia3b14xCSN1p5qRXeq/IuEAwoxI1xcmY1nTW3NUAk7CyaPDZWdmplwvKDB0TiJMrdIQjD1x6IYlHXwVek9xIqoY/4Rih/pOnt3epuqFQHRHLA0YIBprqyv64fLpN/xs72Gx4zT+oSNU//NIh5E4JI7O7sLQ/xgxExtIZ48u1KFnI8KwCLwZ/hGJLE6ucD8o/7HQ44KOHm/LAso7VCpzis/0jopjFJZ5edTv2iLrZ7mXzU9Ngz9Pmt27B8pMIEzR1B
- ssh_username: ci-logs-public
- ssh_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I=
- - fyhg7I/OUyVTLPvFOmC5cFfrZu/q/qTZ9x8e2GAd/zQI8CGRsdsnjo+Dj/fVMFLwHetSx
- 49LfmkU9G7BTCqb52xEQ5iKqVwuhx0l6PqIiUgnE/sEPiu8kEPWSFDWSgVnw4MHf3FDFw
- Ew7QFy6VDdKzkeFbp7MHwA9ZRezpIuGQ98tlnHQBTLx/CGLY2dfej6XRJEjIZ2CwnEc5T
- fPBS7/lsoWOYnokmt/mtgaGQdRLFkZUU1mJgbzDQ2nwSpLZESIEbzjiV0Xgyo6uZdutPL
- UCuEDNH3LY2wQF3sFIxfwA7M6aaF2MnTp/EZhJJjH3qMzxUbBn3NWZijUWDRiPZkmcdZc
- N3i3Q0FwxW6BJtB3Z1r3JtbEWVgZbQSFGhdSnCvDVYUv14AVNmRhiM9M5At867XHrvtyx
- n03AXERDGULQ869EnOL+Zks8py0SqR3rmy0IPb5XIxrjW/FX9lw37ZPHCrCXP30AZA7tn
- Arv3YgKgMMBvlKT/f95BOAD/DSZqpf3dMxGvxdhIpJDRNrbOQ8sjJPl+uS6XlCuYYzh4F
- ZNYzzI9ZeUETE0l/8PxJ8+WQmN/EFt3bOOFYsgmJqywRdujnplWTpUgSEQMEuzxJAK9tO
- dc8kstPAP0aGmUD+0qIjBlOmq+WDJKACltKjJtRwlxXUhJmavL63QRhCYDoYbo=
+ auth:
+ auth_url: "https://identity.cloud.muni.cz/v3"
+ application_credential_id: "76586a2420eb4d9593e9d87e3d00ad36"
+ application_credential_secret: !encrypted/pkcs1-oaep
+ - P8ScBfEht+a9ZXF65i0qrF/bC0H4ogxcDaK8/HspvdyqDGi1C1mi2x5QyzfZMRjP7pd6z
+ 0BtUU8MRuc6RmRpxLHUdwFnQxcAfcbLP8xJ7QrG4degVajtCTywfXzjbfQRKtMVZXJefI
+ Qh6gsJVThHKkdeEU0EosHVG6VuB932w13ULtqabpzWtJHUKevnCcpdCCaHeCibZami/z0
+ 0Yr3ZX74NbGtVewjMQIazgUTJQHmG7LxXepbIfvFKLlOiP0wBGzW/tsbTIvI/7HztxpZ3
+ Ad2i1qGtxwEDmExy4zCwgN7LDCTAqvDzQ0cqasLnWTWIIwbnfhdKD4ha4jriB+bGjBYDB
+ Ed2xiMV39X+zQGNaHJsWRY3FevNyNOjaJUtmyGrRUeVYu/Veuod9I2Qu7/LaCoklVwHKv
+ iIWOWX3jbvd2ZNAfcCpKUSWEm2TK8L/L/2fEVufEaxhW27JTf+8E++Mo372Gh8AX2Cibl
+ /9i3DO1gLJOPA1niDRMPpqB9ARZdd4jEq0J8NuKawHzMe00wN+g1Xf8TcCj8VaCG54YTN
+ kD9a29pleAWX8rCJQrKggFieL01SoiwaiXi26Vj+FPRPZRvf04YzFDw6Eb7xu3X+4G/lU
+ gvWaWTNd4vNMx5LQfJ+UGgtn/NRwpiXoPkKBsklL8WMgWmNQknZE9VRPSzSE1g=
+ region_name: "brno1"
+ interface: "public"
+ identity_api_version: 3
+ auth_type: "v3applicationcredential"
- secret:
- name: site_artifacts
+ name: cloud_artifacts
data:
- fqdn: ci-logs.gerrit.cesnet.cz
- path: /home/ci-logs-public/public_html/artifacts/
- ssh_known_hosts: |
- ci-logs.gerrit.cesnet.cz ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDPbLUowrHMqmbYPQQEMY7ESTa3LzP88r6l2KQWpLmcVpNhFL3ihphSegvssImEApyDOo0xVEegJPdTZ8d5haGia3b14xCSN1p5qRXeq/IuEAwoxI1xcmY1nTW3NUAk7CyaPDZWdmplwvKDB0TiJMrdIQjD1x6IYlHXwVek9xIqoY/4Rih/pOnt3epuqFQHRHLA0YIBprqyv64fLpN/xs72Gx4zT+oSNU//NIh5E4JI7O7sLQ/xgxExtIZ48u1KFnI8KwCLwZ/hGJLE6ucD8o/7HQ44KOHm/LAso7VCpzis/0jopjFJZ5edTv2iLrZ7mXzU9Ngz9Pmt27B8pMIEzR1B
- ssh_username: ci-logs-public
- ssh_private_key: !encrypted/pkcs1-oaep
- - mUWAsgtDM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/q/qTZ9x8e2GAd/zQI8CGRsdsnjo+Dj/fVMFLwHetSx
- 49LfmkU9G7BTCqb52xEQ5iKqVwuhx0l6PqIiUgnE/sEPiu8kEPWSFDWSgVnw4MHf3FDFw
- Ew7QFy6VDdKzkeFbp7MHwA9ZRezpIuGQ98tlnHQBTLx/CGLY2dfej6XRJEjIZ2CwnEc5T
- fPBS7/lsoWOYnokmt/mtgaGQdRLFkZUU1mJgbzDQ2nwSpLZESIEbzjiV0Xgyo6uZdutPL
- UCuEDNH3LY2wQF3sFIxfwA7M6aaF2MnTp/EZhJJjH3qMzxUbBn3NWZijUWDRiPZkmcdZc
- N3i3Q0FwxW6BJtB3Z1r3JtbEWVgZbQSFGhdSnCvDVYUv14AVNmRhiM9M5At867XHrvtyx
- n03AXERDGULQ869EnOL+Zks8py0SqR3rmy0IPb5XIxrjW/FX9lw37ZPHCrCXP30AZA7tn
- Arv3YgKgMMBvlKT/f95BOAD/DSZqpf3dMxGvxdhIpJDRNrbOQ8sjJPl+uS6XlCuYYzh4F
- ZNYzzI9ZeUETE0l/8PxJ8+WQmN/EFt3bOOFYsgmJqywRdujnplWTpUgSEQMEuzxJAK9tO
- dc8kstPAP0aGmUD+0qIjBlOmq+WDJKACltKjJtRwlxXUhJmavL63QRhCYDoYbo=
-
+ auth:
+ auth_url: "https://identity.cloud.muni.cz/v3"
+ application_credential_id: "e418cc83fab7423fb338cf81454508c7"
+ application_credential_secret: !encrypted/pkcs1-oaep
+ - 1YMxavaAMUlOjIXXdHBp1xV0LMChvB97fX7fTq+DaJhbMKeNKk4GHYv47uY3V/rZyHju8
+ cTvfe96vr49cG55GiIDhQZHXL0kEioGFwzU/FbgX5HI2EkZW7Jx+A7X5SttOJfWPRKZSK
+ MXaVrPekqLTwJ867xGHFm8H5hjfOqnlAfqhc3dcfimYr//z0QjrFZlzkXbRowwMEnkfLU
+ YXQD56NgU9PlPmH/EgOjDNFEKpNW0jNO9uxRM4f0wFLORnFjsDqE5KqdRsGW4YLGVUytg
+ BnsV6FdasjCkJP3sZoX6ZvPOTXzz3rI7KNWf0BHa0nL0Vm1mEkPKlJGRKtb+dI+bRQw8s
+ 9XWlgiJ1Y0uRGiqm4fcEBsocMGx29SUz0o5N/U4qe+ipEjlyKhb8K1OU0l8iO72h1RYU1
+ Oo0+ro6x66IzP3D3u1gV8DFMnoyru3NgDaVbwA6/6YZZ8PYlPUPGs0k74EJlZA6HB9Sbf
+ HvMLsvO3TwqD3A0BHrd1x6DjvFBy9z+0S0v/EoubOe7b2hbQmxp+mYyBxqyrtXN9RyX4m
+ FGcPepPKldGLkamAXIv/mVqK3gCNpVbjJXwaOHjO2qzRuxxl7m0d9kMC8J1XdPzEXNMqt
+ +ZP2rPF9GEFbY1qYrZ66pSkZvFACGZ8SXC9A1HBBsbj6G0n+zir/TQFQ3/Npj0=
+ region_name: "brno1"
+ interface: "public"
+ identity_api_version: 3
+ auth_type: "v3applicationcredential"