Browse Source

Use a pre-created base image

Getty Ritter 4 years ago
parent
commit
11f3056348
1 changed files with 17 additions and 9 deletions
  1. 17 9
      .drone.yml

+ 17 - 9
.drone.yml

@@ -1,15 +1,23 @@
 kind: pipeline
 name: default
 
-workspace:
-  path: /root
-
 steps:
-- name: test_all
-  image: python
+- name: setup
+  image: gdritter/lament-configuration-env:latest
   commands:
-  - pip install poetry
   - poetry install
-  - poetry run inv test
-  - poetry run inv tc
-  - poetry run inv checkfmt
+
+- name: format
+  image: gdritter/lament-configuration-env:latest
+  commands:
+  - inv checkfmt
+
+- name: typecheck
+  image: gdritter/lament-configuration-env:latest
+  commands:
+  - inv tc
+
+- name: test
+  image: gdritter/lament-configuration-env:latest
+  commands:
+  - inv test