Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Releases/2024 10 17 compute kq only #9451

Merged
merged 38 commits into from
Oct 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
cb9ab74
proxy: split out the console-redirect backend flow (#9270)
conradludgate Oct 14, 2024
d056ae9
Ignore pg_dynshmem fiel when comparing directories (#9374)
knizhnik Oct 14, 2024
31b7703
CI(build-build-tools): fix unexpected cancellations (#9357)
bayandin Oct 14, 2024
d92ff57
Add test for fixed storage broker issue (#9311)
arpad-m Oct 14, 2024
f4f7ea2
tests: make size comparisons more lenient (#9388)
VladLazar Oct 14, 2024
f54e3e9
Also consider offloaded timelines for obtaining retain_lsn (#9308)
arpad-m Oct 14, 2024
dab96a6
Add more timing histogram and gauge metrics to the Neon extension (#9…
MMeent Oct 14, 2024
0fc4ada
Switch CI, Storage and Proxy to Debian 12 (Bookworm) (#9170)
bayandin Oct 14, 2024
73c6626
pageserver: stabilize & refine controller scale test (#8971)
jcsp Oct 15, 2024
ec4cc30
Shut down timelines during offload and add offload tests (#9289)
arpad-m Oct 15, 2024
d92d36a
[local_proxy] update api for pg_session_jwt (#9359)
conradludgate Oct 15, 2024
fb74c21
proxy: Migrate jwt module away from anyhow (#9361)
cloneable Oct 15, 2024
614c3ae
Remove redundant code (#9373)
knizhnik Oct 15, 2024
cf7a596
Generate sql_exporter config files with Jsonnet
tristan957 Oct 15, 2024
f1eb703
fix(pageserver): use a buffer for basebackup; add aux basebackup metr…
skyzh Oct 15, 2024
18f4e5f
Add newly added metrics from neondatabase/neon#9116 to exports (#9402)
MMeent Oct 15, 2024
be5d6a6
Fix jsonnet_files wildcard
tristan957 Oct 15, 2024
061ea0d
Add jsonnetfmt targets
tristan957 Oct 16, 2024
bc6b8ce
don't trigger workflows in two repos (#9340)
fcdm Oct 16, 2024
89a65a9
pageserver: improve handling of archival_config calls during Timeline…
jcsp Oct 16, 2024
f14e45f
proxy: format imports with nightly rustfmt (#9414)
cloneable Oct 16, 2024
d490ad2
storcon: use the same trace fields for reconciler and results (#9410)
VladLazar Oct 16, 2024
d6281cb
tests: stabilize test_timelines_parallel_endpoints (#9413)
jcsp Oct 16, 2024
3140c14
Remove allow(clippy::unknown_lints) (#9416)
arpad-m Oct 16, 2024
9668601
Add support of extensions for v17 (part 2) (#9389)
lubennikovaav Oct 16, 2024
55b2460
Activate timelines during unoffload (#9399)
arpad-m Oct 16, 2024
8a114e3
refactor(pageserver): upgrade remote_storage to use hyper1 (#9405)
skyzh Oct 16, 2024
ed69473
proxy: merge AuthError and AuthErrorImpl (#9418)
cloneable Oct 16, 2024
0551cfb
Fix beta clippy warnings (#9419)
arpad-m Oct 16, 2024
409a286
Fix typo in sql_exporter generator
tristan957 Oct 16, 2024
e0fa6bc
Fix some sql_exporter metrics for PG 17
tristan957 Oct 16, 2024
67d5d98
readme: fix build instructions for debian 12 (#9371)
problame Oct 16, 2024
934dbb6
Check access_count in lfc_evict (#9407)
knizhnik Oct 17, 2024
db68e82
storage_scrubber: fixes to garbage commands (#9409)
jcsp Oct 17, 2024
22d8834
proxy: move the connection pools to separate file (#9398)
awarus Oct 17, 2024
35e7d91
Add config variable for timeline offloading (#9421)
arpad-m Oct 17, 2024
8b47938
Add support of extensions for v17 (part 3) (#9430)
lubennikovaav Oct 17, 2024
a7c0568
test_runner: Update the README.md to build neon with 'testing' (#9437)
awarus Oct 17, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/allure-report-generate/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ runs:
uses: actions/cache@v4
with:
path: ~/.cache/pypoetry/virtualenvs
key: v2-${{ runner.os }}-${{ runner.arch }}-python-deps-${{ hashFiles('poetry.lock') }}
key: v2-${{ runner.os }}-${{ runner.arch }}-python-deps-bookworm-${{ hashFiles('poetry.lock') }}

- name: Store Allure test stat in the DB (new)
if: ${{ !cancelled() && inputs.store-test-results-into-db == 'true' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/run-python-test-set/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ runs:
uses: actions/cache@v4
with:
path: ~/.cache/pypoetry/virtualenvs
key: v2-${{ runner.os }}-${{ runner.arch }}-python-deps-${{ hashFiles('poetry.lock') }}
key: v2-${{ runner.os }}-${{ runner.arch }}-python-deps-bookworm-${{ hashFiles('poetry.lock') }}

- name: Install Python deps
shell: bash -euxo pipefail {0}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/_build-and-test-locally.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,28 +124,28 @@ jobs:
uses: actions/cache@v4
with:
path: pg_install/v14
key: v1-${{ runner.os }}-${{ runner.arch }}-${{ inputs.build-type }}-pg-${{ steps.pg_v14_rev.outputs.pg_rev }}-${{ hashFiles('Makefile', 'Dockerfile.build-tools') }}
key: v1-${{ runner.os }}-${{ runner.arch }}-${{ inputs.build-type }}-pg-${{ steps.pg_v14_rev.outputs.pg_rev }}-bookworm-${{ hashFiles('Makefile', 'Dockerfile.build-tools') }}

- name: Cache postgres v15 build
id: cache_pg_15
uses: actions/cache@v4
with:
path: pg_install/v15
key: v1-${{ runner.os }}-${{ runner.arch }}-${{ inputs.build-type }}-pg-${{ steps.pg_v15_rev.outputs.pg_rev }}-${{ hashFiles('Makefile', 'Dockerfile.build-tools') }}
key: v1-${{ runner.os }}-${{ runner.arch }}-${{ inputs.build-type }}-pg-${{ steps.pg_v15_rev.outputs.pg_rev }}-bookworm-${{ hashFiles('Makefile', 'Dockerfile.build-tools') }}

- name: Cache postgres v16 build
id: cache_pg_16
uses: actions/cache@v4
with:
path: pg_install/v16
key: v1-${{ runner.os }}-${{ runner.arch }}-${{ inputs.build-type }}-pg-${{ steps.pg_v16_rev.outputs.pg_rev }}-${{ hashFiles('Makefile', 'Dockerfile.build-tools') }}
key: v1-${{ runner.os }}-${{ runner.arch }}-${{ inputs.build-type }}-pg-${{ steps.pg_v16_rev.outputs.pg_rev }}-bookworm-${{ hashFiles('Makefile', 'Dockerfile.build-tools') }}

- name: Cache postgres v17 build
id: cache_pg_17
uses: actions/cache@v4
with:
path: pg_install/v17
key: v1-${{ runner.os }}-${{ runner.arch }}-${{ inputs.build-type }}-pg-${{ steps.pg_v17_rev.outputs.pg_rev }}-${{ hashFiles('Makefile', 'Dockerfile.build-tools') }}
key: v1-${{ runner.os }}-${{ runner.arch }}-${{ inputs.build-type }}-pg-${{ steps.pg_v17_rev.outputs.pg_rev }}-bookworm-${{ hashFiles('Makefile', 'Dockerfile.build-tools') }}

- name: Build postgres v14
if: steps.cache_pg_14.outputs.cache-hit != 'true'
Expand Down
44 changes: 31 additions & 13 deletions .github/workflows/build-build-tools-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,16 @@ defaults:
run:
shell: bash -euo pipefail {0}

concurrency:
group: build-build-tools-image-${{ inputs.image-tag }}
cancel-in-progress: false
# The initial idea was to prevent the waste of resources by not re-building the `build-tools` image
# for the same tag in parallel workflow runs, and queue them to be skipped once we have
# the first image pushed to Docker registry, but GitHub's concurrency mechanism is not working as expected.
# GitHub can't have more than 1 job in a queue and removes the previous one, it causes failures if the dependent jobs.
#
# Ref https://github.com/orgs/community/discussions/41518
#
# concurrency:
# group: build-build-tools-image-${{ inputs.image-tag }}
# cancel-in-progress: false

# No permission for GITHUB_TOKEN by default; the **minimal required** set of permissions should be granted in each job.
permissions: {}
Expand All @@ -36,6 +43,7 @@ jobs:

strategy:
matrix:
debian-version: [ bullseye, bookworm ]
arch: [ x64, arm64 ]

runs-on: ${{ fromJson(format('["self-hosted", "{0}"]', matrix.arch == 'arm64' && 'large-arm64' || 'large')) }}
Expand Down Expand Up @@ -74,30 +82,40 @@ jobs:

- uses: docker/build-push-action@v6
with:
file: Dockerfile.build-tools
context: .
provenance: false
push: true
pull: true
file: Dockerfile.build-tools
cache-from: type=registry,ref=cache.neon.build/build-tools:cache-${{ matrix.arch }}
cache-to: ${{ github.ref_name == 'main' && format('type=registry,ref=cache.neon.build/build-tools:cache-{0},mode=max', matrix.arch) || '' }}
tags: neondatabase/build-tools:${{ inputs.image-tag }}-${{ matrix.arch }}
build-args: |
DEBIAN_VERSION=${{ matrix.debian-version }}
cache-from: type=registry,ref=cache.neon.build/build-tools:cache-${{ matrix.debian-version }}-${{ matrix.arch }}
cache-to: ${{ github.ref_name == 'main' && format('type=registry,ref=cache.neon.build/build-tools:cache-{0}-{1},mode=max', matrix.debian-version, matrix.arch) || '' }}
tags: |
neondatabase/build-tools:${{ inputs.image-tag }}-${{ matrix.debian-version }}-${{ matrix.arch }}

merge-images:
needs: [ build-image ]
runs-on: ubuntu-22.04

env:
IMAGE_TAG: ${{ inputs.image-tag }}

steps:
- uses: docker/login-action@v3
with:
username: ${{ secrets.NEON_DOCKERHUB_USERNAME }}
password: ${{ secrets.NEON_DOCKERHUB_PASSWORD }}

- name: Create multi-arch image
env:
DEFAULT_DEBIAN_VERSION: bullseye
IMAGE_TAG: ${{ inputs.image-tag }}
run: |
docker buildx imagetools create -t neondatabase/build-tools:${IMAGE_TAG} \
neondatabase/build-tools:${IMAGE_TAG}-x64 \
neondatabase/build-tools:${IMAGE_TAG}-arm64
for debian_version in bullseye bookworm; do
tags=("-t" "neondatabase/build-tools:${IMAGE_TAG}-${debian_version}")
if [ "${debian_version}" == "${DEFAULT_DEBIAN_VERSION}" ]; then
tags+=("-t" "neondatabase/build-tools:${IMAGE_TAG}")
fi

docker buildx imagetools create "${tags[@]}" \
neondatabase/build-tools:${IMAGE_TAG}-${debian_version}-x64 \
neondatabase/build-tools:${IMAGE_TAG}-${debian_version}-arm64
done
Loading
Loading