зеркало из https://github.com/mozilla/docker-etl.git
Update etl-graph configuration to follow vanilla template
This commit is contained in:
Родитель
5819d47872
Коммит
c84351c06a
|
@ -68,15 +68,11 @@ jobs:
|
|||
name: Test Code
|
||||
command: docker run app:build pytest --flake8 --black
|
||||
|
||||
# As seen from the perpsective of https://github.com/mozilla/docker-etl
|
||||
build-job-etl-graph:
|
||||
docker:
|
||||
- image: docker:stable-git
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: Checkout git submodules
|
||||
command: git submodule update --init --recursive
|
||||
- compare-branch:
|
||||
pattern: ^jobs/etl-graph/
|
||||
- setup_remote_docker:
|
||||
|
@ -84,10 +80,6 @@ jobs:
|
|||
- run:
|
||||
name: Build Docker image
|
||||
command: docker build -t app:build jobs/etl-graph/
|
||||
- persist_to_workspace:
|
||||
root: jobs
|
||||
paths:
|
||||
- etl-graph
|
||||
|
||||
|
||||
build-job-example_job:
|
||||
|
@ -140,8 +132,6 @@ workflows:
|
|||
jobs:
|
||||
- build-job-etl-graph
|
||||
- gcp-gcr/build-and-push-image:
|
||||
attach-workspace: true
|
||||
workspace-root: jobs
|
||||
context: data-eng-airflow-gcr
|
||||
path: jobs/etl-graph/
|
||||
image: etl-graph_docker_etl
|
||||
|
|
|
@ -1,12 +1,8 @@
|
|||
# As seen from the perpsective of https://github.com/mozilla/docker-etl
|
||||
build-job-etl-graph:
|
||||
docker:
|
||||
- image: docker:stable-git
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: Checkout git submodules
|
||||
command: git submodule update --init --recursive
|
||||
- compare-branch:
|
||||
pattern: ^jobs/etl-graph/
|
||||
- setup_remote_docker:
|
||||
|
@ -14,7 +10,3 @@ build-job-etl-graph:
|
|||
- run:
|
||||
name: Build Docker image
|
||||
command: docker build -t app:build jobs/etl-graph/
|
||||
- persist_to_workspace:
|
||||
root: jobs
|
||||
paths:
|
||||
- etl-graph
|
||||
|
|
|
@ -2,11 +2,8 @@ job-etl-graph:
|
|||
jobs:
|
||||
- build-job-etl-graph
|
||||
- gcp-gcr/build-and-push-image:
|
||||
attach-workspace: true
|
||||
workspace-root: jobs
|
||||
context: data-eng-airflow-gcr
|
||||
path: jobs/etl-graph
|
||||
docker-context: jobs/etl-graph
|
||||
path: jobs/etl-graph/
|
||||
image: etl-graph_docker_etl
|
||||
requires:
|
||||
- build-job-etl-graph
|
||||
|
|
Загрузка…
Ссылка в новой задаче