Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
80 changes: 0 additions & 80 deletions .github/workflows/package-tests.yml

This file was deleted.

23 changes: 22 additions & 1 deletion packaging_automation/get_postgres_versions.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,28 @@
import argparse
import json
import requests

from typing import List

from .common_tool_methods import (
get_supported_postgres_release_versions,
)

POSTGRES_MATRIX_FILE = "postgres-matrix.yml"
POSTGRES_MATRIX_WEB_ADDRESS = "https://raw.githubusercontent.com/citusdata/packaging/all-citus/postgres-matrix.yml"


def get_postgres_versions_from_matrix_file(project_version: str) -> List[str]:
r = requests.get(POSTGRES_MATRIX_WEB_ADDRESS, allow_redirects=True, timeout=60)

with open(POSTGRES_MATRIX_FILE, "wb") as writer:
writer.write(r.content)
pg_versions = get_supported_postgres_release_versions(
POSTGRES_MATRIX_FILE, project_version
)

return pg_versions
Comment on lines +3 to +24
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as we're removing packaging_automation/test_citus_package.py, copying the dependencies here


from .test_citus_package import get_postgres_versions_from_matrix_file

if __name__ == "__main__":
parser = argparse.ArgumentParser()
Expand Down
133 changes: 0 additions & 133 deletions packaging_automation/test_citus_package.py

This file was deleted.

63 changes: 0 additions & 63 deletions test-images/almalinux-9/Dockerfile

This file was deleted.

70 changes: 0 additions & 70 deletions test-images/centos-7/Dockerfile

This file was deleted.

Loading
Loading