From 079fe98467285d04904b7aa98cd355c1e06cc5b7 Mon Sep 17 00:00:00 2001 From: ruslan Date: Mon, 1 Sep 2025 09:25:27 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20.woodpecker.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .woodpecker.yml | 36 +++--------------------------------- 1 file changed, 3 insertions(+), 33 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 348b7af..da06c13 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,35 +1,5 @@ -variables: - IMAGE: flask-demo:latest - -volumes: - - name: dockersock - host: - path: /var/run/docker.sock - steps: - test: - image: python:3.11 + hello: + image: alpine:3.19 commands: - - pip install -r requirements.txt - - pytest -q - - build: - image: docker:27-cli - volumes: - - name: dockersock - path: /var/run/docker.sock - commands: - - docker build -t ${IMAGE} . - - deploy: - image: docker:27-cli - volumes: - - name: dockersock - path: /var/run/docker.sock - commands: - - docker compose up -d - when: - event: - - push - branch: - - main \ No newline at end of file + - echo ok