mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Replace TravisCI with GitLab CI (#16)
* Add gitlab-ci configuration * Attempt to fix cypress binary installation cache * Even more improve caching, add wait-on step to ensure, that web server is ready to run cypress * Exclude cache directory from linting * Do not cache yarn's global cache to reduce the size of the cache to upload * Disable Sentry for e2e tests, enable parallelization for cypress * Store build artifacts * Add dev deployment stage * Try to fix commits association * Fix sentry-cli param name * Disable host checking for rsync * Disable host checking via ssh config * Add production deployment step * Fix deployment Sentry notifying, allow performing auto deployment with special commit message * Make autodeploy [deploy] * Cleanup test branch refs * Remove environment definition. Detect it based on the domain name * Store cache for E2E tests separately
This commit is contained in:
@@ -11,7 +11,10 @@ class Logger {
|
||||
Raven.config(sentryDSN, {
|
||||
logger: 'accounts-js-app',
|
||||
level: 'info',
|
||||
environment: process.env.APP_ENV,
|
||||
environment:
|
||||
window.location.host === 'account.ely.by'
|
||||
? 'Production'
|
||||
: 'Development',
|
||||
release: process.env.__VERSION__,
|
||||
shouldSendCallback: () => !isTest,
|
||||
dataCallback: data => {
|
||||
|
Reference in New Issue
Block a user