2022-09-13 15:55:25 +03:00
|
|
|
name: EpicMorg EcoSystem PostgreSQL Images
|
|
|
|
|
|
|
|
on:
|
2024-12-01 05:44:16 +03:00
|
|
|
workflow_dispatch:
|
2022-09-13 15:55:25 +03:00
|
|
|
schedule:
|
|
|
|
- cron: '5 5 * * 1,3,5'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
|
|
|
build-pgsql-images:
|
|
|
|
name: Build EpicMorg PostgreSQL Images
|
2024-08-12 00:46:46 +03:00
|
|
|
runs-on: ubuntu-24.04
|
2022-09-13 15:55:25 +03:00
|
|
|
|
|
|
|
steps:
|
2024-02-10 00:44:19 +03:00
|
|
|
- uses: actions/checkout@v4
|
2022-09-13 15:55:25 +03:00
|
|
|
- name: Log into registry
|
|
|
|
run: echo "${{ secrets.DOCKER_SERVER_KEY }}" | docker login -u "${{ secrets.DOCKER_SERVER_LOGIN }}" --password-stdin
|
|
|
|
|
|
|
|
- name: Test Make
|
|
|
|
run: make
|
|
|
|
|
2024-08-12 00:46:46 +03:00
|
|
|
- name: Install requirements.txt
|
|
|
|
run: make pip
|
|
|
|
|
2022-09-13 15:55:25 +03:00
|
|
|
- name: "Build and Deploy PostgreSQL 8.2 Image:"
|
|
|
|
run: cd linux/ecosystem/postgres/8.2 && pwd && make build && make deploy
|
|
|
|
|
|
|
|
- name: "Build and Deploy PostgreSQL 8.3 Image:"
|
|
|
|
run: cd linux/ecosystem/postgres/8.3 && pwd && make build && make deploy
|
|
|
|
|
|
|
|
- name: "Build and Deploy PostgreSQL 8.4 Image:"
|
|
|
|
run: cd linux/ecosystem/postgres/8.4 && pwd && make build && make deploy
|
|
|
|
|
2024-06-21 16:10:08 +03:00
|
|
|
##################################################################################
|
|
|
|
|
|
|
|
- name: Cleanup
|
|
|
|
run: make docker-clean
|
|
|
|
|
|
|
|
##################################################################################
|
|
|
|
|
2022-09-13 15:55:25 +03:00
|
|
|
- name: "Build and Deploy PostgreSQL 9.0 Image:"
|
|
|
|
run: cd linux/ecosystem/postgres/9.0 && pwd && make build && make deploy
|
|
|
|
|
|
|
|
- name: "Build and Deploy PostgreSQL 9.1 Image:"
|
|
|
|
run: cd linux/ecosystem/postgres/9.1 && pwd && make build && make deploy
|
|
|
|
|
2024-06-21 16:10:08 +03:00
|
|
|
##################################################################################
|
|
|
|
|
|
|
|
- name: Cleanup
|
|
|
|
run: make docker-clean
|
|
|
|
|
|
|
|
##################################################################################
|
|
|
|
|
2022-09-13 15:55:25 +03:00
|
|
|
- name: "Build and Deploy PostgreSQL 9.2 Image:"
|
|
|
|
run: cd linux/ecosystem/postgres/9.2 && pwd && make build && make deploy
|
2024-04-21 16:08:12 +03:00
|
|
|
|
2024-06-21 16:10:08 +03:00
|
|
|
|
|
|
|
##################################################################################
|
|
|
|
|
2024-02-10 00:32:44 +03:00
|
|
|
- name: Cleanup
|
|
|
|
run: make docker-clean
|
2022-09-13 15:55:25 +03:00
|
|
|
|
2024-06-21 16:10:08 +03:00
|
|
|
##################################################################################
|
|
|
|
|
2022-09-13 15:55:25 +03:00
|
|
|
- name: "Build and Deploy PostgreSQL 9.3 Image:"
|
|
|
|
run: cd linux/ecosystem/postgres/9.3 && pwd && make build && make deploy
|
|
|
|
|
|
|
|
- name: "Build and Deploy PostgreSQL 9.4 Image:"
|
|
|
|
run: cd linux/ecosystem/postgres/9.4 && pwd && make build && make deploy
|
|
|
|
|
|
|
|
- name: "Build and Deploy PostgreSQL 9.5 Image:"
|
|
|
|
run: cd linux/ecosystem/postgres/9.5 && pwd && make build && make deploy
|
|
|
|
|
2024-06-21 16:10:08 +03:00
|
|
|
##################################################################################
|
|
|
|
|
|
|
|
- name: Cleanup
|
|
|
|
run: make docker-clean
|
|
|
|
|
|
|
|
##################################################################################
|
|
|
|
|
2022-09-13 15:55:25 +03:00
|
|
|
- name: "Build and Deploy PostgreSQL 9.6 Image:"
|
|
|
|
run: cd linux/ecosystem/postgres/9.6 && pwd && make build && make deploy
|
|
|
|
|
|
|
|
- name: "Build and Deploy PostgreSQL 10 Image:"
|
|
|
|
run: cd linux/ecosystem/postgres/10 && pwd && make build && make deploy
|
2024-04-21 16:08:12 +03:00
|
|
|
|
2024-06-21 16:10:08 +03:00
|
|
|
##################################################################################
|
|
|
|
|
2024-02-10 00:32:44 +03:00
|
|
|
- name: Cleanup
|
|
|
|
run: make docker-clean
|
2022-09-13 15:55:25 +03:00
|
|
|
|
2024-06-21 16:10:08 +03:00
|
|
|
##################################################################################
|
|
|
|
|
2022-09-13 15:55:25 +03:00
|
|
|
- name: "Build and Deploy PostgreSQL 11 Image:"
|
|
|
|
run: cd linux/ecosystem/postgres/11 && pwd && make build && make deploy
|
|
|
|
|
|
|
|
- name: "Build and Deploy PostgreSQL 12 Image:"
|
|
|
|
run: cd linux/ecosystem/postgres/12 && pwd && make build && make deploy
|
|
|
|
|
|
|
|
- name: "Build and Deploy PostgreSQL 13 Image:"
|
|
|
|
run: cd linux/ecosystem/postgres/13 && pwd && make build && make deploy
|
|
|
|
|
2024-06-21 16:10:08 +03:00
|
|
|
##################################################################################
|
|
|
|
|
|
|
|
- name: Cleanup
|
|
|
|
run: make docker-clean
|
|
|
|
|
|
|
|
##################################################################################
|
|
|
|
|
2022-09-13 15:55:25 +03:00
|
|
|
- name: "Build and Deploy PostgreSQL 14 Image:"
|
|
|
|
run: cd linux/ecosystem/postgres/14 && pwd && make build && make deploy
|
|
|
|
|
|
|
|
- name: "Build and Deploy PostgreSQL 15 Image:"
|
|
|
|
run: cd linux/ecosystem/postgres/15 && pwd && make build && make deploy
|
|
|
|
|
2024-04-21 16:08:12 +03:00
|
|
|
- name: "Build and Deploy PostgreSQL 16 Image:"
|
|
|
|
run: cd linux/ecosystem/postgres/16 && pwd && make build && make deploy
|
2022-09-13 15:55:25 +03:00
|
|
|
|
2024-12-03 03:33:50 +03:00
|
|
|
# - name: "Build and Deploy PostgreSQL 17 Image:"
|
|
|
|
# run: cd linux/ecosystem/postgres/17 && pwd && make build && make deploy
|
|
|
|
|
|
|
|
# - name: "Build and Deploy PostgreSQL 18 Image:"
|
|
|
|
# run: cd linux/ecosystem/postgres/18 && pwd && make build && make deploy
|
2024-12-01 21:24:36 +03:00
|
|
|
|
2022-09-13 15:55:25 +03:00
|
|
|
##################################################################################
|
|
|
|
|
|
|
|
- name: Cleanup
|
|
|
|
run: make docker-clean
|