From bf90a122419b7bf6d14d93c63a0915d6228e13b3 Mon Sep 17 00:00:00 2001 From: Aleksandr Sobolev Date: Fri, 14 Jun 2019 12:11:51 +0600 Subject: [PATCH 1/2] Add required env variables to Edelweiss container --- .circleci/config.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 89cfd337..2ca56887 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -102,7 +102,11 @@ jobs: - run: name: Run Edelweiss command: | - docker run --rm edelweiss-mythril:latest \ + docker run \ + -e CIRCLE_BUILD_NUM=$CIRCLE_BUILD_NUM \ + -e CIRCLE_BUILD_URL=$CIRCLE_BUILD_URL \ + -e CIRCLE_WEBHOOK_URL=$CIRCLE_WEBHOOK_URL \ + --rm edelweiss-mythril:latest \ --timeout 90 \ --output-dir /opt/edelweiss \ --plugin-dir /opt/mythril \ @@ -164,6 +168,8 @@ workflows: only: - develop - master + # Temprorary add for checking envs injection + - improvement/circleci-envs tags: only: /v[0-9]+(\.[0-9]+)*/ requires: From 07b99c5166f5d205001bc61d288aab402e0125d4 Mon Sep 17 00:00:00 2001 From: Aleksandr Sobolev Date: Fri, 14 Jun 2019 14:12:04 +0600 Subject: [PATCH 2/2] Remove temporary branch from workflow --- .circleci/config.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 2ca56887..6174655f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -168,8 +168,6 @@ workflows: only: - develop - master - # Temprorary add for checking envs injection - - improvement/circleci-envs tags: only: /v[0-9]+(\.[0-9]+)*/ requires: