Skip to content

Commit 5682d50

Browse files
author
jmcshane
committed
Migrate from docker-compose stack to kubernetes stack
1 parent 1b507f9 commit 5682d50

4 files changed

Lines changed: 15 additions & 19 deletions

File tree

.buildkite/pipeline.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1-
21
steps:
3-
- name: ":python:"
4-
command: "py.test"
5-
plugins:
6-
- docker-compose#v3.7.0:
7-
run: app
2+
- label: run pytest
3+
agents:
4+
queue: kubernetes
5+
plugins:
6+
- kubernetes:
7+
podSpec:
8+
containers:
9+
- image: python:latest
10+
command: [.buildkite/steps/tests.sh]

.buildkite/steps/test.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
set -euxo pipefail
3+
4+
pip install pipenv
5+
pipenv install --deploy --dev
6+
pipenv run py.test

Dockerfile

Lines changed: 0 additions & 8 deletions
This file was deleted.

docker-compose.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)