-
Notifications
You must be signed in to change notification settings - Fork 0
/
disabled.drone.yml
82 lines (73 loc) · 1.98 KB
/
disabled.drone.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
---
load: ""
kind: pipeline
name: test-amd64
platform:
arch: amd64
trigger:
event:
- push
environment:
ZIPLINE_URL: http://zipline:3000/
services:
- name: postgres
image: postgres:15
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DATABASE: postgres
- name: zipline
image: ghcr.io/diced/zipline:latest
environment:
DEBUG: true
CORE_PORT: 3000
CORE_RETURN_HTTPS: false
CORE_SECRET: H8Y9lSs48w3HwOgFfpaF0G
CORE_DATABASE_URL: postgres://postgres:postgres@postgres/postgres
depends_on:
- postgres
steps:
- name: test-3.11
image: python:3.11
depends_on:
- zipline
commands:
- python3 -m pip install -r requirements.txt
- flake8 zipline.py
- python3 -m pip install -e .
- while ! curl --silent $${ZIPLINE_URL}; do sleep 1; done
- export ZIPLINE_TOKEN=$(python3 get_test_token.py)
- zipline zipline.py
- name: test-3.10
image: python:3.10
depends_on:
- zipline
commands:
- python3 -m pip install -r requirements.txt
- flake8 zipline.py
- python3 -m pip install -e .
- while ! curl --silent $${ZIPLINE_URL}; do sleep 1; done
- export ZIPLINE_TOKEN=$(python3 get_test_token.py)
- zipline zipline.py
- name: test-3.9
image: python:3.9
depends_on:
- zipline
commands:
- python3 -m pip install -r requirements.txt
- flake8 zipline.py
- python3 -m pip install -e .
- while ! curl --silent $${ZIPLINE_URL}; do sleep 1; done
- export ZIPLINE_TOKEN=$(python3 get_test_token.py)
- zipline zipline.py
- name: test-3.8
image: python:3.8
depends_on:
- zipline
commands:
- python3 -m pip install -r requirements.txt
- flake8 zipline.py
- python3 -m pip install -e .
- while ! curl --silent $${ZIPLINE_URL}; do sleep 1; done
- export ZIPLINE_TOKEN=$(python3 get_test_token.py)
- zipline zipline.py