Skip to content

Commit

Permalink
Deploy behind Kong
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi committed Jan 22, 2024
1 parent 76b67fd commit 3183d04
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions screwdriver.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
jobs:
main:
requires: [~pr, ~commit]
template: QubitPi/machine-learning-model-release-definition-template-mlflow-docker@latest
steps:
- build-ml-models: |
apt update && sudo apt upgrade -y
apt install software-properties-common -y
add-apt-repository ppa:deadsnakes/ppa
apt install python3.10
apt install python3-pip
cd mlflow_models/HanLPner
python3 -m venv .venv
. .venv/bin/activate
pip3 install -r requirements.txt
python3 HanLPner.py
echo "8080" > mlflow_models/models/HanLPner/PORT
secrets:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_WS_PKRVARS_HCL
- AWS_WS_TFVARS

0 comments on commit 3183d04

Please sign in to comment.