From 48c05dbdc3532e6108f9cab3732575d37d5845e2 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Fri, 17 Jan 2020 08:23:38 +0300 Subject: [PATCH 1/5] .travis.yml `sudo` has no effect anymore --- .travis.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8066ad238..f3f1f6723 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,3 @@ -sudo: required - services: - docker From 649d95d02cc074beffdfbee7c9bf2fd6f6ca5caa Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Fri, 17 Jan 2020 09:04:07 +0300 Subject: [PATCH 2/5] .travis.yml Try building without CXX env var --- .travis.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index f3f1f6723..f8a2e7c30 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,7 +12,7 @@ script: |- version=$(grep '"version":' src/drivers/webextension/manifest.json | sed 's/^.*"version": "\(.*\)".*$/\1/'); ./run build $version deploy: - provider: releases +- provider: releases api_key: secure: mco1ycbfGXZEiBywOmM5A50Y1QPFawj4i0gdB9JDkXDvY7N2kPZyCdAeOQOMEJuetGT3HvJuTG0Ll47sithZfPqq6wx/4EeP8YQYYFIyoOlsIGi5MDR1kS5ZOqKDWGe5+x+/rUZbmuMHvgHWNSjPG8mBrp5xWmON6ETkLWfVB0c= file_glob: true @@ -22,8 +22,5 @@ deploy: repo: AliasIO/wappalyzer tags: true -env: - - CXX=g++-4.8 - notifications: slack: wappalyzer:ppXlJRMBDxrKYS9vgVxT7FuH From fbc3bd89724841e6917588919fc62bc745d8df11 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Fri, 17 Jan 2020 09:19:36 +0300 Subject: [PATCH 3/5] .travis.yml Try Docker build with autodeploy --- .travis.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index f8a2e7c30..372bbe8c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,8 +8,13 @@ after_success: - sha256sum build/* > build/SHA256SUMS - cat build/SHA256SUMS -script: |- - version=$(grep '"version":' src/drivers/webextension/manifest.json | sed 's/^.*"version": "\(.*\)".*$/\1/'); ./run build $version +script: + - version=$(grep '"version":' src/drivers/webextension/manifest.json | sed 's/^.*"version": "\(.*\)".*$/\1/'); ./run build $version + - docker build -t wappalyzer/cli" src/drivers/npm + +env: + # encrypted DOCKER_PASSWORD + - secure: xc5vP+LjpNnZgMIfXUUeP3EBGhhNoDV5vTfophBliaWZrBX8POpLOFQGZ/Fcd0i+UBmSckLYW30BLSwHwjYLAZJGM12AfeiKbI1eub5tNfsosI2FZ3lNeb2nlpoIjzpsyS5fknJL0zQfkadUgxbrwDRDuaN+P6oOup3XMgHR9hkjb/QwVW2ozxU+OP4iRvcNECLP+XqnsOyq0YFshZzRMOd6fVYnJZuP6NTj24hCfymcmZJlS8Q5dSHISg68Lckaa/z3APxrMW+5/PORsHZ/U8yugNQr6Ty5J3YoaEuUoaMaUkGpaiuP26/lndynlRhNVlw8zQKfb7A09oom/UjnhyLE+9NuhKpo7f3l56OP/ubIvJzkrGt0hqwKnW2+EixURLxAOL7shtc/9gl8q2cPwEJg50siIRGJXkUEear/oqYr/EqEk1/6kq3dOfaDM0kRYAeHi8Kuf4+tyTbKQDULT3xYMi3ZxAYTd8gEMGsWca+PT/+IfFB4sHADmFmh6Y9VhI89Zrsrqa7C2BlS/ytuiAJHgrleKxyYKEFy78yG5Tb/AGi2UmGFMk8ShKRNrK8VJmrqixWttvyUr81iBI5uEP9copsXDnR5aZaFZF5vBi7PK85Ngwj6uREM+rjQadaPR49KQqUXFj0s3OXbwDXgMFIXAguqsji/nm4IuEeA8zA= deploy: - provider: releases @@ -21,6 +26,11 @@ deploy: on: repo: AliasIO/wappalyzer tags: true +- provider: script + script: docker login -u wappalyzer -p "$DOCKER_PASSWORD" && + docker push "wappalyzer/cli" + on: + tags: true notifications: slack: wappalyzer:ppXlJRMBDxrKYS9vgVxT7FuH From a57e2b88e51f7d2e239ecd53940531ca23c388fd Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Fri, 17 Jan 2020 09:33:32 +0300 Subject: [PATCH 4/5] .travis.yml Fix YAML escaping --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 372bbe8c1..4fd0734b9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,8 @@ after_success: - cat build/SHA256SUMS script: - - version=$(grep '"version":' src/drivers/webextension/manifest.json | sed 's/^.*"version": "\(.*\)".*$/\1/'); ./run build $version + - >- + version=$(grep '"version":' src/drivers/webextension/manifest.json | sed 's/^.*"version": "\(.*\)".*$/\1/'); ./run build $version - docker build -t wappalyzer/cli" src/drivers/npm env: From 01a2a3bd4f0fa598a9c0082770ec2a7801f7d9a4 Mon Sep 17 00:00:00 2001 From: Anatoli Babenia Date: Fri, 17 Jan 2020 09:36:31 +0300 Subject: [PATCH 5/5] .travis.yml Fix missing " --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4fd0734b9..8d5b28d0a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,7 +11,7 @@ after_success: script: - >- version=$(grep '"version":' src/drivers/webextension/manifest.json | sed 's/^.*"version": "\(.*\)".*$/\1/'); ./run build $version - - docker build -t wappalyzer/cli" src/drivers/npm + - docker build -t "wappalyzer/cli" src/drivers/npm env: # encrypted DOCKER_PASSWORD