Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.

Commit

Permalink
Merge pull request #341 from GSA/ss_update-manifest-file
Browse files Browse the repository at this point in the history
updated default manifest files to include HSTS
  • Loading branch information
Sean authored Jul 14, 2020
2 parents c8ea17f + 2c462cb commit 25796a7
Show file tree
Hide file tree
Showing 6 changed files with 427,435 additions and 136 deletions.
2 changes: 0 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ jobs:
working_directory: ~/code-gov-api
docker:
- image: circleci/node:10.17.0
- image: docker.elastic.co/elasticsearch/elasticsearch:5.6.12
environment:
NODE_ENV: "testing"
USE_HSTS: false
Expand Down Expand Up @@ -120,7 +119,6 @@ jobs:
docker:
- image: circleci/node:10.17.0
environment:
USE_HSTS: false
USE_HSTS: false
HSTS_PRELOAD: false
HSTS_SUBDOMAINS: false
Expand Down
10 changes: 8 additions & 2 deletions manifest-staging.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
applications:
- name: code-api
- name: code-api-v2.6.5
memory: 100M
instances: 1
disk_quota: 512M
Expand All @@ -14,10 +14,16 @@ applications:
NODE_ENV: staging
NEW_RELIC_APP_NAME: code-api-staging
LOGGER_LEVEL: info
USE_HSTS: true
HSTS_MAX_AGE: 31536000
HSTS_PRELOAD: true
HSTS_SUBDOMAINS: true
GET_REMOTE_METADATA: true
GITHUB_API_KEY: not_a_token
NEW_RELIC_LICENSE_KEY: not_a_token
REMOTE_METADATA_LOCATION: https://raw.githubusercontent.com/GSA/code-gov-data/master/agency_metadata.json
ELASTICSEARCH_SERVICE_NAME: code_gov_elasticsearch
services:
- code_gov_elasticsearch
stack: cflinuxfs3
command: npm start
command: npm start
12 changes: 9 additions & 3 deletions manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
applications:
- name: code-api
- name: code-api-v2.6.5
memory: 512M
instances: 2
instances: 1
disk_quota: 512M
health-check-type: process
routes:
Expand All @@ -15,9 +15,15 @@ applications:
NEW_RELIC_APP_NAME: code-api-prod
LOGGER_LEVEL: info
GET_REMOTE_METADATA: true
USE_HSTS: true
HSTS_MAX_AGE: 31536000
HSTS_PRELOAD: true
HSTS_SUBDOMAINS: true
GITHUB_API_KEY: not_a_token
NEW_RELIC_LICENSE_KEY: not_a_token
REMOTE_METADATA_LOCATION: https://raw.githubusercontent.com/GSA/code-gov-data/master/agency_metadata.json
ELASTICSEARCH_SERVICE_NAME: code_gov_elasticsearch
services:
- code_gov_elasticsearch
stack: cflinuxfs3
command: npm start
command: npm start
Loading

0 comments on commit 25796a7

Please sign in to comment.