aws load balancer v0.1

This commit is contained in:
Kuba 2023-01-31 12:32:20 +01:00
parent 24d67c8531
commit f4196ef4f8
3 changed files with 8 additions and 8 deletions

View File

@ -1,8 +0,0 @@
#!/bin/bash
echo "Creating virtual enviroment ..."
python3 -m venv hetz_gitea_venv
echo "Installing dependencies ..."
pip install -q hcloud
echo "Initiating gitea cloud deploy ..."
chmod +x a.py
python3 a.py $(cat ../token_file.txt) $(find ~ -name *.pub | tail -n 1 | xargs cat) "478874"

8
load-balancer/deploy.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
echo "Creating virtual enviroment ..."
python3 -m venv aws_lb_venv
echo "Installing dependencies ..."
pip install -q boto3, time
echo "Initiating gitea cloud deploy ..."
chmod +x a.py
python3 a.py