You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-3
Original file line number
Diff line number
Diff line change
@@ -265,7 +265,10 @@ You can trigger releases from this repository to npm that can be used for testin
265
265
266
266
#### Automated integration releases from this repository to npm
267
267
268
-
(Since July 2022). Any branch name starting with `integration/` will, first, run the full test suite in Buildkite `[Test] Prisma Engines` and, second, if passing, run the publish pipeline (build and upload engines to S3 & R2)
268
+
Any branch name starting with `integration/` will, first, run the full test suite in GH Actions and, second, run the release workflow (build and upload engines to S3 & R2).
269
+
To trigger the release on any other branch, you have two options:
270
+
- Either run [build-engines](https://github.com/prisma/prisma-engines/actions/workflows/build-engines.yml) workflow on a specified branch manually.
271
+
- Or add `[integration]` string anywhere in your commit messages/
269
272
270
273
The journey through the pipeline is the same as a commit on the `main` branch.
271
274
- It will trigger [`prisma/engines-wrapper`](https://github.com/prisma/engines-wrapper) and publish a new [`@prisma/engines-version`](https://www.npmjs.com/package/@prisma/engines-version) npm package but on the `integration` tag.
@@ -276,8 +279,8 @@ The journey through the pipeline is the same as a commit on the `main` branch.
276
279
This end to end will take minimum ~1h20 to complete, but is completely automated :robot:
277
280
278
281
Notes:
279
-
-in `prisma/prisma` repository, we do not run tests for `integration/` branches, it is much faster and also means that there is no risk of tests failing (e.g. flaky tests, snapshots) that would stop the publishing process.
280
-
- in `prisma/prisma-engines` the Buildkite test pipeline must first pass, then the engines will be built and uploaded to our storage via the Buildkite release pipeline. These 2 pipelines can fail for different reasons, it's recommended to keep an eye on them (check notifications in Slack) and restart jobs as needed. Finally, it will trigger [`prisma/engines-wrapper`](https://github.com/prisma/engines-wrapper).
282
+
-tests and publishing workflows are run in parallel in both `prisma/prisma-engines`and `prisma/prisma` repositories. So, it is possible that the engines would be published and only then test suite will
283
+
discover a defect. It is advised that to keep an eye on both test and publishing workflows.
281
284
282
285
#### Manual integration releases from this repository to npm
0 commit comments