remove fancy stuff
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2022-02-13 23:43:23 +01:00
parent b2934a43c0
commit 1c3dcbdb57

View File

@ -4,23 +4,6 @@ type: docker
name: default
steps:
- name: run-service
image: python:3-slim
detach: true
environment:
DATABASE_URI: "postgresql://mealsapi:meals@database:5432/mealsdb"
commands:
- pip3 install -r requirements.txt
- cd mealapi
- python3 app.py
- name: tests
image: node
commands:
- npm install -g newman
- newman run --env-var "HOST=run-service:8080" LoadExampleData.postman_collection.json
- newman run --env-var "HOST=run-service:8080" MealHomeWork.postman_collection.json
- name: kaniko
image: banzaicloud/drone-kaniko
settings:
@ -33,11 +16,3 @@ steps:
tags:
- latest
- ${DRONE_BUILD_NUMBER}
services:
- name: database
image: postgres:14
environment:
POSTGRES_USER: mealsapi
POSTGRES_PASSWORD: meals
POSTGRES_DB: mealsdb