From 91b2c473b60a734ae01aa8a7c253b1c48e5cb92c Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 12 May 2019 23:35:50 +0200 Subject: [PATCH] set env variable to custom filter repo --- .drone.jsonnet | 3 +-- .drone.yml | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.drone.jsonnet b/.drone.jsonnet index ea8bdb8..a5acbdc 100644 --- a/.drone.jsonnet +++ b/.drone.jsonnet @@ -53,12 +53,11 @@ local PipelineDeployment = { AWS_SECRET_ACCESS_KEY: { "from_secret": "aws_secret_access_key" }, AWS_REGION: "eu-central-1", MOLECULE_CUSTOM_MODULES_REPO: "https://gitea.rknet.org/ansible/custom_modules", + MOLECULE_CUSTOM_FILTERS_REPO: "https://gitea.rknet.org/ansible/custom_filters", PY_COLORS: 1 }, commands: [ "/bin/bash /docker-entrypoint.sh", - "mkdir -p ./plugins/filters/", - "git clone https://gitea.rknet.org/ansible/custom_filters ./plugins/filters/", "molecule create --scenario-name ec2-centos-7", "molecule converge --scenario-name ec2-centos-7", "molecule verify --scenario-name ec2-centos-7", diff --git a/.drone.yml b/.drone.yml index 4cd476a..f6a3d70 100644 --- a/.drone.yml +++ b/.drone.yml @@ -55,8 +55,6 @@ steps: image: xoxys/molecule:ec2-linux-amd64 commands: - /bin/bash /docker-entrypoint.sh - - mkdir -p ./plugins/filters/ - - git clone https://gitea.rknet.org/ansible/custom_filters ./plugins/filters/ - molecule create --scenario-name ec2-centos-7 - molecule converge --scenario-name ec2-centos-7 - molecule verify --scenario-name ec2-centos-7 @@ -68,6 +66,7 @@ steps: AWS_REGION: eu-central-1 AWS_SECRET_ACCESS_KEY: from_secret: aws_secret_access_key + MOLECULE_CUSTOM_FILTERS_REPO: https://gitea.rknet.org/ansible/custom_filters MOLECULE_CUSTOM_MODULES_REPO: https://gitea.rknet.org/ansible/custom_modules PY_COLORS: 1 @@ -115,6 +114,6 @@ depends_on: --- kind: signature -hmac: a392ab1f071b0e3b3382d2bf6ec96447443a470de2594ba7f0681750a4479054 +hmac: 245fb3cb141388467c22c1fb0949baf109e53f11a8bb5d1547fa156040e7e692 ...