forked from compdemocracy/polis
-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/convict with config volume #9
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
Open
crkrenn
wants to merge
58
commits into
g0v-network:dev
Choose a base branch
from
crkrenn:feature/convict-with-config-volume
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
25aed59
seems to be working
crkrenn 32e220e
fixed sk.js
crkrenn 7cb5741
Merge pull request #12 from compdemocracy/dev
crkrenn bc4acda
Merge branch 'compdemocracy:dev' into dev
crkrenn 0485ae7
merged convict into current dev
0373dff
Merge branch 'compdemocracy:dev' into dev
crkrenn 619364b
disabled mailserver; everything else seems to be working
crkrenn d63e02c
Changed process.env to config.get in app.js
06ea1b0
Fix usage of config in app.js
71083e5
Change process.env to config.get in server.js
4308da5
Fix server.js
f69b0ee
Change process.env to config.get where possible
edfcdf2
Migrate from polis.config.template.js to yaml
df7b2a0
Remove handling of polis.config.js in dockerfile
7401a36
Fix in build process
b0b0bd3
Fix import of config in gulpfiles
5639cf6
Added separate yaml config file to client-*
a477ba1
Fix in config file path in gulpfile
0038801
Added node-convict to package.json
1cbdb96
Added convict to package-lock.json
cb457c9
Added js-yaml to package.json
ebb4a40
Bug fixes in yaml config
e590c29
Fixes in yaml config files
c1c9f0c
Updated dependencies for client-admin
2f30f97
Fix in yaml config for client-amdin
a96fac8
Updated dependencies for client-report
7b8cd57
Fix in package-lock.json for client-report
eddbeb2
Updated dependencies for client-report
40961ed
Add config volume to client-*
019cb6b
Dependency for client-* updated to config
c9e551c
Fix for using the env variable in gulpfile.js
967df84
Fix issue with mounting config volume to client-*
a45eceb
Merge remote-tracking branch 'origin/dev' into feature/crkrenn/convic…
985f975
Merge branch 'crkrenn:dev' into dev
tamas-soos-toptal 46bf4d9
Merge remote-tracking branch 'origin/dev' into feature/crkrenn/convic…
b62a30d
Resolved issue with build failure
3b05ed6
Merge pull request #18 from tamas-soos-toptal/feature/crkrenn/convict…
crkrenn 5c170a9
remove readme-convict.md
crkrenn 8899125
removed reference to polis.config.template.js
crkrenn 46e976a
Update bundlewatch.yml
crkrenn 7d3059d
reenabled maildev container
c32f201
Merge branch 'feature/convict-with-config-volume' of github.com:crkre…
f249ce9
Update README.md
crkrenn b3db99e
Use the image:tag format directly in the COPY
5e28de8
added manual dispatch
crkrenn 7e6122f
added more workflow_dispatch options
crkrenn bbb33fe
added build:webpack to client-participation/package.json
crkrenn f872bd3
added npm run clean
crkrenn ab5c2e3
reverted back to develop build for client-participation
crkrenn 3ae9c5e
reverted back to webpack bundlewatch build for client-participation
crkrenn ac32467
updating client-participation webpack
crkrenn 6351125
merged features from client-admin webpack
6f8293d
added compression and lodash module plugins
8ea1524
Updated .bundlewatch.config.js
dbe34e3
Changed package-lock.json
4042392
removed headless cypress option
88fcb65
added python notebook and script to analyze env variables
72449e7
changed schema port to undefined. other small changes
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| name: "Bundlewatch Github Action" | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. revert before merge upstream? |
||
| push: | ||
| # Required so that baseline for comparison is pushed to bundlewatch service. | ||
| branches: ["dev"] | ||
|
|
@@ -53,10 +54,15 @@ jobs: | |
| working-directory: client-participation | ||
| run: | | ||
| npm install | ||
| cp polis.config.template.js polis.config.js | ||
| npm run deploy:prod | ||
| # So directory stays consistent between builds for comparison. | ||
| mv dist/cached/* dist/cached/xxxxxxxxx | ||
| npm run build:webpack | ||
|
|
||
| # - name: "Install & Build: client-participation" | ||
| # working-directory: client-participation | ||
| # run: | | ||
| # npm install | ||
| # npm run deploy:prod | ||
| # # So directory stays consistent between builds for comparison. | ||
| # mv dist/cached/* dist/cached/xxxxxxxxx | ||
|
|
||
| - name: Install Bundlewatch | ||
| run: npm install -g [email protected] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,7 @@ | |
| name: E2E Tests | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - dev | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| name: DepCheck | ||
| on: | ||
| workflow_dispatch: | ||
| pull_request: | ||
| types: ["opened", "reopened", "synchronize"] | ||
| paths: | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - dev | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| name: Lint | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| pull_request: | ||
| types: ["opened", "reopened", "synchronize"] | ||
|
|
||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,7 @@ | |
| name: Docker image builds | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
| push: | ||
| branches: | ||
| - main | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to revert