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.
 
 
 
 

260 lines
9.2 KiB

  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_project_name: 'airship-treasuremap'
  17. rtd_webhook_id: '47687'
  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. promote:
  40. jobs:
  41. - promote-airship-project-docs
  42. - nodeset:
  43. name: treasuremap-single-node
  44. nodes:
  45. - name: ubuntu-bionic
  46. label: ubuntu-bionic
  47. - job:
  48. name: treasuremap-site-lint
  49. description:
  50. Lint a site using Pegleg. Default site is seaworthy.
  51. nodeset: treasuremap-single-node
  52. timeout: 900
  53. pre-run:
  54. - tools/gate/playbooks/install-docker.yaml
  55. - tools/gate/playbooks/git-config.yaml
  56. run: tools/gate/playbooks/site-lint.yaml
  57. vars:
  58. site: seaworthy
  59. irrelevant-files:
  60. - ^.*\.rst$
  61. - ^doc/.*$
  62. - job:
  63. name: treasuremap-seaworthy-site-lint
  64. description: |
  65. Lint the seaworthy site using Pegleg.
  66. parent: treasuremap-site-lint
  67. vars:
  68. site: seaworthy
  69. irrelevant-files:
  70. - ^.*\.rst$
  71. - ^doc/.*$
  72. - ^site/seaworthy-virt/.*$
  73. - ^site/airskiff/.*$
  74. - ^site/airsloop/.*$
  75. - ^site/aiab/.*$
  76. - job:
  77. name: treasuremap-seaworthy-virt-site-lint
  78. description: |
  79. Lint the seaworthy site using Pegleg.
  80. parent: treasuremap-site-lint
  81. vars:
  82. site: seaworthy-virt
  83. irrelevant-files:
  84. - ^.*\.rst$
  85. - ^doc/.*$
  86. - ^site/seaworthy/.*$
  87. - ^site/airskiff/.*$
  88. - ^site/airsloop/.*$
  89. - ^site/aiab/.*$
  90. - job:
  91. name: treasuremap-airskiff-ubuntu-site-lint
  92. description: |
  93. Lint the airskiff site using Pegleg.
  94. parent: treasuremap-site-lint
  95. vars:
  96. site: airskiff
  97. irrelevant-files:
  98. - ^.*\.rst$
  99. - ^doc/.*$
  100. - ^site/seaworthy/.*$
  101. - ^site/seaworthy-virt/.*$
  102. - ^site/airsloop/.*$
  103. - ^site/aiab/.*$
  104. - job:
  105. name: treasuremap-airskiff-suse-site-lint
  106. description: |
  107. Lint the airskiff-suse site using Pegleg.
  108. parent: treasuremap-site-lint
  109. vars:
  110. site: airskiff-suse
  111. irrelevant-files:
  112. - ^.*\.rst$
  113. - ^doc/.*$
  114. - ^site/seaworthy/.*$
  115. - ^site/seaworthy-virt/.*$
  116. - ^site/airsloop/.*$
  117. - ^site/aiab/.*$
  118. - job:
  119. name: treasuremap-airsloop-site-lint
  120. description: |
  121. Lint the airsloop site using Pegleg.
  122. parent: treasuremap-site-lint
  123. vars:
  124. site: airsloop
  125. irrelevant-files:
  126. - ^.*\.rst$
  127. - ^doc/.*$
  128. - ^site/seaworthy/.*$
  129. - ^site/seaworthy-virt/.*$
  130. - ^site/airskiff/.*$
  131. - ^site/aiab/.*$
  132. - job:
  133. name: treasuremap-aiab-site-lint
  134. description: |
  135. Lint the aiab site using Pegleg.
  136. parent: treasuremap-site-lint
  137. pre-run:
  138. - tools/gate/playbooks/generate-certs.yaml
  139. vars:
  140. site: aiab
  141. irrelevant-files:
  142. - ^.*\.rst$
  143. - ^doc/.*$
  144. - ^site/seaworthy/.*$
  145. - ^site/seaworthy-virt/.*$
  146. - ^site/airskiff/.*$
  147. - ^site/airsloop/.*$
  148. - job:
  149. name: treasuremap-airskiff-deployment-ubuntu
  150. nodeset: treasuremap-single-node
  151. description: |
  152. Deploy Memcached using Airskiff and latest Treasuremap changes.
  153. voting: false
  154. timeout: 9600
  155. pre-run:
  156. - tools/gate/playbooks/git-config.yaml
  157. - tools/gate/playbooks/airskiff-reduce-site.yaml
  158. run: tools/gate/playbooks/airskiff-deploy-gate.yaml
  159. post-run: tools/gate/playbooks/debug-report.yaml
  160. vars:
  161. site: airskiff
  162. irrelevant-files:
  163. - ^.*\.rst$
  164. - ^doc/.*$
  165. - ^site/seaworthy/.*$
  166. - ^site/airsloop/.*$
  167. - ^site/aiab/.*$
  168. - job:
  169. name: treasuremap-airskiff-deployment-suse
  170. nodeset: treasuremap-single-node
  171. description: |
  172. Deploy Memcached using Airskiff-suse and latest Treasuremap changes.
  173. voting: false
  174. timeout: 9600
  175. pre-run:
  176. - tools/gate/playbooks/git-config.yaml
  177. - tools/gate/playbooks/airskiff-reduce-site.yaml
  178. run: tools/gate/playbooks/airskiff-deploy-gate.yaml
  179. vars:
  180. site: airskiff-suse
  181. post-run: tools/gate/playbooks/debug-report.yaml
  182. irrelevant-files:
  183. - ^.*\.rst$
  184. - ^doc/.*$
  185. - ^site/seaworthy/.*$
  186. - ^site/airsloop/.*$
  187. - ^site/aiab/.*$
  188. - secret:
  189. name: airshipit-github-secret
  190. data:
  191. user: git
  192. host: github.com
  193. host_key: github.com ssh-rsa A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wVr+QCz1Xi2H9SOjr7T5pVkcq1IDxVIP+6HYFWOcWgRMNtU/E4Xb0=
  205. - RD+YHDgMbXP4fgFbRub0JJDx6HT1IoOMjZonAqA8eB8QNc6nXoKIPp7+uSTjhXO03VoKh
  206. JpPYbzAKIYVPsePvI0Zi6LG08/tdD5auLLChjHrTKvNH9i7QqrBY+11THoSbdE2GQU/vq
  207. /8kZ053rfauTEEbHavyOstgaVe4VzYrf5GCIPWd0RLAE7+lcLdfa/hAA1zgkPz0s35stA
  208. sUUxRSpM2xEV6QWmNu/e0Id1X7cyAm8+ReK7aQGrRI+OH7zmbk19/kHl6CQwu0CATlkYr
  209. cir2oUsZLqztzZkoye+lgvuIl0MhJfVuW9T2a08I8sTUFn+7iAhsQF141E1Kim9HdhLX6
  210. tGEhNlSXlis6yjDOo3VClfISyYlFLipvLHcfwaIoyctR2qMBM8QZ/vobefeGCNnfnvGvc
  211. EO9WFlGAE+Wi0XJ+aHfnjyx3Uj0DyeYpjeaT2Z3Zh+FjHvAxf4HR61aAHsLneTNdH3jnk
  212. xQfQdSsxRhMNh8G672CChmHIVr65mUnCICdzRLv0n9zg+zX34GA+LuQvpchEREb5iUsGo
  213. USbfFPjxFredplwzbMLJhHREJmazgBscH/P1Yxm3MWvI+ui2L/FPUtDkbPA9N49boyezl
  214. klY9EjdiPyz0Rojv5LKPS9dD1xsbS0tTfzhJeNmAWkSpXAWYB3aD5mtmF73uWg=
  215. - YuZrKg3gP0lx4RX2IN0b39fCHebg4mONsZgJpOzdOwBZJmBUmjh/Vg0G5Elqn+WB/OlJ4
  216. O+dXavtOQtiNDSz9ysHgwTqXs7uyokt3IFio3oRTqXJC0SRss/KdknGRebFCgOm6FPKLj
  217. +HIRGYOzUwD4dMkEKJ5Fgeq28rqDITyiG88w7YxY4ZTmhKISHJWg/jRGq2P0jOy/W/1gB
  218. febTyWdEbWrMNaDADM7oHgRN4r1RNerh/CXppgcxKSIlgfxyYx3kvJXc7Z+QGVgxuHVds
  219. Yk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i+1bpnyy+uxU39nQ
  234. v3QSn8NtjBdh/WKptpsma1yZEHKAJJjfU9pmSrFHBfvokOmvTygjIC2uxP0ppo=
  235. - job:
  236. name: treasuremap-upload-git-mirror
  237. parent: upload-git-mirror
  238. description: Mirrors airship/treasuremap to airshipit/treasuremap
  239. vars:
  240. git_mirror_repository: airshipit/treasuremap
  241. secrets:
  242. - name: git_mirror_credentials
  243. secret: airshipit-github-secret
  244. pass-to-parent: true