Commit Graph

71 Commits

Author SHA1 Message Date
Patrik Oldsberg b652ebc4e7 config-loader: add visibility filtering tests + fix filtering logic 2020-11-18 11:31:09 +01:00
Patrik Oldsberg 8c65cec932 config-loader: split up config schema implementation and move into separate lib 2020-11-18 11:31:09 +01:00
Patrik Oldsberg 4795278039 config-loader: add config filtering by visibility 2020-11-18 11:31:08 +01:00
Patrik Oldsberg 6fec95079a config-loader: initial incomplete config schema implementation 2020-11-18 11:31:08 +01:00
github-actions[bot] 715bb76fb5 Version Packages 2020-11-03 20:50:42 +00:00
Patrik Oldsberg 8360d9f7e2 Merge pull request #3140 from backstage/rugvip/release
Release v0.1.1
2020-11-03 13:28:03 +01:00
Patrik Oldsberg af141c0766 rewrite repo location urls 2020-11-03 11:03:49 +01:00
Patrik Oldsberg 833a652d05 v0.1.1 2020-10-28 10:22:09 +01:00
Patrik Oldsberg 754109ee61 v0.1.1-alpha.26 2020-10-27 12:00:01 +01:00
Patrik Oldsberg 8c2b76e45f config-loader: switch to using --config options to load in config 2020-10-22 10:52:06 +02:00
Fredrik Adelöw c91054ac17 chore(deps): bump yup 2020-10-16 13:29:45 +02:00
blam 46960a61ec v0.1.1-alpha.25 2020-10-12 22:42:54 +02:00
Patrik Oldsberg 8afce088ac Use APP_ENV to determine what config to load, falling back to NODE_ENV 2020-10-10 17:41:03 +02:00
Patrik Oldsberg 46b71700ee v0.1.1-alpha.24 2020-10-05 15:45:33 +02:00
Patrik Oldsberg eaf169c07a config-loader: reject configs with keys adjacent to secret keys 2020-10-04 19:08:42 +02:00
Patrik Oldsberg a30cd576b1 config-loader: add support for new short-form secret syntax 2020-10-04 14:44:22 +02:00
blam 6c55d38348 v0.1.1-alpha.23 2020-09-23 16:40:49 +02:00
Raghunandan 72235dd51e v0.1.1-alpha.22 2020-09-18 15:14:38 +02:00
Patrik Oldsberg 905a924c18 cli-loader: use mock-fs for tests 2020-09-06 14:38:22 +02:00
Patrik Oldsberg 265be1d6a1 config: try to coerce string values into numbers 2020-09-03 16:35:16 +02:00
Taras Mankovski 7219d18853 Add failing test for port coercion 2020-09-03 07:55:32 -04:00
Emma Indal 3b545791ce new release 31 aug 20 2020-09-01 14:10:22 +02:00
Patrik Oldsberg c13de0b115 config-loader: rename readEnv to readEnvConfig and export from package 2020-08-27 07:22:14 +02:00
Raghunandan 734dcca107 Release v0.1.1-alpha.20 2020-08-26 11:33:14 +02:00
Raghunandan 15e334a584 Release v0.1.1-alpha.19 2020-08-21 11:40:04 +02:00
Patrik Oldsberg 6a53ccb1bb Merge pull request #1870 from spotify/rugvip/taint-config
config-loader: taint secret paths to treat them as secret in later configs as well
2020-08-10 18:32:29 +02:00
Patrik Oldsberg 4f7464de04 Merge pull request #1860 from spotify/rugvip/config
config,config-loader: add support for suffixed config files and multiple roots
2020-08-10 11:51:07 +02:00
Patrik Oldsberg d73da347e0 config-loader: added high-level loader tests 2020-08-08 11:17:49 +02:00
Patrik Oldsberg 1a6fb8cf8f config-loader: taint secret paths to treat them as secret in later configs as well 2020-08-08 10:46:15 +02:00
Patrik Oldsberg f8c696e038 v0.1.1-alpha.18 2020-08-07 17:08:28 +02:00
Patrik Oldsberg 1f2216fd77 config: flip priority order of ConfigReader.fromConfigs 2020-08-07 16:43:33 +02:00
Patrik Oldsberg f7532bcf1c config-loader: added tests for resolver 2020-08-07 11:32:06 +02:00
Patrik Oldsberg a37aa1d994 config-loader: pass in env as an option 2020-08-07 11:32:06 +02:00
Patrik Oldsberg 74edab290a config-loader: resolve config files suffixed with local and NODE_ENV 2020-08-07 11:32:06 +02:00
Patrik Oldsberg 811328ed1f config-loader: use multiple config roots 2020-08-07 10:48:28 +02:00
Patrik Oldsberg 0dd8fa2828 v0.1.1-alpha.17 2020-08-05 19:36:36 +02:00
Patrik Oldsberg 62222b543c config-loader,backend-common: refactor config loading to pass in path and use common util for backend 2020-08-03 21:24:44 +02:00
Andrew Thauer 0bd997d981 feat: fallback to string value if config value is not json 2020-07-31 06:36:37 -04:00
Patrik Oldsberg 6a50e6c103 Merge pull request #1732 from spotify/dependabot/npm_and_yarn/types/jest-26.0.7
chore(deps-dev): bump @types/jest from 25.2.3 to 26.0.7
2020-07-27 16:23:07 +02:00
Patrik Oldsberg a852c2f141 config,config-loader: fix lagging versions 2020-07-24 11:38:45 +02:00
dependabot-preview[bot] bdc24ae35e chore(deps-dev): bump @types/jest from 25.2.3 to 26.0.7
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 25.2.3 to 26.0.7.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-24 08:49:55 +00:00
Patrik Oldsberg 6fdcc9f59a v0.1.1-alpha.13 2020-07-07 13:16:30 +02:00
dependabot-preview[bot] 61f89dd90b build(deps): bump yup from 0.28.5 to 0.29.1
Bumps [yup](https://github.com/jquense/yup) from 0.28.5 to 0.29.1.
- [Release notes](https://github.com/jquense/yup/releases)
- [Changelog](https://github.com/jquense/yup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jquense/yup/compare/v0.28.5...v0.29.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-23 21:29:26 +00:00
Patrik Oldsberg dcaee07754 v0.1.1-alpha.12 2020-06-23 22:25:25 +02:00
Patrik Oldsberg 4d94f4cbb4 packages: publish entire dist folder 2020-06-23 22:24:55 +02:00
Patrik Oldsberg 910057bc8a v0.1.1-alpha.11 2020-06-23 21:27:58 +02:00
Patrik Oldsberg 6300d4a917 v0.1.1-alpha.10 2020-06-23 16:08:05 +02:00
Fredrik Adelöw 3bff1d6a68 address comments 2020-06-18 13:28:19 +02:00
Patrik Oldsberg 5d65170597 Merge pull request #1363 from spotify/rugvip/confctx
packages/config: add context to config to display better errors messages
2020-06-18 10:36:21 +02:00
Patrik Oldsberg b010319400 packages/config-loader,core: update config usage to include context 2020-06-18 10:17:31 +02:00