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
+15-3Lines changed: 15 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,17 +87,24 @@ And for all images follow the instructions on [how to publish a change](#4-How-t
87
87
88
88
If you want to add support for a major postgres major, like `pg-13` you will need to do the steps that are not limited to:
89
89
90
-
* Generate `postgresql-server-dev-{pg-major}` package with `debbuilder` image. Make sure to add the package index for `pg-major` in `/etc/apt/sources.list.d/pgdg.list`. You can see find the related part [here](https://github.com/citusdata/the-process/blob/master/circleci/images/debbuilder/files/install-builddeps).
90
+
* Generate `postgresql-server-dev-{pg-major}` package with `debbuilder` image. Make sure to add the package index for `pg-major` in `/etc/apt/sources.list.d/pgdg.list`(See the [pgdg apt repository](https://apt.postgresql.org/pub/repos/apt/dists/)). You can update `pg_latest` variable in [install-builddebs](https://github.com/citusdata/the-process/blob/master/circleci/images/debbuilder/files/install-builddeps).
* The generated package will be in `{container-name}/home/circleci/debs`. One way of getting the package from the docker image is:
92
98
* Run the container with `docker run -it {tag-name} bash`
93
99
* Find the name of your container with `docker ps`
94
100
* Copy the `debs` folder from docker container to your local `docker cp {container-name}:/home/circleci/debs .`
95
-
* Upload the package to [the-process](https://packagecloud.io/citus-bot/the-process). Make sure that you choose `debian stretch` while uploading. In order to upload you can:
101
+
* Upload the package to [the-process](https://packagecloud.io/citus-bot/the-process). Make sure that you choose `debian stretch` while uploading. Use `citus-bot` account there(credentials are in the 1password vault). In order to upload you can:
96
102
* Upload the package file from the UI by clicking to `Upload image`
97
103
* Or you can use the [package cloud cli](https://packagecloud.io/l/cli).
98
104
99
105
* Add `pg-major` to `extbuilder` in its script so that citus artifacts are generated for that `pg_major` too.
100
-
* Add new `pg-major` package index to `sources.list`:
106
+
* Update `pg_latest`.
107
+
* (This step should already be done if you update `pg_latest`). Add new `pg-major` package index to `sources.list`:
101
108
102
109
```bash
103
110
# add pgdg repo to sources
@@ -106,6 +113,11 @@ echo "deb http://apt.postgresql.org/pub/repos/apt/ ${codename}-pgdg main ${PG-MA
0 commit comments