docker-scripts/.github/workflows/_disabled/epicmorg.advanced.python.yml.txt

127 lines
4.1 KiB
Plaintext
Raw Normal View History

name: EpicMorg Advanced Debian Python Images
2022-09-13 13:54:41 +03:00
on:
2024-12-01 21:25:12 +03:00
workflow_dispatch:
2022-09-13 13:54:41 +03:00
schedule:
- cron: '1 1 * * 1,3,5'
jobs:
build-python-base-images:
name: Build EpicMorg Advanced Debian Python Base Images
runs-on: ubuntu-24.04
2022-09-13 13:54:41 +03:00
steps:
2024-02-10 00:44:19 +03:00
- uses: actions/checkout@v4
2022-09-13 13:54:41 +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
- name: Install requirements.txt
run: make pip
2022-09-13 13:54:41 +03:00
- name: "Build and Deploy Python 2.7 Main Image:"
2023-06-08 12:09:21 +03:00
run: cd linux/advanced/python/main/2.7 && pwd && make build && make deploy
2022-09-13 13:54:41 +03:00
- name: "Build and Deploy Python 3.6 Main Image:"
2023-06-08 12:09:21 +03:00
run: cd linux/advanced/python/main/3.6 && pwd && make build && make deploy
2024-02-10 00:32:44 +03:00
- name: Cleanup
run: make docker-clean
2022-09-13 13:54:41 +03:00
- name: "Build and Deploy Python 3.7 Main Image:"
2023-06-08 12:09:21 +03:00
run: cd linux/advanced/python/main/3.7 && pwd && make build && make deploy
2022-09-13 13:54:41 +03:00
- name: "Build and Deploy Python 3.8 Main Image:"
2023-06-08 12:09:21 +03:00
run: cd linux/advanced/python/main/3.8 && pwd && make build && make deploy
2024-02-10 00:32:44 +03:00
- name: Cleanup
run: make docker-clean
2022-09-13 13:54:41 +03:00
- name: "Build and Deploy Python 3.9 Main Image:"
2023-06-08 12:09:21 +03:00
run: cd linux/advanced/python/main/3.9 && pwd && make build && make deploy
2022-09-13 13:54:41 +03:00
- name: "Build and Deploy Python 3.10 Main Image:"
2023-06-08 12:09:21 +03:00
run: cd linux/advanced/python/main/3.10 && pwd && make build && make deploy
2024-02-10 00:32:44 +03:00
- name: Cleanup
run: make docker-clean
2022-09-13 13:54:41 +03:00
- name: "Build and Deploy Python 3.11 Main Image:"
2023-06-08 12:09:21 +03:00
run: cd linux/advanced/python/main/3.11 && pwd && make build && make deploy
2022-09-13 13:54:41 +03:00
2022-11-14 22:12:31 +03:00
- name: "Build and Deploy Python 3.12 Main Image:"
2023-06-08 12:09:21 +03:00
run: cd linux/advanced/python/main/3.12 && pwd && make build && make deploy
2022-11-14 22:12:31 +03:00
- name: "Build and Deploy Python 3.13 Main Image:"
run: cd linux/advanced/python/main/3.13 && pwd && make build && make deploy
2024-02-10 00:32:44 +03:00
- name: Cleanup
run: make docker-clean
2022-09-13 13:54:41 +03:00
##################################################################################
build-python-develop-images:
name: Build EpicMorg Advanced Debian Python Develop Images
runs-on: ubuntu-24.04
2022-09-13 13:54:41 +03:00
needs: build-python-base-images
steps:
2024-02-10 00:44:19 +03:00
- uses: actions/checkout@v4
2022-09-13 13:54:41 +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
- name: Install requirements.txt
run: make pip
2022-09-13 13:54:41 +03:00
- name: "Build and Deploy Python 2.7 Develop Image:"
2023-06-08 12:09:21 +03:00
run: cd linux/advanced/python/develop/2.7 && pwd && make build && make deploy
2022-09-13 13:54:41 +03:00
- name: "Build and Deploy Python 3.6 Develop Image:"
2023-06-08 12:09:21 +03:00
run: cd linux/advanced/python/develop/3.6 && pwd && make build && make deploy
2024-02-10 00:32:44 +03:00
- name: Cleanup
run: make docker-clean
2022-09-13 13:54:41 +03:00
- name: "Build and Deploy Python 3.7 Develop Image:"
2023-06-08 12:09:21 +03:00
run: cd linux/advanced/python/develop/3.7 && pwd && make build && make deploy
2022-09-13 13:54:41 +03:00
- name: "Build and Deploy Python 3.8 Develop Image:"
2023-06-08 12:09:21 +03:00
run: cd linux/advanced/python/develop/3.8 && pwd && make build && make deploy
2024-02-10 00:32:44 +03:00
- name: Cleanup
run: make docker-clean
2022-09-13 13:54:41 +03:00
- name: "Build and Deploy Python 3.9 Develop Image:"
2023-06-08 12:09:21 +03:00
run: cd linux/advanced/python/develop/3.9 && pwd && make build && make deploy
2022-09-13 13:54:41 +03:00
- name: "Build and Deploy Python 3.10 Develop Image:"
2023-06-08 12:09:21 +03:00
run: cd linux/advanced/python/develop/3.10 && pwd && make build && make deploy
2024-02-10 00:32:44 +03:00
- name: Cleanup
run: make docker-clean
2022-09-13 13:54:41 +03:00
- name: "Build and Deploy Python 3.11 Develop Image:"
2023-06-08 12:09:21 +03:00
run: cd linux/advanced/python/develop/3.11 && pwd && make build && make deploy
2022-09-13 13:54:41 +03:00
2022-11-14 22:12:31 +03:00
- name: "Build and Deploy Python 3.12 Develop Image:"
2023-06-08 12:09:21 +03:00
run: cd linux/advanced/python/develop/3.12 && pwd && make build && make deploy
2024-02-10 00:32:44 +03:00
- name: Cleanup
run: make docker-clean
2022-11-14 22:12:31 +03:00
- name: "Build and Deploy Python 3.13 Develop Image:"
run: cd linux/advanced/python/develop/3.13 && pwd && make build && make deploy
2022-09-13 13:54:41 +03:00
##################################################################################
- name: Cleanup
run: make docker-clean