Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
Reverting build files; issue opentargets/issues#984
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaFumis committed Apr 27, 2020
1 parent b496c73 commit 51cca4c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 18 deletions.
7 changes: 0 additions & 7 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -447,13 +447,6 @@ gulp.task('webserver', ['build-all'], function () {

gulp.task('build-all', ['init', 'build-3rdparty', 'build-components-min', 'build-webapp', 'build-lazy-loaded-components']);

// QA auth stuff

gulp.task('copy-basic-auth', function () {
return gulp.src('netlify_headers')
.pipe(gulp.dest('_site/_headers'));
});
gulp.task('build-qa', ['build-all', 'copy-basic-auth']);

// Lazy Loaded modules
// Interactions Viewer
Expand Down
10 changes: 2 additions & 8 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# Deploy Preview context: All Deploy Previews (ie.PRs)
# will inherit these settings.
[context.deploy-preview]
command = "yarn run setup && yarn run build-qa"
# command = "yarn run setup && yarn run build-qa"
# [[headers]]
# for = "/*"
# [headers.values]
Expand All @@ -26,7 +26,7 @@
# an active Deploy Preview will inherit these settings.
# By default
[context.branch-deploy]
command = "yarn run setup && yarn run build-qa"
# command = "yarn run setup && yarn run build-qa"
# [[headers]]
# for = "/*"
# [headers.values]
Expand Down Expand Up @@ -68,12 +68,6 @@

[context.qa.environment]
APIHOST = "https://platform-api-qc.opentargets.io/"
command = "yarn run setup && yarn run build-qa"
[[headers]]
for = "/*"
[headers.values]
# Basic-Auth header
Basic-Auth = "opentargets:opentargets"

# [context.shipit.environment]
# APIHOST = "http://prod-20180625-1203.api.opentargets.io/"
2 changes: 0 additions & 2 deletions netlify_headers

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"build-all": "./node_modules/.bin/gulp build-all",
"server": "./node_modules/.bin/gulp webserver",
"full-install": "yarn install && yarn run setup && yarn run build-all",
"build-qa": "./node_modules/.bin/gulp build-all && cp netlify_headers app/_headers",
"test": "./node_modules/.bin/gulp test",
"test-single-run": "karma start tests/unit/karma.conf.js --single-run",
"eslint": "./node_modules/.bin/eslint -f html -o eslint.html 'app/js/**.js' || exit 0"
Expand Down

0 comments on commit 51cca4c

Please sign in to comment.