Conversation
|
|
|
|
This reverts commit ea8d756.
|
Failing CI CI |
There was a problem hiding this comment.
Pull Request Overview
This PR unifies the packaging process by removing outdated documentation and updating the CI workflows for building Debian packages and Docker images.
- Removed the ferretdb_packaging/README.md to phase out legacy packaging instructions.
- Updated and enhanced the build workflow in .github/workflows/build_packages.yml, including changes to matrix configurations, version definition steps, and multi-job conditions.
Reviewed Changes
Copilot reviewed 2 out of 15 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| ferretdb_packaging/README.md | Removed obsolete build instructions for Debian packages. |
| .github/workflows/build_packages.yml | Updated workflow logic for building Debian packages and Docker images. |
Files not reviewed (13)
- .github/workflows/ferretdb_packages.yml: Language not supported
- ferretdb_packaging/Dockerfile_build_deb_packages: Language not supported
- ferretdb_packaging/build_packages.sh: Language not supported
- ferretdb_packaging/debian_files/changelog: Language not supported
- ferretdb_packaging/debian_files/compat: Language not supported
- ferretdb_packaging/debian_files/control: Language not supported
- ferretdb_packaging/debian_files/rules: Language not supported
- ferretdb_packaging/packaging-entrypoint.sh: Language not supported
- ferretdb_packaging/test_packages/Dockerfile_test_install_deb_packages: Language not supported
- ferretdb_packaging/test_packages/test-install-entrypoint.sh: Language not supported
- packaging/Dockerfile_build_deb_packages: Language not supported
- packaging/build_packages.sh: Language not supported
- packaging/debian_files/control: Language not supported
Comments suppressed due to low confidence (2)
.github/workflows/build_packages.yml:65
- Confirm that arm64 support is no longer required; if it is, consider adding it back to the matrix to support multi-architecture builds.
arch: [amd64]
.github/workflows/build_packages.yml:201
- Review if the lack of '-debian-only' flag in the docker job's Define version step is intentional or if it should be consistent with the deb package job.
go run ./defineversion -control-file ../pg_documentdb/documentdb.control -pg-version ${{ matrix.pg_version }}
| @@ -1,5 +1,5 @@ | |||
| ARG BASE_IMAGE=debian:bookworm | |||
| FROM ${BASE_IMAGE} | |||
| FROM --platform=linux/amd64 ${BASE_IMAGE} | |||
There was a problem hiding this comment.
👀 looks like this is undesired accidental change.
|
@chilagrow this pull request has merge conflicts. |
Closes FerretDB/FerretDB#5052.
Packages / ...is fine because the file that triggers that workflow.github/workflows/ferretdb_packages.ymlis being removed in this PR.Build deb packages / ...should work.Don't enable auto merge please https://github.com/FerretDB/documentdb/pull/56/files#r2057555030