Compare commits
3
Commits
8fada12ea3
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b40367fab5 | ||
|
|
5dc21ba846 | ||
|
|
4aa9f88b6d |
Vendored
+7
-3
@@ -26,7 +26,8 @@ pipeline {
|
|||||||
DOTNET_CLI_HOME = "${WORKSPACE}/.ci/dotnet-home"
|
DOTNET_CLI_HOME = "${WORKSPACE}/.ci/dotnet-home"
|
||||||
POSTGRES_SERVICE_BUILD_TMPDIR = "${WORKSPACE}/.ci/fnos-build"
|
POSTGRES_SERVICE_BUILD_TMPDIR = "${WORKSPACE}/.ci/fnos-build"
|
||||||
LIVERECORDER_VERIFY_TMPDIR = "${WORKSPACE}/.ci/fnos-verify"
|
LIVERECORDER_VERIFY_TMPDIR = "${WORKSPACE}/.ci/fnos-verify"
|
||||||
POSTGRES_SERVICE_SMOKE_TMPDIR = "${WORKSPACE}/.ci/fnos-smoke"
|
// Keep PostgreSQL's Unix-domain socket below Linux's 107-byte path limit.
|
||||||
|
POSTGRES_SERVICE_SMOKE_TMPDIR = "/tmp/postgresshare-smoke-${BUILD_NUMBER}"
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
@@ -101,7 +102,7 @@ payload = {
|
|||||||
'fpk':pathlib.Path(os.environ['FPK_PATH']).name,'fpkSha256':os.environ['fpk_sha'],
|
'fpk':pathlib.Path(os.environ['FPK_PATH']).name,'fpkSha256':os.environ['fpk_sha'],
|
||||||
'runtime':'PostgreSQL 15 + pgvector 0.8.6'
|
'runtime':'PostgreSQL 15 + pgvector 0.8.6'
|
||||||
}
|
}
|
||||||
path.write_text(json.dumps(payload,ensure_ascii=False,indent=2)+'\n',encoding='utf-8')
|
path.write_text(json.dumps(payload,ensure_ascii=False,indent=2)+chr(10),encoding='utf-8')
|
||||||
PY
|
PY
|
||||||
sha256sum "$MANIFEST_PATH" >"$MANIFEST_PATH.sha256"
|
sha256sum "$MANIFEST_PATH" >"$MANIFEST_PATH.sha256"
|
||||||
'''
|
'''
|
||||||
@@ -124,6 +125,9 @@ PY
|
|||||||
|
|
||||||
post {
|
post {
|
||||||
success { archiveArtifacts artifacts: 'artifacts/*.fpk,artifacts/*.sha256,artifacts/*.json', fingerprint: true }
|
success { archiveArtifacts artifacts: 'artifacts/*.fpk,artifacts/*.sha256,artifacts/*.json', fingerprint: true }
|
||||||
always { cleanWs(deleteDirs: true, notFailBuild: true) }
|
always {
|
||||||
|
sh 'rm -rf -- "$POSTGRES_SERVICE_SMOKE_TMPDIR"'
|
||||||
|
cleanWs(deleteDirs: true, notFailBuild: true)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user