CI: move to github container registry (#7652)

We move the CI images to the github container registry.

Given we mostly (if not solely) run these containers on github actions
infra it makes sense to have them hosted closer to where they are
needed.

Image changes: https://github.com/citusdata/the-process/pull/157

(cherry picked from commit e776a7ebbb)
release-12.1-hanefi-fixing-tests
Nils Dijk 2024-07-12 10:26:38 +02:00 committed by Hanefi Onaldi
parent caee20ad7c
commit 9dcfcb92ff
No known key found for this signature in database
GPG Key ID: F18CDB10BA0DFDC7
3 changed files with 19 additions and 16 deletions

View File

@ -19,18 +19,19 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
name: Initialize parameters name: Initialize parameters
outputs: outputs:
build_image_name: "citus/extbuilder" build_image_name: "ghcr.io/citusdata/extbuilder"
test_image_name: "citus/exttester" test_image_name: "ghcr.io/citusdata/exttester"
citusupgrade_image_name: "citus/citusupgradetester" citusupgrade_image_name: "ghcr.io/citusdata/citusupgradetester"
fail_test_image_name: "citus/failtester" fail_test_image_name: "ghcr.io/citusdata/failtester"
pgupgrade_image_name: "citus/pgupgradetester" pgupgrade_image_name: "ghcr.io/citusdata/pgupgradetester"
style_checker_image_name: "citus/stylechecker" style_checker_image_name: "ghcr.io/citusdata/stylechecker"
style_checker_tools_version: "0.8.18" style_checker_tools_version: "0.8.18"
image_suffix: "-v9d71045" sql_snapshot_pg_version: "16.2"
pg14_version: '{ "major": "14", "full": "14.9" }' image_suffix: "-v7693016"
pg15_version: '{ "major": "15", "full": "15.4" }' pg14_version: '{ "major": "14", "full": "14.11" }'
pg16_version: '{ "major": "16", "full": "16.0" }' pg15_version: '{ "major": "15", "full": "15.6" }'
upgrade_pg_versions: "14.9-15.4-16.0" pg16_version: '{ "major": "16", "full": "16.2" }'
upgrade_pg_versions: "14.11-15.6-16.2"
steps: steps:
# Since GHA jobs needs at least one step we use a noop step here. # Since GHA jobs needs at least one step we use a noop step here.
- name: Set up parameters - name: Set up parameters
@ -39,7 +40,7 @@ jobs:
needs: params needs: params
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
container: container:
image: ${{ needs.params.outputs.build_image_name }}:latest image: ${{ needs.params.outputs.build_image_name }}:${{ needs.params.outputs.sql_snapshot_pg_version }}${{ needs.params.outputs.image_suffix }}
options: --user root options: --user root
steps: steps:
- uses: actions/checkout@v3.5.0 - uses: actions/checkout@v3.5.0

View File

@ -5,7 +5,7 @@ verify_ssl = true
[packages] [packages]
mitmproxy = {editable = true, ref = "main", git = "https://github.com/citusdata/mitmproxy.git"} mitmproxy = {editable = true, ref = "main", git = "https://github.com/citusdata/mitmproxy.git"}
construct = "==2.9.45" construct = "*"
docopt = "==0.6.2" docopt = "==0.6.2"
cryptography = ">=39.0.1" cryptography = ">=39.0.1"
pytest = "*" pytest = "*"

View File

@ -1,7 +1,7 @@
{ {
"_meta": { "_meta": {
"hash": { "hash": {
"sha256": "9568b1f3e4d4fd408e5e263f6346b0a4f479ac88e02f64bb79a9d482096e6a03" "sha256": "f8db86383082539f626f1402e720f5f2e3f9718b44a8f26110cf9f52e7ca46bc"
}, },
"pipfile-spec": 6, "pipfile-spec": 6,
"requires": { "requires": {
@ -201,10 +201,12 @@
}, },
"construct": { "construct": {
"hashes": [ "hashes": [
"sha256:2271a0efd0798679dea825ff47e22a4c550456a5db0ba8baa82f7eae0af0118c" "sha256:4d2472f9684731e58cc9c56c463be63baa1447d674e0d66aeb5627b22f512c29",
"sha256:c80be81ef595a1a821ec69dc16099550ed22197615f4320b57cc9ce2a672cb30"
], ],
"index": "pypi", "index": "pypi",
"version": "==2.9.45" "markers": "python_version >= '3.6'",
"version": "==2.10.70"
}, },
"cryptography": { "cryptography": {
"hashes": [ "hashes": [