From e46c5493129bef8ee243de6338ba30815c050b10 Mon Sep 17 00:00:00 2001 From: Joel Cripps Date: Mon, 20 Jan 2020 12:57:39 -0800 Subject: [PATCH 1/5] Fixed indending on travis.yml Change-Id: I1bd6faaf07b8754f44fb663af884ee0b659da718 --- .travis.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index daa72f5..af70c6d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,11 +3,11 @@ node_js: 12.13.1 script: - npm install - npm run setup - deploy: - provider: releases - api_key: - secure: GdzlvpZA0vudgaRHUVLOrew1DVTiZiTl3fYBBkSrvm6GkDHKo0C3jWns7slb6cGgk3HB4vxNVbCxZtjwHWr66RiOAFeu4W2ennd3gujhSIMNQx8nVADM7TrEO1oBe0BWDYBL43daSu/NC/GsW29NYASI0bFi+UvXSe/G4KonR0+tfiSVI/n9WdRp4qYS3pIM2XxwwCzHe8UurwprxXtD5MDtnyQ5xfsJEFSQkXNS1qaOp58qpnefiXOjg7iIQG4rgjwQNC2a0ZYiDi8lyKW66itUc8rtrk2Z+cugsvGnwta1RRX7njdh+3BFBLRhWEIsemvoF76tFPanbSKn7+WxPUCL6ItMqqekCsjMYt/pYWLAjsCiwrgmlg+SAJGyQ8Jd35vG0CXmG6kFNmk7BPcWPJnyfU9qUS1m6WyxczlY2M5xi59y4JjG5JUNCQxiTSLxAWMTM/sRmPBWQYS/PbIy8dwuXVTD25baczhe6Jv1ovicoEZS7VtYMofbleTPSk6FjzyNd+gLNQJyA7zL3q+ZUjGP6hcVQe2FiF9k6nZ2xjuOeuOIsjVH5R4GTI7DtSY/2ZytrA834XQs+txa1i/lZiO09aj94mEHQSQkxko9u4uylCrRxAElKobBXh1bM5IFGEE1AGi8CNYi/DmHHgfOliT28yCh3iRikSGIYiQryxY= - file: dist/* - on: - repo: fortinet/fortigate-autoscale-gcp - branch: master \ No newline at end of file +deploy: + provider: releases + api_key: + secure: GdzlvpZA0vudgaRHUVLOrew1DVTiZiTl3fYBBkSrvm6GkDHKo0C3jWns7slb6cGgk3HB4vxNVbCxZtjwHWr66RiOAFeu4W2ennd3gujhSIMNQx8nVADM7TrEO1oBe0BWDYBL43daSu/NC/GsW29NYASI0bFi+UvXSe/G4KonR0+tfiSVI/n9WdRp4qYS3pIM2XxwwCzHe8UurwprxXtD5MDtnyQ5xfsJEFSQkXNS1qaOp58qpnefiXOjg7iIQG4rgjwQNC2a0ZYiDi8lyKW66itUc8rtrk2Z+cugsvGnwta1RRX7njdh+3BFBLRhWEIsemvoF76tFPanbSKn7+WxPUCL6ItMqqekCsjMYt/pYWLAjsCiwrgmlg+SAJGyQ8Jd35vG0CXmG6kFNmk7BPcWPJnyfU9qUS1m6WyxczlY2M5xi59y4JjG5JUNCQxiTSLxAWMTM/sRmPBWQYS/PbIy8dwuXVTD25baczhe6Jv1ovicoEZS7VtYMofbleTPSk6FjzyNd+gLNQJyA7zL3q+ZUjGP6hcVQe2FiF9k6nZ2xjuOeuOIsjVH5R4GTI7DtSY/2ZytrA834XQs+txa1i/lZiO09aj94mEHQSQkxko9u4uylCrRxAElKobBXh1bM5IFGEE1AGi8CNYi/DmHHgfOliT28yCh3iRikSGIYiQryxY= + file: dist/* + on: + repo: fortinet/fortigate-autoscale-gcp + branch: master \ No newline at end of file From 9415140a69fa35f35ba352ca5c8995d7bfbaafb0 Mon Sep 17 00:00:00 2001 From: Joel Cripps Date: Mon, 20 Jan 2020 13:54:29 -0800 Subject: [PATCH 2/5] Fixed README and travis file to build all branches Change-Id: If4e43b5dd8fecfc81d609d6550512a5f7541a9d9 --- .travis.yml | 3 ++- README.md | 12 +++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index af70c6d..6938829 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,9 +5,10 @@ script: - npm run setup deploy: provider: releases + file_glob: true api_key: secure: GdzlvpZA0vudgaRHUVLOrew1DVTiZiTl3fYBBkSrvm6GkDHKo0C3jWns7slb6cGgk3HB4vxNVbCxZtjwHWr66RiOAFeu4W2ennd3gujhSIMNQx8nVADM7TrEO1oBe0BWDYBL43daSu/NC/GsW29NYASI0bFi+UvXSe/G4KonR0+tfiSVI/n9WdRp4qYS3pIM2XxwwCzHe8UurwprxXtD5MDtnyQ5xfsJEFSQkXNS1qaOp58qpnefiXOjg7iIQG4rgjwQNC2a0ZYiDi8lyKW66itUc8rtrk2Z+cugsvGnwta1RRX7njdh+3BFBLRhWEIsemvoF76tFPanbSKn7+WxPUCL6ItMqqekCsjMYt/pYWLAjsCiwrgmlg+SAJGyQ8Jd35vG0CXmG6kFNmk7BPcWPJnyfU9qUS1m6WyxczlY2M5xi59y4JjG5JUNCQxiTSLxAWMTM/sRmPBWQYS/PbIy8dwuXVTD25baczhe6Jv1ovicoEZS7VtYMofbleTPSk6FjzyNd+gLNQJyA7zL3q+ZUjGP6hcVQe2FiF9k6nZ2xjuOeuOIsjVH5R4GTI7DtSY/2ZytrA834XQs+txa1i/lZiO09aj94mEHQSQkxko9u4uylCrRxAElKobBXh1bM5IFGEE1AGi8CNYi/DmHHgfOliT28yCh3iRikSGIYiQryxY= file: dist/* on: repo: fortinet/fortigate-autoscale-gcp - branch: master \ No newline at end of file + all_branches: true \ No newline at end of file diff --git a/README.md b/README.md index c3edd8c..0a2c77c 100644 --- a/README.md +++ b/README.md @@ -9,13 +9,18 @@ For autoscale on **Amazon AWS** and **Microsoft Azure** see the [fortigate-autos This project supports autoscale for the cloud platforms listed below. * Google Cloud Platform (GCP) +## Deployment + +The deployment Guide is available from the Fortinet Document Library: + + * [ FortiGate / FortiOS Deploying Auto Scaling on GCP](https://docs.fortinet.com/vm/gc/fortigate/6.2/gcp-cookbook/6.2.0/365012/deploying-auto-scaling-on-gcp) + ## Deployment Packages To generate local deployment packages: 1. Clone this project. - 2. Run `npm run build` at the project root directory. + 2. Run `npm run setup` at the project root directory. -Terraform deployment scripts will be located under [gcp_terraform](/gcp_terraform). Source code will be available in the **dist** directory. | File Name | Description | | ------ | ------ | @@ -23,9 +28,6 @@ Terraform deployment scripts will be located under [gcp_terraform](/gcp_terrafor | main.tf | Terraform configuration file for GCP deployment | | vars.tf | Terraform configuration file for GCP deployment | -An Installation Guide is available from the Fortinet Document Library: - - * [ FortiGate / FortiOS Deploying Auto Scaling on GCP](https://docs.fortinet.com/vm/gc/fortigate/6.2/gcp-cookbook/6.2.0/365012/deploying-auto-scaling-on-gcp) # Support Fortinet-provided scripts in this and other GitHub projects do not fall under the regular Fortinet technical support scope and are not supported by FortiCare Support Services. From 7630eef234527e9a70e94d8fbc8054013dfd555a Mon Sep 17 00:00:00 2001 From: Joel Cripps Date: Mon, 20 Jan 2020 14:46:05 -0800 Subject: [PATCH 3/5] Added tags: true for the yaml file Change-Id: If1ae00ee228cae68d2464af9816c3980c47716fe --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 6938829..a7e89c3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,4 +11,5 @@ deploy: file: dist/* on: repo: fortinet/fortigate-autoscale-gcp + tags: true all_branches: true \ No newline at end of file From 2c3dbaf784a436c55ffa1bff32a9d95544702492 Mon Sep 17 00:00:00 2001 From: Joel Cripps Date: Mon, 20 Jan 2020 15:11:35 -0800 Subject: [PATCH 4/5] Added skip_cleanup true to travis file Change-Id: I58c562e01d44f9162c505feacba4d6916df5c3eb --- .travis.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index a7e89c3..7b29749 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,12 +3,14 @@ node_js: 12.13.1 script: - npm install - npm run setup + - git describe deploy: provider: releases file_glob: true api_key: secure: GdzlvpZA0vudgaRHUVLOrew1DVTiZiTl3fYBBkSrvm6GkDHKo0C3jWns7slb6cGgk3HB4vxNVbCxZtjwHWr66RiOAFeu4W2ennd3gujhSIMNQx8nVADM7TrEO1oBe0BWDYBL43daSu/NC/GsW29NYASI0bFi+UvXSe/G4KonR0+tfiSVI/n9WdRp4qYS3pIM2XxwwCzHe8UurwprxXtD5MDtnyQ5xfsJEFSQkXNS1qaOp58qpnefiXOjg7iIQG4rgjwQNC2a0ZYiDi8lyKW66itUc8rtrk2Z+cugsvGnwta1RRX7njdh+3BFBLRhWEIsemvoF76tFPanbSKn7+WxPUCL6ItMqqekCsjMYt/pYWLAjsCiwrgmlg+SAJGyQ8Jd35vG0CXmG6kFNmk7BPcWPJnyfU9qUS1m6WyxczlY2M5xi59y4JjG5JUNCQxiTSLxAWMTM/sRmPBWQYS/PbIy8dwuXVTD25baczhe6Jv1ovicoEZS7VtYMofbleTPSk6FjzyNd+gLNQJyA7zL3q+ZUjGP6hcVQe2FiF9k6nZ2xjuOeuOIsjVH5R4GTI7DtSY/2ZytrA834XQs+txa1i/lZiO09aj94mEHQSQkxko9u4uylCrRxAElKobBXh1bM5IFGEE1AGi8CNYi/DmHHgfOliT28yCh3iRikSGIYiQryxY= - file: dist/* + file: dist/* + skip_cleanup: true on: repo: fortinet/fortigate-autoscale-gcp tags: true From 19eff8bb9b83876f9dc8240a78adb1722981df7a Mon Sep 17 00:00:00 2001 From: Joel Cripps Date: Mon, 20 Jan 2020 15:25:14 -0800 Subject: [PATCH 5/5] fixed travis indentation Change-Id: I9dcce0f1ba866c110122f28c4f3e54109e71df37 --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7b29749..0d75cf2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,11 +6,11 @@ script: - git describe deploy: provider: releases - file_glob: true api_key: secure: GdzlvpZA0vudgaRHUVLOrew1DVTiZiTl3fYBBkSrvm6GkDHKo0C3jWns7slb6cGgk3HB4vxNVbCxZtjwHWr66RiOAFeu4W2ennd3gujhSIMNQx8nVADM7TrEO1oBe0BWDYBL43daSu/NC/GsW29NYASI0bFi+UvXSe/G4KonR0+tfiSVI/n9WdRp4qYS3pIM2XxwwCzHe8UurwprxXtD5MDtnyQ5xfsJEFSQkXNS1qaOp58qpnefiXOjg7iIQG4rgjwQNC2a0ZYiDi8lyKW66itUc8rtrk2Z+cugsvGnwta1RRX7njdh+3BFBLRhWEIsemvoF76tFPanbSKn7+WxPUCL6ItMqqekCsjMYt/pYWLAjsCiwrgmlg+SAJGyQ8Jd35vG0CXmG6kFNmk7BPcWPJnyfU9qUS1m6WyxczlY2M5xi59y4JjG5JUNCQxiTSLxAWMTM/sRmPBWQYS/PbIy8dwuXVTD25baczhe6Jv1ovicoEZS7VtYMofbleTPSk6FjzyNd+gLNQJyA7zL3q+ZUjGP6hcVQe2FiF9k6nZ2xjuOeuOIsjVH5R4GTI7DtSY/2ZytrA834XQs+txa1i/lZiO09aj94mEHQSQkxko9u4uylCrRxAElKobBXh1bM5IFGEE1AGi8CNYi/DmHHgfOliT28yCh3iRikSGIYiQryxY= - file: dist/* - skip_cleanup: true + file_glob: true + file: dist/* + skip_cleanup: true on: repo: fortinet/fortigate-autoscale-gcp tags: true