Browse Source

Rename sandbox to staging

pull/226/head
baarkerlounger 4 years ago
parent
commit
d1d4ff4a58
  1. 4
      .github/workflows/pipeline.yml
  2. 2
      config/database.yml
  3. 0
      config/environments/staging.rb
  4. 2
      config/webpack/staging.js
  5. 2
      config/webpacker.yml
  6. 2
      docs/api/DLUHC-CORE-Data.v1.json
  7. 4
      manifest.yml

4
.github/workflows/pipeline.yml

@ -7,7 +7,7 @@ on:
pull_request:
workflow_dispatch:
concurrency: 'sandbox'
concurrency: 'staging'
defaults:
run:
@ -95,7 +95,7 @@ jobs:
name: Deploy
runs-on: ubuntu-latest
environment: 'sandbox'
environment: 'staging'
if: github.ref == 'refs/heads/main'
needs: [lint, test]

2
config/database.yml

@ -31,7 +31,7 @@ development:
database: data_collector_development
host: localhost
sandbox:
staging:
<<: *default
# The specified database role being used to connect to postgres.

0
config/environments/sandbox.rb → config/environments/staging.rb

2
config/webpack/sandbox.js → config/webpack/staging.js

@ -1,4 +1,4 @@
process.env.NODE_ENV = process.env.NODE_ENV || 'sandbox'
process.env.NODE_ENV = process.env.NODE_ENV || 'staging'
const environment = require('./environment')

2
config/webpacker.yml

@ -95,7 +95,7 @@ test:
public_output_path: packs-test
sandbox:
staging:
<<: *default
production:

2
docs/api/DLUHC-CORE-Data.v1.json

@ -8,7 +8,7 @@
"servers": [
{
"url": "https://dluhc-core.london.cloudapps.digital",
"description": "Sandbox"
"description": "Staging"
}
],
"paths": {

4
manifest.yml

@ -4,11 +4,11 @@ applications:
buildpacks:
- https://github.com/cloudfoundry/ruby-buildpack.git
env:
RAILS_ENV: sandbox
RAILS_ENV: staging
processes:
- type: web
command: rake db:migrate && bin/rails server
instances: 2
memory: 512M
services:
- dluhc-core-sandbox-postgres
- dluhc-core-staging-postgres

Loading…
Cancel
Save