Unverified Commit bc82ffe2 authored by moto's avatar moto Committed by GitHub
Browse files

Move smoke test Dockerfile to dedicated directory (#591)

parent 3012050d
...@@ -208,7 +208,7 @@ jobs: ...@@ -208,7 +208,7 @@ jobs:
source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION} source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
python -c "import torchaudio" python -c "import torchaudio"
docker_image_build: smoke_test_docker_image_build:
machine: machine:
image: ubuntu-1604:201903-01 image: ubuntu-1604:201903-01
resource_class: large resource_class: large
...@@ -220,7 +220,7 @@ jobs: ...@@ -220,7 +220,7 @@ jobs:
name: build_docker image name: build_docker image
no_output_timeout: "1h" no_output_timeout: "1h"
command: | command: |
cd .circleci/docker && docker build . -t ${image_name}:${CIRCLE_WORKFLOW_ID} cd .circleci/smoke_test/docker && docker build . -t ${image_name}:${CIRCLE_WORKFLOW_ID}
- run: - run:
name: upload docker image name: upload docker image
no_output_timeout: "1h" no_output_timeout: "1h"
...@@ -553,4 +553,4 @@ workflows: ...@@ -553,4 +553,4 @@ workflows:
only: only:
- master - master
jobs: jobs:
- docker_image_build - smoke_test_docker_image_build
\ No newline at end of file \ No newline at end of file
...@@ -208,7 +208,7 @@ jobs: ...@@ -208,7 +208,7 @@ jobs:
source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION} source /usr/local/etc/profile.d/conda.sh && conda activate python${PYTHON_VERSION}
python -c "import torchaudio" python -c "import torchaudio"
docker_image_build: smoke_test_docker_image_build:
machine: machine:
image: ubuntu-1604:201903-01 image: ubuntu-1604:201903-01
resource_class: large resource_class: large
...@@ -220,7 +220,7 @@ jobs: ...@@ -220,7 +220,7 @@ jobs:
name: build_docker image name: build_docker image
no_output_timeout: "1h" no_output_timeout: "1h"
command: | command: |
cd .circleci/docker && docker build . -t ${image_name}:${CIRCLE_WORKFLOW_ID} cd .circleci/smoke_test/docker && docker build . -t ${image_name}:${CIRCLE_WORKFLOW_ID}
- run: - run:
name: upload docker image name: upload docker image
no_output_timeout: "1h" no_output_timeout: "1h"
...@@ -295,4 +295,4 @@ workflows: ...@@ -295,4 +295,4 @@ workflows:
only: only:
- master - master
jobs: jobs:
- docker_image_build - smoke_test_docker_image_build
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment