ci: switch release ordering of Docker and PyPi publishing
@@ -2491,13 +2491,6 @@ workflows:
- build-helm
- build-proto
- - publish-python-package:
- matrix:
- parameters:
- path: ["harness", "common", "cli", "deploy", "model_hub"]
- context: determined-production
- filters: *release-and-rc-filters
-
- package-and-push-system-rc:
requires:
- build-react
@@ -2505,6 +2498,16 @@ workflows:
context: determined-production
filters: *rc-filters
+ - publish-python-package:
+ name: publish-python-package-rc
+ matrix:
+ parameters:
+ path: ["harness", "common", "cli", "deploy", "model_hub"]
+ context: determined-production
+ filters: *rc-filters
+ requires:
+ - package-and-push-system-rc
+
- package-and-push-system-release:
requires:
- build-react
@@ -2512,6 +2515,16 @@ workflows:
context: determined-production
filters: *release-filters
+ - publish-python-package:
+ name: publish-python-package-release
+ matrix:
+ parameters:
+ path: ["harness", "common", "cli", "deploy", "model_hub"]
+ context: determined-production
+ filters: *release-filters
+ requires:
+ - package-and-push-system-release
+
- publish-docs:
requires:
- build-docs
