mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-10 08:05:14 +02:00
build: track bundled python runtime release artifact
This commit is contained in:
parent
6ce740220e
commit
93c14577da
3 changed files with 16 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -8,6 +8,7 @@ venv/
|
|||
env/
|
||||
build/
|
||||
dist/
|
||||
packages/cli/assets/python/
|
||||
*.egg-info/
|
||||
.pytest_cache/
|
||||
.coverage
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@
|
|||
"python": {
|
||||
"publish": false,
|
||||
"repository": null,
|
||||
"packages": ["ktx-sl", "ktx-daemon"]
|
||||
"packages": ["ktx-sl", "ktx-daemon", "kaelio-ktx"]
|
||||
},
|
||||
"publishedPackageSmoke": {
|
||||
"packageName": null,
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ async function writeUploadableArtifactFixtures(layout) {
|
|||
layout.npmTarballs[packageInfo.name],
|
||||
`${packageInfo.name}-tarball`,
|
||||
]),
|
||||
[join(layout.pythonDir, 'kaelio_ktx-0.1.0-py3-none-any.whl'), 'kaelio-ktx-runtime-wheel'],
|
||||
[join(layout.pythonDir, 'ktx_sl-0.1.0-py3-none-any.whl'), 'ktx-sl-wheel'],
|
||||
[join(layout.pythonDir, 'ktx_sl-0.1.0.tar.gz'), 'ktx-sl-sdist'],
|
||||
[join(layout.pythonDir, 'ktx_daemon-0.1.0-py3-none-any.whl'), 'ktx-daemon-wheel'],
|
||||
|
|
@ -74,7 +75,7 @@ function releasePolicy(overrides = {}) {
|
|||
python: {
|
||||
publish: false,
|
||||
repository: null,
|
||||
packages: ['ktx-sl', 'ktx-daemon'],
|
||||
packages: ['ktx-sl', 'ktx-daemon', 'kaelio-ktx'],
|
||||
...pythonOverrides,
|
||||
},
|
||||
publishedPackageSmoke: {
|
||||
|
|
@ -135,7 +136,12 @@ describe('release readiness policy', () => {
|
|||
sourceRevision: 'abc123',
|
||||
npmPublishEnabled: false,
|
||||
pythonPublishEnabled: false,
|
||||
packageNames: [...NPM_ARTIFACT_PACKAGES.map((packageInfo) => packageInfo.name), 'ktx-sl', 'ktx-daemon'],
|
||||
packageNames: [
|
||||
...NPM_ARTIFACT_PACKAGES.map((packageInfo) => packageInfo.name),
|
||||
'ktx-sl',
|
||||
'ktx-daemon',
|
||||
'kaelio-ktx',
|
||||
],
|
||||
publishedPackageSmokeGate: {
|
||||
status: 'not_required',
|
||||
script: 'pnpm run release:published-smoke',
|
||||
|
|
@ -210,7 +216,12 @@ describe('release readiness policy', () => {
|
|||
sourceRevision: 'abc123',
|
||||
npmPublishEnabled: false,
|
||||
pythonPublishEnabled: false,
|
||||
packageNames: [...NPM_ARTIFACT_PACKAGES.map((packageInfo) => packageInfo.name), 'ktx-sl', 'ktx-daemon'],
|
||||
packageNames: [
|
||||
...NPM_ARTIFACT_PACKAGES.map((packageInfo) => packageInfo.name),
|
||||
'ktx-sl',
|
||||
'ktx-daemon',
|
||||
'kaelio-ktx',
|
||||
],
|
||||
publishedPackageSmokeGate: {
|
||||
status: 'required',
|
||||
script: 'pnpm run release:published-smoke',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue