Skip to content

Commit

Permalink
Fix tegola building pipeline
Browse files Browse the repository at this point in the history
* Remove unused node/python steps
* Run build command on build step
* Add entrypoint for production image

Change-Id: I386a128ac336ea7b4e6420ad0e7632d0cf32f7b7
  • Loading branch information
johngian committed Feb 22, 2021
1 parent 45bf493 commit 522adfc
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .pipeline/blubber.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,18 @@ runs:
variants:
build:
apt: { packages: [build-essential] }
copies: [local]
python:
requirements: [requirements.txt]
entrypoint: [make, tegola_cmd]
runs: { insecurely: true }
builder:
command: [make tegola_cmd]
requirements: [.]
development:
includes: [build]
runs:
entrypoint: [cmd/tegola/tegola]
test:
includes: [build]
entrypoint: [make, test]
prep:
includes: [build]
node: { env: production }
production:
copies: [prep]
node: { env: production }
entrypoint: [cmd/tegola/tegola]

0 comments on commit 522adfc

Please sign in to comment.