Skip to content

Disable Service worker #4421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
May 26, 2020
37 changes: 36 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,35 @@ jobs:
source awsenvconf
source buildenvvar
./master_deploy.sh -d ECS -e DEV -t latest -s test_communityapp_taskvar -i communityapp


# Build & Deploy against testing backend
"build-qa":
<<: *defaults
steps:
# Initialization.
- checkout
- setup_remote_docker
- run: *install_dependency
- run: *install_deploysuite
# Restoration of node_modules from cache.
- restore_cache: *restore_cache_settings_for_build
- run:
name: "configuring environment"
command: |
./awsconfiguration.sh DEV
./buildenv.sh -e DEV -b qa_communityapp_buildvar,qa_communityapp_deployvar
# Build of Docker image.
- run: *build_docker_image
# Caching node modules.
- save_cache: *save_cache_settings
# Deployment.
- deploy:
name: Running MasterScript
command: |
source awsenvconf
source buildenvvar
./master_deploy.sh -d ECS -e DEV -t latest -s qa_communityapp_taskvar -i communityapp

# Build & Deploy against prod api backend
"build-prod-beta":
<<: *defaults
Expand Down Expand Up @@ -211,6 +239,13 @@ workflows:
only:
- develop
- feature-contentful
# This is alternate dev env for parallel testing
- "build-qa":
context : org-global
filters:
branches:
only:
- develop-on-qa-env
# This is beta env for production soft releases
- "build-prod-beta":
context : org-global
Expand Down
2 changes: 1 addition & 1 deletion config/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module.exports = {
/**
* Disable PWA service worker.
*/
DISABLE_SERVICE_WORKER: false,
DISABLE_SERVICE_WORKER: true,

/* API token for logentries.com. The token below is just for local testing of
* the setup. To override it use LOG_ENTRIES_TOKEN environment variable. */
Expand Down
119 changes: 0 additions & 119 deletions deploy.sh

This file was deleted.