From 02ebdf6d559e19e60c1e7ddb0ce31ea2833b8af4 Mon Sep 17 00:00:00 2001 From: literature <65801567+LiteraturePro@users.noreply.github.com> Date: Mon, 1 Feb 2021 10:56:43 +0800 Subject: [PATCH 1/4] Add .circleci/config.yml --- .circleci/config.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..12a4918 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,21 @@ +version: 2.1 + +orbs: + python: circleci/python@0.2.1 + +jobs: + build-and-test: + executor: python/default + steps: + - checkout + - python/load-cache + - python/install-deps + - python/save-cache + - run: + command: ./manage.py test + name: Test + +workflows: + main: + jobs: + - build-and-test From fd54095d2fb5a2a7c8dfe2984a5436f11fb8e261 Mon Sep 17 00:00:00 2001 From: literature <65801567+LiteraturePro@users.noreply.github.com> Date: Tue, 2 Feb 2021 12:59:43 +0800 Subject: [PATCH 2/4] Add .circleci/config.yml From 3b6a68df51aa58351796da4fd0309397f8c255ad Mon Sep 17 00:00:00 2001 From: literature <65801567+LiteraturePro@users.noreply.github.com> Date: Thu, 25 Feb 2021 09:03:13 +0800 Subject: [PATCH 3/4] Add .circleci/config.yml --- .circleci/config.yml | 28 +++++++++------------------- 1 file changed, 9 insertions(+), 19 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 12a4918..19618e7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,21 +1,11 @@ -version: 2.1 - -orbs: - python: circleci/python@0.2.1 - +version: 2 jobs: - build-and-test: - executor: python/default - steps: - - checkout - - python/load-cache - - python/install-deps - - python/save-cache - - run: - command: ./manage.py test - name: Test + build: + machine: true + steps: + - checkout -workflows: - main: - jobs: - - build-and-test + # build image + - run: | + docker info + docker build -t cartoonize . \ No newline at end of file From aca2447ea8823ae45582b2473456d5d28cb20eaa Mon Sep 17 00:00:00 2001 From: literature <65801567+LiteraturePro@users.noreply.github.com> Date: Thu, 25 Feb 2021 09:04:23 +0800 Subject: [PATCH 4/4] Add .circleci/config.yml