mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-27 07:05:41 +03:00
STAM
511a8a115a
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
48 lines
821 B
Makefile
48 lines
821 B
Makefile
PIP_BREAK_SYSTEM_PACKAGES=1
|
|
|
|
all: app
|
|
|
|
app:
|
|
make sync
|
|
make patch
|
|
make build
|
|
make deploy
|
|
make clean
|
|
|
|
sync:
|
|
rm -rfv redash-repo
|
|
git submodule init
|
|
git submodule update --init --recursive
|
|
git submodule sync --recursive
|
|
|
|
patch:
|
|
sed -i -e 's/# ldap3==2.2.4/ldap3==2.2.4/g' ./redash-repo/requirements.txt
|
|
|
|
build:
|
|
kaniko-wrapper --version
|
|
|
|
dry:
|
|
make dry-run
|
|
|
|
test:
|
|
make dry-run
|
|
|
|
dry-run:
|
|
kaniko-wrapper --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug --dry-run
|
|
|
|
build-compose:
|
|
docker-compose build --compress --parallel --progress plain
|
|
|
|
deploy:
|
|
kaniko-wrapper --deploy --kaniko-image gcr.io/kaniko-project/executor:v1.23.2-debug
|
|
|
|
deploy-compose:
|
|
docker-compose push
|
|
|
|
clean:
|
|
docker container prune -f
|
|
docker image prune -f
|
|
docker network prune -f
|
|
docker volume prune -f
|
|
docker system prune -af
|