Browse Source

ci(release): Make craft publish Py3 Docker images (#21232)

Depends on getsentry/craft#125, getsentry/craft#126, getsentry/craft#127, getsentry/craft#128 and all of these being published as `craft@0.12.0`.
Burak Yigit Kaya 4 years ago
parent
commit
dcbe1a8ba9
1 changed files with 10 additions and 3 deletions
  1. 10 3
      .craft.yml

+ 10 - 3
.craft.yml

@@ -1,4 +1,4 @@
-minVersion: "0.10.0"
+minVersion: "0.12.0"
 github:
   owner: getsentry
   repo: sentry
@@ -13,9 +13,16 @@ statusProvider:
 targets:
   - name: github
   - name: pypi
-  - name: docker
+  - id: py2-image
+    name: docker
     source: us.gcr.io/sentryio/sentry
     target: getsentry/sentry
+  - id: py3-image
+    name: docker
+    source: us.gcr.io/sentryio/sentry
+    sourceFormat: '{{{source}}}:{{{revision}}}-py3'
+    target: getsentry/sentry
+    targetFormat: '{{{target}}}:{{{version}}}-py3'
 
 requireNames:
-  - /^sentry-.+-py27-none-any.whl$/
+  - /^sentry-.+-py2.py3-none-any.whl$/