1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
Commit Graph

87 Commits

Author SHA1 Message Date
olav
22cabddfd1 refactor: run backend tests in PRs 2022-08-25 12:03:20 +02:00
olav
7124d993ff refactor: run frontend build in PRs 2022-08-25 12:03:01 +02:00
olav
48234464b7 refactor: ignore frontend dir for coverage 2022-08-25 12:02:48 +02:00
olav
b295defb74 refactor: add missing frontend build 2022-08-25 11:50:36 +02:00
sjaanus
6e8d44a0a6 Fix jest report 2022-08-25 09:20:47 +00:00
sjaanus
f86f12d4f9 Test coverage run 2022-08-24 14:00:13 +00:00
sjaanus
d60141a2f2 Test coverage 2022-08-24 13:57:06 +00:00
sjaanus
9d083ea086 Test coverage workflow 2022-08-24 13:50:52 +00:00
sjaanus
0c9be121c4 Fix build PRs 2022-08-24 13:47:05 +00:00
sjaanus
eb82686a1e Fix workflows 2022-08-24 13:39:49 +00:00
sjaanus
f4f0ed00fc Fix workflows 2022-08-24 13:22:43 +00:00
Christopher Kolstad
ea8b78669e
improvement: mark github releases as prerelease (#1808)
This marks alpha and beta releases as prereleases, so github's release
tab doesn't show beta releases as our latest releases anymore
2022-07-12 15:34:10 +02:00
renovate[bot]
aa415610f7
chore(deps): update docker/build-push-action action to v3 (#1766)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-11 14:01:45 +02:00
renovate[bot]
f444a59065
chore(deps): update docker/setup-qemu-action action to v2 (#1770)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-11 14:01:26 +02:00
renovate[bot]
4c4a3b458d
chore(deps): update docker/setup-buildx-action action to v2 (#1769)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-07-11 14:01:04 +02:00
Gard Rimestad
0ffa52c9e4
feat: publish docker containers on tag builds (#1788)
This moves the production of docker releases from Unleash/unleash-docker
to this repository.
2022-07-05 15:55:17 +02:00
sellinjaanus
04fb065df4
Added missing archivedAt to featureSchema (#1779)
* Added missing archivedAt to featureSchema

* Added archivedAt to feature toggle.
Added archived_at to db

* Add test

* Add test

* Bug fix

* Bug fix

* update archivedAt to date-time

* Code refactoring done

* Conver to static and remove unused methods

* Add tests

* Fixes

* Fix

* Removed docker file from linting

* Fix segment test

* Fix failing test

* Make fixes

Co-authored-by: andreas-unleash <andreas@getunleash.ai>
Co-authored-by: andreas-unleash <104830839+andreas-unleash@users.noreply.github.com>
2022-07-01 11:51:26 +00:00
renovate[bot]
390ae8df2b
chore(deps): update docker/metadata-action action to v4 (#1768)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-29 09:36:09 +02:00
renovate[bot]
fbbd037d35
chore(deps): update docker/login-action action to v2 (#1767)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-06-29 09:24:47 +02:00
Gard Rimestad
5d5fc37dfd
Feat/docker container on main builds (#1762)
* feat: build docker containers when pushing to main

The intent here is to publish a docker container for every build of
main. This will make it easier to run the tip of main.
2022-06-28 16:13:00 +02:00
Christopher Kolstad
90b72f1162
chore: update setup-node task to activate yarn cache (#1661) 2022-06-09 14:26:35 +02:00
Ivar Conradi Østhus
5dc7d8dfac
Create codeql-analysis.yml 2022-05-23 12:22:31 +02:00
Ivar Conradi Østhus
5460245a67
fix: do not produce report.json in coverage action for now 2022-05-20 19:29:14 +02:00
Ivar Conradi Østhus
3c91acca4c
fix: coverage action 2022-05-20 16:48:13 +02:00
Ivar Conradi Østhus
51c1c790b4
fix: inline coverage action script commands 2022-05-20 16:41:43 +02:00
Ivar Conradi Østhus
477779069d
fix: switch gh token for coverage action 2022-05-20 16:23:42 +02:00
Thomas Heartman
312b5d42e8
meta: add external PRs to project board
The `pull_request` hook runs in the context of the proposed changes. That means that for forks, this action won't have access to the required secrets for it to complete. As such, PRs from outside contributors won't work correctly.

The `pull_request_target` hook, however, runs in the context of the target branch, and thus has all the permissions it needs. The [github docs for this hook](https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target) also indicate that this is the way to go:

> This event allows your workflow to do things like label or comment on pull requests from forks. Avoid using this event if you need to build or run code from the pull request.

## Interesting note for PRs

It seems that when this change is proposed as a PR, the expected action (_add new item to project board_) does not run. However, this does not affect other new PRs. Also, after merging it works as expected, for both external and internal contributors.
2022-05-20 15:21:54 +02:00
Ivar Conradi Østhus
4eaec6e1d3
fix: add gh creds to coverage action 2022-05-20 12:25:17 +02:00
Ivar Conradi Østhus
f681f83706
fix: coverage action 2022-05-20 12:19:08 +02:00
Ivar Conradi Østhus
b25435052b
fix: coverage build for main should be a seperate workflow 2022-05-20 12:09:16 +02:00
Ivar Conradi Østhus
b16e842849
fix: auto-push coverage 2022-05-20 12:00:30 +02:00
Ivar Conradi Østhus
3d6cfb6582
fix: do not ignore coverage/report.json 2022-05-20 11:44:53 +02:00
Ivar Conradi Østhus
7ddb9f70eb
fix: more debugigng to jest coverage action (POC) 2022-05-20 11:38:54 +02:00
Ivar Conradi Østhus
4869ee8266
fix: more debug 2022-05-20 11:37:43 +02:00
Ivar Conradi Østhus
efb69e6474
fix: add debug step 2022-05-20 11:30:20 +02:00
Ivar Conradi Østhus
34c4f5bd84
fix: only specify base-cov-file for jest action (poc) 2022-05-20 11:20:09 +02:00
Ivar Conradi Østhus
d6f0d83a97
fix: specify coverage files to use for jest pr action (poc) 2022-05-20 11:16:44 +02:00
Thomas Heartman
119d958e7c fix: add version information for reusable workflow
without this, the workflow won't run
2022-05-11 11:38:39 +02:00
Thomas Heartman
c260f90094
chore: Add workflow file to auto-add items to project board (#1588)
This change adds a workflow file that references the reusable workflow
in the unleash/.github repo. It should (if all goes well),
automatically add new issues and prs to the project board.
2022-05-11 11:10:16 +02:00
Ivar Conradi Østhus
25b3d57c3e
fix: pr-build use pull_request_target event 2022-04-28 19:38:19 +02:00
Ivar Conradi Østhus
dc06c2c90d
fix: create separate build for forked PRs 2022-04-25 13:12:50 +02:00
sighphyre
01da74014a fix: trim out test trigger for svg gen 2022-04-22 10:40:23 +02:00
sighphyre
b72ca55f65 feat: use svg generator fork to create contributors and extend limit to 500 2022-04-22 10:36:29 +02:00
sighphyre
aa1f97889c
Update .github/workflows/update_contributors.yaml
Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-04-21 14:11:48 +02:00
sighphyre
7c5107e680 feat: add contributors image generation workflow 2022-04-21 13:50:08 +02:00
Ivar Conradi Østhus
2f638334b1
fix: release script syntax 2022-04-20 23:45:02 +02:00
Ivar Conradi Østhus
636f03257f
fix: update npm publish script to select correct dist-tag 2022-04-20 23:38:55 +02:00
sighphyre
9101884c5e feat: add no response action config 2022-04-20 08:30:13 +02:00
renovate[bot]
86f03ed3a3
chore(deps): update actions/setup-node action to v3 (#1396)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-06 21:43:29 +02:00
renovate[bot]
19db5bb857
chore(deps): update actions/checkout action to v3 (#1407)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2022-04-06 21:43:00 +02:00