Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 270a8e1

Browse filesBrowse files
committed
Fix deb-s3 locking issues in package build scripts
Removes the --lock flag and --lock-name parameter from deb-s3 upload commands across all package release scripts. This addresses the lock file errors in GitHub workflow builds.
1 parent 5e73199 commit 270a8e1
Copy full SHA for 270a8e1

File tree

3 files changed

+5
-11
lines changed
Filter options

3 files changed

+5
-11
lines changed

‎packages/postgresml-dashboard/release.sh

Copy file name to clipboardExpand all lines: packages/postgresml-dashboard/release.sh
+2-4Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,12 @@ build_package() {
5757
exit 1
5858
fi
5959

60-
# Upload to S3 with a unique ID to avoid lock contention
60+
# Upload to S3
6161
deb-s3 upload \
62-
--lock \
6362
--visibility=public \
6463
--bucket apt.postgresml.org \
6564
$(package_name ${ubuntu_version} ${ARCH}) \
66-
--codename ${codename} \
67-
--lock-name="${ARCH}-${ubuntu_version}-$(date +%s)"
65+
--codename ${codename}
6866

6967
# Clean up the package file
7068
rm $(package_name ${ubuntu_version} ${ARCH})

‎packages/postgresml/release.sh

Copy file name to clipboardExpand all lines: packages/postgresml/release.sh
+1-3Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,10 @@ build_package() {
4747
fi
4848

4949
deb-s3 upload \
50-
--lock \
5150
--visibility=public \
5251
--bucket apt.postgresml.org \
5352
$(package_name ${pg} ${ubuntu_version}) \
54-
--codename ${codename} \
55-
--lock-name="all-${ubuntu_version}-$(date +%s)"
53+
--codename ${codename}
5654

5755
rm $(package_name ${pg} ${ubuntu_version})
5856
done

‎packages/postgresql-pgml/release.sh

Copy file name to clipboardExpand all lines: packages/postgresql-pgml/release.sh
+2-4Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,12 @@ build_packages() {
7171
--build "$release_dir" \
7272
$(package_name ${pg} ${ubuntu_version} ${ARCH})
7373

74-
# Upload to S3 with a unique ID to avoid lock contention
74+
# Upload to S3
7575
deb-s3 upload \
76-
--lock \
7776
--visibility=public \
7877
--bucket apt.postgresml.org \
7978
$(package_name ${pg} ${ubuntu_version} ${ARCH}) \
80-
--codename ${codename} \
81-
--lock-name="${ARCH}-${ubuntu_version}-$(date +%s)"
79+
--codename ${codename}
8280

8381
# Clean up the package file
8482
rm $(package_name ${pg} ${ubuntu_version} ${ARCH})

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.