1
0
Fork 0

remove fancy stuff
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Torma Kristóf 2022-02-13 23:43:23 +01:00
parent b2934a43c0
commit 1c3dcbdb57
1 changed files with 0 additions and 25 deletions

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