Remove Travis and GAE configs
This commit is contained in:
parent
7b9492a264
commit
33d99d4e00
25
.travis.yml
25
.travis.yml
|
@ -1,25 +0,0 @@
|
|||
language: node_js
|
||||
cache: yarn
|
||||
before_install:
|
||||
- openssl aes-256-cbc -K $encrypted_f0cc5a0bf9b1_key -iv $encrypted_f0cc5a0bf9b1_iv
|
||||
-in secrets.tar.enc -out secrets.tar -d
|
||||
- tar xvf secrets.tar
|
||||
script:
|
||||
- yarn lint
|
||||
- yarn test
|
||||
- NODE_ENV=$([ "$TRAVIS_BRANCH" == "master" ] && echo "production" || echo "staging") BUILD_ID=${TRAVIS_COMMIT:0:8} yarn build
|
||||
deploy:
|
||||
- provider: gae
|
||||
skip_cleanup: true
|
||||
keyfile: service-account-staging.json
|
||||
project: unpkg-staging
|
||||
config: app-staging.yaml
|
||||
on:
|
||||
branch: staging
|
||||
- provider: gae
|
||||
skip_cleanup: true
|
||||
keyfile: service-account.json
|
||||
project: unpkg-gcp
|
||||
config: app.yaml
|
||||
on:
|
||||
branch: master
|
|
@ -1,9 +0,0 @@
|
|||
runtime: nodejs12
|
||||
env: standard
|
||||
instance_class: B4
|
||||
basic_scaling:
|
||||
max_instances: 1
|
||||
idle_timeout: 5m
|
||||
env_variables:
|
||||
NODE_ENV: 'staging'
|
||||
DEBUG: 1
|
10
app.yaml
10
app.yaml
|
@ -1,10 +0,0 @@
|
|||
runtime: nodejs12
|
||||
env: standard
|
||||
instance_class: F4
|
||||
automatic_scaling:
|
||||
max_idle_instances: 1
|
||||
max_concurrent_requests: 40
|
||||
target_cpu_utilization: 0.8
|
||||
max_instances: 16
|
||||
env_variables:
|
||||
NODE_ENV: 'production'
|
BIN
secrets.tar.enc
BIN
secrets.tar.enc
Binary file not shown.
Loading…
Reference in New Issue