diff --git a/.travis.yml b/.travis.yml index 688b2da5..fc822136 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,23 +16,18 @@ branches: - /^test\/.*$/ before_install: - # Add CI keys + # Decrypt secrets - > openssl aes-256-cbc - -K $encrypted_d4d3f0a1e05a_key - -iv $encrypted_d4d3f0a1e05a_iv - -in test/ci-keys/kubenow-ci.enc - -out test/ci-keys/kubenow-ci - -d - - > - openssl aes-256-cbc - -K $encrypted_d4d3f0a1e05a_key - -iv $encrypted_d4d3f0a1e05a_iv - -in kubenow-ci.pub.enc - -out kubenow-ci.pub + -K $encrypted_92d825aa39d7_key + -iv $encrypted_92d825aa39d7_iv + -in test/secret.enc + -out test/secret.tgz -d + # Extract secrets + - tar xzvf test/secret.tgz -C test # Add the keypair to the agent - - ssh-add test/ci-keys/kubenow-ci + - ssh-add test/secret/kubenow-ci # Get submodules - git submodule update --init --recursive diff --git a/test/.gitignore b/test/.gitignore new file mode 100644 index 00000000..9eb88ea8 --- /dev/null +++ b/test/.gitignore @@ -0,0 +1,2 @@ +secret +secret.tgz diff --git a/test/ci-keys/kubenow-ci.enc b/test/ci-keys/kubenow-ci.enc deleted file mode 100644 index 7f4c9285..00000000 Binary files a/test/ci-keys/kubenow-ci.enc and /dev/null differ diff --git a/test/ci-keys/kubenow-ci.pub.enc b/test/ci-keys/kubenow-ci.pub.enc deleted file mode 100644 index 2ed86643..00000000 Binary files a/test/ci-keys/kubenow-ci.pub.enc and /dev/null differ diff --git a/test/secret.enc b/test/secret.enc new file mode 100644 index 00000000..875b4120 Binary files /dev/null and b/test/secret.enc differ