From fd2a736d8a7b4be2252d6c5cc419d2f11f328f7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alessandro=20Pezz=C3=A8?= Date: Sun, 8 Jan 2023 18:50:21 +0100 Subject: [PATCH] chore: use new ci image --- .circleci/config.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b4eacac4a..16078a621 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,16 +3,16 @@ version: 2.1 executors: python36: docker: - - image: circleci/python:3.6.5 + - image: cimg/python:3.6.5 commands: ditto-transform: description: Run Ditto in order to transform the BASE_URL instead of http://localhost steps: - - run: + - run: name: Install requirements.txt command: pip install --user -r requirements.txt - - run: + - run: name: Transform api-data's JSON files to have the correct BASE_URL instead of http://localhost command: bash -x scripts/transform.sh @@ -27,13 +27,13 @@ jobs: steps: - checkout - ditto-transform - - run: + - run: name: Pack the transformed data in a .tar.gz command: tar czf _gen.tar.gz _gen/* - store_artifacts: path: _gen.tar.gz # Trigger a new build of the deploy job of the deploy project - - run: + - run: name: Trigger a deploy of the deploy project passing the desired environment/location to deploy to command: 'curl --header "Content-Type: application/json" --data "{\"build_parameters\": {\"deploy_location\": \"$CIRCLE_BRANCH\", \"CIRCLE_JOB\": \"deploy\"}}" --request POST "https://circleci.com/api/v1.1/project/github/PokeAPI/deploy/tree/master?circle-token=$CIRCLECI_API_TOKEN"'