diff --git a/.drone.yml b/.drone.yml index dd1b254..ddec1d5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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