File tree Expand file tree Collapse file tree 4 files changed +57
-1
lines changed Expand file tree Collapse file tree 4 files changed +57
-1
lines changed Original file line number Diff line number Diff line change
1
+ First off, thanks for taking the time to contribute!
2
+
3
+ ## Please Complete the Following
4
+
5
+ - [ ] I read ` CONTRIBUTING.md `
6
+ - [ ] I used tabs to indent
7
+ - [ ] I have tested my change
8
+
9
+ ## Notes
10
+
11
+ Feel free to put whatever you want here.
Original file line number Diff line number Diff line change
1
+ name : " Build"
2
+
3
+ on :
4
+ workflow_dispatch :
5
+
6
+ jobs :
7
+ build :
8
+ name : Build
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Install dependencies
12
+ run : |
13
+ sudo apt-get install \
14
+ sqlite3 \
15
+ libapp-options-perl \
16
+ libyaml-libyaml-perl \
17
+ libdbd-csv-perl \
18
+ libdbd-sqlite3-perl \
19
+ libtemplate-perl
20
+
21
+ - name : Checkout
22
+ uses : actions/checkout@v2
23
+
24
+ - name : Setup Google Cloud SDK
25
+ run : |
26
+ echo ${{ secrets.GOOGLE_CLOUD_SERVICE_ACCOUNT_KEY }} > '/tmp/key.json' && \
27
+ gcloud auth activate-service-account --key-file='/tmp/key.json' || exit 9
28
+
29
+ - name : Download pricing
30
+ run : |
31
+ cd build || exit 9
32
+ curl -OL 'https://github.com/Cyclenerd/google-cloud-pricing-cost-calculator/raw/master/pricing.yml' || exit 9
33
+
34
+ - name : Run build script
35
+ run : |
36
+ cd build || exit 9
37
+ bash build.sh || exit 9
38
+
39
+ - name : Create site
40
+ run : |
41
+ cd build || exit 9
42
+ perl site.pl || exit 9
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ you need the following requirements.
16
16
17
17
### Requirements
18
18
19
- + Google Cloud SDK (` gcloud ` )
19
+ * Google Cloud SDK (` gcloud ` )
20
20
* SQLite3 (` sqlite3 ` )
21
21
* Perl 5 (` perl ` )
22
22
* Perl modules:
Original file line number Diff line number Diff line change 283
283
print FH encode_json \@instances_in_regions ;
284
284
close FH;
285
285
286
+ # CSV
287
+ copy(' ./machine-types-regions.csv' , ' ../site/machine-types-regions.csv' );
288
+
286
289
# Images
287
290
mkdir ( ' ../site/img/' );
288
291
copy( ' ./src/img/combine-filter.png' , ' ../site/img/combine-filter.png' );
You can’t perform that action at this time.
0 commit comments