Reference Airship manifests, CICD, and reference architecture.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

257 lines
9.1KB

  1. # Licensed under the Apache License, Version 2.0 (the "License");
  2. # you may not use this file except in compliance with the License.
  3. # You may obtain a copy of the License at
  4. #
  5. # http://www.apache.org/licenses/LICENSE-2.0
  6. #
  7. # Unless required by applicable law or agreed to in writing, software
  8. # distributed under the License is distributed on an "AS IS" BASIS,
  9. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. # See the License for the specific language governing permissions and
  11. # limitations under the License.
  12. - project:
  13. templates:
  14. - docs-on-readthedocs
  15. vars:
  16. rtd_webhook_id: '47687'
  17. rtd_project_name: 'airship-treasuremap'
  18. check:
  19. jobs:
  20. - treasuremap-seaworthy-site-lint
  21. - treasuremap-seaworthy-virt-site-lint
  22. - treasuremap-airskiff-ubuntu-site-lint
  23. - treasuremap-airskiff-suse-site-lint
  24. - treasuremap-airsloop-site-lint
  25. - treasuremap-aiab-site-lint
  26. - treasuremap-airskiff-deployment-ubuntu
  27. - treasuremap-airskiff-deployment-suse
  28. gate:
  29. jobs:
  30. - treasuremap-seaworthy-site-lint
  31. - treasuremap-seaworthy-virt-site-lint
  32. - treasuremap-airskiff-ubuntu-site-lint
  33. - treasuremap-airskiff-suse-site-lint
  34. - treasuremap-airsloop-site-lint
  35. - treasuremap-aiab-site-lint
  36. post:
  37. jobs:
  38. - treasuremap-upload-git-mirror
  39. - nodeset:
  40. name: treasuremap-single-node
  41. nodes:
  42. - name: ubuntu-bionic
  43. label: ubuntu-bionic
  44. - job:
  45. name: treasuremap-site-lint
  46. description:
  47. Lint a site using Pegleg. Default site is seaworthy.
  48. nodeset: treasuremap-single-node
  49. timeout: 900
  50. pre-run:
  51. - tools/gate/playbooks/install-docker.yaml
  52. - tools/gate/playbooks/git-config.yaml
  53. run: tools/gate/playbooks/site-lint.yaml
  54. vars:
  55. site: seaworthy
  56. irrelevant-files:
  57. - ^.*\.rst$
  58. - ^doc/.*$
  59. - job:
  60. name: treasuremap-seaworthy-site-lint
  61. description: |
  62. Lint the seaworthy site using Pegleg.
  63. parent: treasuremap-site-lint
  64. vars:
  65. site: seaworthy
  66. irrelevant-files:
  67. - ^.*\.rst$
  68. - ^doc/.*$
  69. - ^site/seaworthy-virt/.*$
  70. - ^site/airskiff/.*$
  71. - ^site/airsloop/.*$
  72. - ^site/aiab/.*$
  73. - job:
  74. name: treasuremap-seaworthy-virt-site-lint
  75. description: |
  76. Lint the seaworthy site using Pegleg.
  77. parent: treasuremap-site-lint
  78. vars:
  79. site: seaworthy-virt
  80. irrelevant-files:
  81. - ^.*\.rst$
  82. - ^doc/.*$
  83. - ^site/seaworthy/.*$
  84. - ^site/airskiff/.*$
  85. - ^site/airsloop/.*$
  86. - ^site/aiab/.*$
  87. - job:
  88. name: treasuremap-airskiff-ubuntu-site-lint
  89. description: |
  90. Lint the airskiff site using Pegleg.
  91. parent: treasuremap-site-lint
  92. vars:
  93. site: airskiff
  94. irrelevant-files:
  95. - ^.*\.rst$
  96. - ^doc/.*$
  97. - ^site/seaworthy/.*$
  98. - ^site/seaworthy-virt/.*$
  99. - ^site/airsloop/.*$
  100. - ^site/aiab/.*$
  101. - job:
  102. name: treasuremap-airskiff-suse-site-lint
  103. description: |
  104. Lint the airskiff-suse site using Pegleg.
  105. parent: treasuremap-site-lint
  106. vars:
  107. site: airskiff-suse
  108. irrelevant-files:
  109. - ^.*\.rst$
  110. - ^doc/.*$
  111. - ^site/seaworthy/.*$
  112. - ^site/seaworthy-virt/.*$
  113. - ^site/airsloop/.*$
  114. - ^site/aiab/.*$
  115. - job:
  116. name: treasuremap-airsloop-site-lint
  117. description: |
  118. Lint the airsloop site using Pegleg.
  119. parent: treasuremap-site-lint
  120. vars:
  121. site: airsloop
  122. irrelevant-files:
  123. - ^.*\.rst$
  124. - ^doc/.*$
  125. - ^site/seaworthy/.*$
  126. - ^site/seaworthy-virt/.*$
  127. - ^site/airskiff/.*$
  128. - ^site/aiab/.*$
  129. - job:
  130. name: treasuremap-aiab-site-lint
  131. description: |
  132. Lint the aiab site using Pegleg.
  133. parent: treasuremap-site-lint
  134. pre-run:
  135. - tools/gate/playbooks/generate-certs.yaml
  136. vars:
  137. site: aiab
  138. irrelevant-files:
  139. - ^.*\.rst$
  140. - ^doc/.*$
  141. - ^site/seaworthy/.*$
  142. - ^site/seaworthy-virt/.*$
  143. - ^site/airskiff/.*$
  144. - ^site/airsloop/.*$
  145. - job:
  146. name: treasuremap-airskiff-deployment-ubuntu
  147. nodeset: treasuremap-single-node
  148. description: |
  149. Deploy Memcached using Airskiff and latest Treasuremap changes.
  150. voting: false
  151. timeout: 9600
  152. pre-run:
  153. - tools/gate/playbooks/git-config.yaml
  154. - tools/gate/playbooks/airskiff-reduce-site.yaml
  155. run: tools/gate/playbooks/airskiff-deploy-gate.yaml
  156. post-run: tools/gate/playbooks/debug-report.yaml
  157. vars:
  158. site: airskiff
  159. irrelevant-files:
  160. - ^.*\.rst$
  161. - ^doc/.*$
  162. - ^site/seaworthy/.*$
  163. - ^site/airsloop/.*$
  164. - ^site/aiab/.*$
  165. - job:
  166. name: treasuremap-airskiff-deployment-suse
  167. nodeset: treasuremap-single-node
  168. description: |
  169. Deploy Memcached using Airskiff-suse and latest Treasuremap changes.
  170. voting: false
  171. timeout: 9600
  172. pre-run:
  173. - tools/gate/playbooks/git-config.yaml
  174. - tools/gate/playbooks/airskiff-reduce-site.yaml
  175. run: tools/gate/playbooks/airskiff-deploy-gate.yaml
  176. vars:
  177. site: airskiff-suse
  178. post-run: tools/gate/playbooks/debug-report.yaml
  179. irrelevant-files:
  180. - ^.*\.rst$
  181. - ^doc/.*$
  182. - ^site/seaworthy/.*$
  183. - ^site/airsloop/.*$
  184. - ^site/aiab/.*$
  185. - secret:
  186. name: airshipit-github-secret
  187. data:
  188. user: git
  189. host: github.com
  190. host_key: github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tU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cWgRMNtU/E4Xb0=
  202. - RD+YHDgMbXP4fgFbRub0JJDx6HT1IoOMjZonAqA8eB8QNc6nXoKIPp7+uSTjhXO03VoKh
  203. JpPYbzAKIYVPsePvI0Zi6LG08/tdD5auLLChjHrTKvNH9i7QqrBY+11THoSbdE2GQU/vq
  204. /8kZ053rfauTEEbHavyOstgaVe4VzYrf5GCIPWd0RLAE7+lcLdfa/hAA1zgkPz0s35stA
  205. sUUxRSpM2xEV6QWmNu/e0Id1X7cyAm8+ReK7aQGrRI+OH7zmbk19/kHl6CQwu0CATlkYr
  206. cir2oUsZLqztzZkoye+lgvuIl0MhJfVuW9T2a08I8sTUFn+7iAhsQF141E1Kim9HdhLX6
  207. tGEhNlSXlis6yjDOo3VClfISyYlFLipvLHcfwaIoyctR2qMBM8QZ/vobefeGCNnfnvGvc
  208. EO9WFlGAE+Wi0XJ+aHfnjyx3Uj0DyeYpjeaT2Z3Zh+FjHvAxf4HR61aAHsLneTNdH3jnk
  209. xQfQdSsxRhMNh8G672CChmHIVr65mUnCICdzRLv0n9zg+zX34GA+LuQvpchEREb5iUsGo
  210. USbfFPjxFredplwzbMLJhHREJmazgBscH/P1Yxm3MWvI+ui2L/FPUtDkbPA9N49boyezl
  211. klY9EjdiPyz0Rojv5LKPS9dD1xsbS0tTfzhJeNmAWkSpXAWYB3aD5mtmF73uWg=
  212. - YuZrKg3gP0lx4RX2IN0b39fCHebg4mONsZgJpOzdOwBZJmBUmjh/Vg0G5Elqn+WB/OlJ4
  213. O+dXavtOQtiNDSz9ysHgwTqXs7uyokt3IFio3oRTqXJC0SRss/KdknGRebFCgOm6FPKLj
  214. +HIRGYOzUwD4dMkEKJ5Fgeq28rqDITyiG88w7YxY4ZTmhKISHJWg/jRGq2P0jOy/W/1gB
  215. febTyWdEbWrMNaDADM7oHgRN4r1RNerh/CXppgcxKSIlgfxyYx3kvJXc7Z+QGVgxuHVds
  216. Ykgv18IYTPniXS2mXvHGbfdbg1GJwoQbzMHjhyLyTUYTPPe3afK7pSvTZTP7j1qj0Ta6J
  217. kLRKQx7mWIDtmQcqhO1ZQr4HnZsoNnifjO8uVvHz+HM8fqFlCfa62zndpBE/XNkoymC9I
  218. mqTv74XzQvCujWEprZZzcZG3YbwC3Utcoy3RjsjBbwTWp7Fg7rXbXtLfTGERt1FPvHa8c
  219. Sv7DLwic1IvE8CZz3E4lYhPuCTpt+sOlxW24+MiyguRXn7SJrKnOCKHsyOUOs5cwhR35X
  220. 0hVmp3Arlu37tQNDZA1juLtw4D3bWPDPdkQcuncnQEs4n2kzEJR0Vk8XKomhJgKzXhP+B
  221. zybYvKpX5F56i3bfSs8as8CWLvih4kcwwj9fZvZlBtlWkL2jHwkFVBj/kQUczc=
  222. - J8Rf3NwfzPpSUU+F4Q+DZL7D7HC8ILNmq0lnf5lPBUVuD0Aavf4GtZPTXtozj6CXFRQob
  223. xJg5eoYN39lTSGyuFrRa/WOGaP8kQiCYCXw2ZKAOt9+LuMn1/rLKMyzYQClFiZTQ7/dzP
  224. 7kqcIqPjWgbqFviwKJ+wXTE3Ntp8qaECjaLFhcOBNJK1mCt1ciEJQo7a/R9nxvSS2PT1h
  225. LRnXHI5s5cY4Wzg1pEBt4l+GJ8qWI/3dI35pwM/vB5/Z/y+pJhwcR8gBD+ARjdELaM5M5
  226. rJAouss0w+OHOYI+IDpWxbHeTP633+TFLrIqK1fAm1z6NCl2e7uGEmWbGVnvROajyCJnd
  227. gLPSqm1Mt7rlGvIN60VipoXgcVRpfiubhr6DXNs1XGk18qVRgyWyQS6uHjefJOhhka5HK
  228. kYvWhoWVlA7O3+llRTzdQsSInppREKge78pHEk4lpGWBfwFX6snHB3y90Du4BcNIt3UKY
  229. EjON6sxnRPCkcekmpUGqD/IXFYV/qxdvfnoDdVW5M2SZWzsHdMoJdBhL53FFaYDyPxTaR
  230. 4+kMmn8VTejOT2zQfny3zBoxMt30hYsAjHfDS62lxYJL/404uShhAi+1bpnyy+uxU39nQ
  231. v3QSn8NtjBdh/WKptpsma1yZEHKAJJjfU9pmSrFHBfvokOmvTygjIC2uxP0ppo=
  232. - job:
  233. name: treasuremap-upload-git-mirror
  234. parent: upload-git-mirror
  235. description: Mirrors airship/treasuremap to airshipit/treasuremap
  236. vars:
  237. git_mirror_repository: airshipit/treasuremap
  238. secrets:
  239. - name: git_mirror_credentials
  240. secret: airshipit-github-secret
  241. pass-to-parent: true