8000 publish docker images/image updates for major versions by samrose · Pull Request #1372 · supabase/postgres · GitHub
[go: up one dir, main page]

Skip to content

publish docker images/image updates for major versions #1372

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

Merged
merged 97 commits into from
Dec 21, 2024

Conversation

samrose
Copy link
Collaborator
@samrose samrose commented Dec 13, 2024

What kind of change does this PR introduce?

  • Add a Dockerfile that covers orioledb-17
  • update publish to dockerhub to do a matrix build on any major version with corresponding Dockerfile-<version>, skipping if Dockerfile doesn't exist

@samrose samrose requested a review from a team as a code owner December 13, 2024 18:56
@samrose samrose marked this pull request as draft December 13, 2024 19:17
@samrose samrose changed the title Sam/docker updates for major versions publish docker images/image updates for major versions Dec 16, 2024
@samrose samrose merged commit d61c5c4 into develop Dec 21, 2024
12 of 13 checks passed
@samrose samrose deleted the sam/docker-oriole17 branch December 21, 2024 12:27
damonrand pushed a commit to cepro/postgres that referenced this pull request Jun 15, 2025
* feat: orioledb-17 Docker image and publish workflow

* feat: refactor to build docker images from major versions
skip if no Dockerfile exists

* feat: gen common vars hcl file

* chore: cleanup

* chore: adj trigger for run in PR`

* chore: trigger release all major vers

* chore: trigger on any path

* chore: cleanup version handling

* chore: simplify name matching

* chore: matrix on version and arch in build_release_image

* chore: try to get json formatting correct

* chore: more fixes to json parse

* feat: collect all versions into file, then array

* chore: try to account for gh action handling

* chore: output single matrix for each version

* chore: more fixes to matrix handling

* chore : fix output versions

* chore: matrix in all tasks

* chore: refactor matrix handling

* chore: fix syntax

* chore: look in the right dir

* chore: need to pass full tag

* fix: formatting

* chore: strip the prefix when passing to mirror.yml

* chore: get version formatted to pass to mirror.yml

* fix: typo

* chore: fix vars

* fix: tryo to pass the version

* chore: matrix on version and arch

* chore: try to account for orioledb version issue

* chore: remove version

* chore: reading the version info directly from vars.yml

* chore: force string context

* chore: fixing logic

* chore: fix string handling logic

* chore: use sed and grep instead

* chore: revert this to working version

* chore: version extraction

* chore: different logic on version processing if stmnt

* chore: try to avoid jq involvement in this section

* chore: back to this version

* chore: refactor using nushell where scripting needed

* chore: use data from previous step

* chore: install with snap

* chore: raw output on json

* chore: should be able to run on ephemeral runners

* chore: incrementing changes to matrix

* chore: just use special key name if present

* chore: account for postgres namespace in matrix

* chore: pg_version should be key/value

* chrore: ubuntu latest

* chore: needs arm-runner after all

* chore: source nushell from nix

* chore: cannot have uses and run keys on same id

* chore: detect runner and adjust the way command is run

* chore: formatting

* chore: make sure env var can be appended in all contexts

* chore: outputs instead of env

* chore: fix get_publish_version

* chore: handle oriole

* chore: remove base64 encoding

* ore: raw json

* chore: ensure proper variable naming

* chore: use the matrix config we already have access to

* chore: handling architecture

* chore directly use matrix

* chore: process each version

* chore: matrix_json variable

* fix: mirroring the merged manifest instead of per arch image

* chore: using tags from merge_manifest

* chore: no longer need get_publish_version at all

* chore: combine tags in outputs at the end of merge_manifest

* chore: cleanup steps to unbreak yaml

* chore: no from json

* chore: try to build up json over iterations

* chore: use the github outputs array

* chore: first collect all versions into array then output json array

* chore: debug mainfest output

* chore: store the results data in artifacts

* chore: unique upload, then download and combine

* fix: re-add actions and login

* chore: try quotes for name matching

* chore: utilise versions from prepare for download of artifact

* chore: format correctly for nushell

* chore: parse matrix config directly

* chore: convert table to list of strings

* chore:rm redundant

* chore: add debug

* chore: from json

* chore: download with pattern

* chore: use list operations

* chore: include and debug

* chore: extract version

* chore: set up for merge to develop

* chore: add permission to proper dir

* chore: remove old files

* chore: newline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0