1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-10-18 20:09:08 +02:00
Commit Graph

31 Commits

Author SHA1 Message Date
renovate[bot]
769e8693b3
chore(deps): update metcalfc/changelog-generator action to v3 (#1121)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-11-25 20:08:33 +01:00
Christopher Kolstad
6c6001619c
Feat/variant api (#1119)
Add a new .../:feature/variants API

This adds
- `GET /api/admin/projects/:projectId/features/:featureName/variants` which returns 
```json
{ version: '1', variants: IVariant[] }
```
- `PATCH /api/admin/projects/:projectId/features/:featureName/variants` which accepts a json patch set and updates the feature's variants field and then returns 
```json
{ version: '1', variants: IVariant[] }
```
- `PUT /api/admin/projects/:projectId/features/:featureName/variants`
 which accepts a IVariant[] and overwrites the current variants list for the feature defined in :featureName and returns
```json
{ version: '1', variants: IVariant[] }

- This also makes sure the total weight of all variants is == 1000
- Validates that there is at least 1 'variable' variant if there are variants
- Validates that 'fix' variants total weight can't exceed 1000
- Adds tests for all these invariants.


Co-authored-by: Simon Hornby <simon@getunleash.ai>
2021-11-24 13:08:04 +01:00
Christopher Kolstad
1848d8d4eb
task: add a workflow that validates docs for PRs (#1123) 2021-11-23 15:19:59 +01:00
renovate[bot]
dc1df85dce
chore(deps): update metcalfc/changelog-generator action to v2 (#1062)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-10-26 20:14:02 +02:00
Ivar Conradi Østhus
ffec4f6342 fix: rename websitev2 to website 2021-10-26 11:25:19 +02:00
Renovate Bot
985f5cd007 chore(deps): update metcalfc/changelog-generator action to v1.0.1 2021-10-12 11:36:18 +00:00
Ivar Conradi Østhus
14e09fe6aa
fix: modify actions for PRs 2021-10-06 22:16:58 +02:00
Ivar Conradi Østhus
e76345e243
fix: custom test-script for yart coverage reporter action 2021-10-06 13:09:09 +02:00
Ivar Conradi Østhus
fdffb03fb3
fix: adjust test-script for jest-coverage action 2021-10-06 12:41:50 +02:00
Aneesh Relan
7b034b631c
chore: add jest coverage action for pr builds (#997)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2021-10-06 12:31:28 +02:00
renovate[bot]
a85aba86ba
chore(deps): update metcalfc/changelog-generator action to v1 (#982)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-28 12:09:46 +02:00
renovate[bot]
178c5aeaaa
chore(deps): update actions/setup-node action to v2 (#977)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-09-27 19:21:13 +02:00
Ivar Conradi Østhus
c9a2b3d549
fix: set DEPLOYMENT_BRANCH for docusaurus 2021-09-02 14:36:18 +02:00
Ivar Conradi Østhus
c5b8b2f920
fix: add node v16 as build target
fixes: #871
2021-08-11 12:58:10 +02:00
Christopher Kolstad
a709af1d67
fix: don't build all of unleash just for doc updates 2021-06-04 15:33:47 +02:00
Christopher Kolstad
296804c147
fix: only generate docs if websitev2 subfolders are changed 2021-06-04 11:19:22 +02:00
Christopher Kolstad
406f0554cf
Docusaurusv2 (#864)
feat: Upgraded to Docusaurus v2

closes: #771
2021-06-04 11:17:15 +02:00
Ivar Conradi Østhus
0eb132c025
feat: unleash v4 will require node 14 or higher (#784) 2021-04-13 09:22:37 +02:00
Christopher Kolstad
dde1974aa0 chore: Don't build prs from main build file 2021-03-04 18:48:08 +01:00
Christopher Kolstad
a67b50296b chore: setup separate workflow for PRs 2021-03-04 14:27:43 +01:00
Christopher Kolstad
3bd3448edb
chore: Make github workflow trigger on all pushes 2021-02-17 15:36:07 +01:00
Ivar Conradi Østhus
2bb38fe3e8 fix: Addons should support sensitive params 2021-02-05 15:20:00 +01:00
Christopher Kolstad
41c7f94132
Chore: add action for performing github release 2021-01-26 11:53:02 +01:00
Christopher Kolstad
9c170f269c
Add pull_request and remove pull_request_target 2021-01-07 14:42:31 +01:00
Ivar Conradi Østhus
f22233c3d7 fix: make github action use correct ref for pull-requests 2021-01-06 19:40:01 +01:00
Ivar Conradi Østhus
0c6eb9dd92 fix: run on all pull_requests regardless of branch 2021-01-06 18:06:56 +01:00
Ivar Conradi Østhus
82b0a579e3 fix: avoid github actions running twice on PRs 2020-12-21 15:58:07 +01:00
Ivar Conradi Østhus
9f7beb84c9 fix: run build also for external PRs 2020-12-11 14:50:38 +01:00
Ivar Conradi Østhus
e3bfe2c6d0 fix: remove unused github action 2020-12-03 21:23:51 +01:00
gazconroy
c7c2f17bd0
feat: First draft of admin Open API specification (OAS) (#652)
Co-authored-by: Ivar Conradi Østhus <ivarconr@gmail.com>
2020-12-03 21:09:16 +01:00
Ivar Conradi Østhus
9e48b5a2f4 fix: Replace travis with GitHub Actions
closes #656
2020-11-24 12:46:55 +01:00