docker-scripts/.github/workflows/epicmorg.advanced.python.yml
STAM 511a8a115a
infrastructure improvements + drop ASTRA SE\CE 1.7 support
update requirements.txt


github actions runs-on: ubuntu-24.04



make pip fix

- failsafe
- systemwide

zabbix 7 + zabbix fixes

cleanup

ci

wip: fixes, nginx update, support update

wip: bookworm 12 base updates

wip: requirements.txt cleanup

zabbix USER fix

WIP: debian 12 develop improvements
2024-08-17 16:55:42 +03:00

129 lines
4.1 KiB
YAML

name: EpicMorg Advanced Debian Python Images
on:
# push:
# branches:
# - 'master'
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
steps:
- uses: actions/checkout@v4
- 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
- name: "Build and Deploy Python 2.7 Main Image:"
run: cd linux/advanced/python/main/2.7 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.6 Main Image:"
run: cd linux/advanced/python/main/3.6 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Python 3.7 Main Image:"
run: cd linux/advanced/python/main/3.7 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.8 Main Image:"
run: cd linux/advanced/python/main/3.8 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Python 3.9 Main Image:"
run: cd linux/advanced/python/main/3.9 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.10 Main Image:"
run: cd linux/advanced/python/main/3.10 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Python 3.11 Main Image:"
run: cd linux/advanced/python/main/3.11 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.12 Main Image:"
run: cd linux/advanced/python/main/3.12 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.13 Main Image:"
run: cd linux/advanced/python/main/3.13 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
##################################################################################
build-python-develop-images:
name: Build EpicMorg Advanced Debian Python Develop Images
runs-on: ubuntu-24.04
needs: build-python-base-images
steps:
- uses: actions/checkout@v4
- 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
- name: "Build and Deploy Python 2.7 Develop Image:"
run: cd linux/advanced/python/develop/2.7 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.6 Develop Image:"
run: cd linux/advanced/python/develop/3.6 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Python 3.7 Develop Image:"
run: cd linux/advanced/python/develop/3.7 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.8 Develop Image:"
run: cd linux/advanced/python/develop/3.8 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Python 3.9 Develop Image:"
run: cd linux/advanced/python/develop/3.9 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.10 Develop Image:"
run: cd linux/advanced/python/develop/3.10 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Python 3.11 Develop Image:"
run: cd linux/advanced/python/develop/3.11 && pwd && make build && make deploy
- name: "Build and Deploy Python 3.12 Develop Image:"
run: cd linux/advanced/python/develop/3.12 && pwd && make build && make deploy
- name: Cleanup
run: make docker-clean
- name: "Build and Deploy Python 3.13 Develop Image:"
run: cd linux/advanced/python/develop/3.13 && pwd && make build && make deploy
##################################################################################
- name: Cleanup
run: make docker-clean