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

2
config/database.yml

@ -31,7 +31,7 @@ development:
database: data_collector_development database: data_collector_development
host: localhost host: localhost
sandbox: staging:
<<: *default <<: *default
# The specified database role being used to connect to postgres. # 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') const environment = require('./environment')

2
config/webpacker.yml

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

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

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

4
manifest.yml

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

Loading…
Cancel
Save