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

128 Commits

Author SHA1 Message Date
Tymoteusz Czech
340bcf1d1b
fix: add frontend eslint check (#2562)
Add eslint to CI pipeline
2023-01-02 10:46:32 +01:00
Ivar Conradi Østhus
8e5ca352c3
fix: allow publish-new-version action to run from branch (#2698)
We cannot hard code the branch to be "main" if we want to allow the
release script to also run from branch (e.g. 4.18 maintenance branch)
2022-12-15 09:25:44 +01:00
Mateusz Kwasniewski
1e8801b652
remove postgres because we dont run tests anymore (#2649) 2022-12-09 11:52:48 +01:00
Mateusz Kwasniewski
b62b955f4d
do not test again when creting version from github actions (#2639) 2022-12-09 09:30:16 +01:00
Mateusz Kwasniewski
a15157465c
Update publish-new-version.yaml 2022-12-06 09:46:41 +01:00
Mateusz Kwasniewski
9e1fa06832
Update publish-new-version.yaml 2022-12-06 08:29:34 +01:00
Mateusz Kwasniewski
925b89b899
Update publish-new-version.yaml 2022-12-05 17:10:14 +01:00
Mateusz Kwasniewski
8bf7d31fed
Update publish-new-version.yaml 2022-12-05 16:32:10 +01:00
Mateusz Kwasniewski
e378f904bd
Update publish-new-version.yaml 2022-12-05 16:16:18 +01:00
Mateusz Kwasniewski
6f38f408b6
Update publish-new-version.yaml 2022-12-05 16:04:49 +01:00
Mateusz Kwasniewski
0dc6dfc5aa
Update publish-new-version.yaml 2022-12-05 16:01:40 +01:00
Mateusz Kwasniewski
8243c9d181
Update publish-new-version.yaml 2022-12-05 15:59:13 +01:00
Mateusz Kwasniewski
c1027d0359
Update publish-new-version.yaml 2022-12-05 15:51:20 +01:00
Mateusz Kwasniewski
8895004e03
Update publish-new-version.yaml 2022-12-05 15:49:22 +01:00
Mateusz Kwasniewski
31dbf098a2
github action to publish new npm version (#2599) 2022-12-05 15:46:02 +01:00
NicolaeUnleash
21d67abd6c
readme: Update online demo image (#2528)
adds a slightly modified version of the online demo image from the readme.
2022-11-24 13:35:23 +00:00
Gard Rimestad
a425bcb3b8
feat: upload main branch builds to cdn (#2415)
This enables us to run tip of main builds of enterprise pointing to the
newest frontend builds.
2022-11-14 11:01:07 +01:00
renovate[bot]
0daf3e53d1
chore(deps): update lycheeverse/lychee-action action to v1.5.4 (#2367)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[lycheeverse/lychee-action](https://togithub.com/lycheeverse/lychee-action)
| action | patch | `v1.5.1` -> `v1.5.4` |

---

### Release Notes

<details>
<summary>lycheeverse/lychee-action</summary>

###
[`v1.5.4`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.5.4):
Version 1.5.4

[Compare
Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.5.3...v1.5.4)

#### What's Changed

- Cleanup old lychee bin after install by
[@&#8203;mre](https://togithub.com/mre) in
[https://github.com/lycheeverse/lychee-action/pull/172](https://togithub.com/lycheeverse/lychee-action/pull/172)

**Full Changelog**:
https://github.com/lycheeverse/lychee-action/compare/v1...v1.5.4

###
[`v1.5.3`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.5.3):
Version 1.5.3

[Compare
Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.5.2...v1.5.3)

#### What's Changed

- Bump lychee version to fix issues with email checking by
[@&#8203;mre](https://togithub.com/mre) in
[https://github.com/lycheeverse/lychee-action/pull/171](https://togithub.com/lycheeverse/lychee-action/pull/171)

**Full Changelog**:
https://github.com/lycheeverse/lychee-action/compare/v1...v1.5.3

###
[`v1.5.2`](https://togithub.com/lycheeverse/lychee-action/releases/tag/v1.5.2):
Version 1.5.2

[Compare
Source](https://togithub.com/lycheeverse/lychee-action/compare/v1.5.1...v1.5.2)

#### What's Changed

- Replace deprecated `::set-output` by `$GITHUB_ENV` by
[@&#8203;Yury-Fridlyand](https://togithub.com/Yury-Fridlyand) in
[https://github.com/lycheeverse/lychee-action/pull/167](https://togithub.com/lycheeverse/lychee-action/pull/167)
- fix: install lychee to a user owner directory by
[@&#8203;aslafy-z](https://togithub.com/aslafy-z) in
[https://github.com/lycheeverse/lychee-action/pull/162](https://togithub.com/lycheeverse/lychee-action/pull/162)
- docs: bump version in README by
[@&#8203;tooomm](https://togithub.com/tooomm) in
[https://github.com/lycheeverse/lychee-action/pull/156](https://togithub.com/lycheeverse/lychee-action/pull/156)
- docs: small adjustments to README by
[@&#8203;tooomm](https://togithub.com/tooomm) in
[https://github.com/lycheeverse/lychee-action/pull/157](https://togithub.com/lycheeverse/lychee-action/pull/157)
- Order args alphabetically by [@&#8203;mre](https://togithub.com/mre)
in
[https://github.com/lycheeverse/lychee-action/pull/159](https://togithub.com/lycheeverse/lychee-action/pull/159)
- Add debug argument by [@&#8203;mre](https://togithub.com/mre) in
[https://github.com/lycheeverse/lychee-action/pull/160](https://togithub.com/lycheeverse/lychee-action/pull/160)
- Bump actions/checkout from 3.0.2 to 3.1.0 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/lycheeverse/lychee-action/pull/165](https://togithub.com/lycheeverse/lychee-action/pull/165)

#### New Contributors

- [@&#8203;aslafy-z](https://togithub.com/aslafy-z) made their first
contribution in
[https://github.com/lycheeverse/lychee-action/pull/162](https://togithub.com/lycheeverse/lychee-action/pull/162)
- [@&#8203;Yury-Fridlyand](https://togithub.com/Yury-Fridlyand) made
their first contribution in
[https://github.com/lycheeverse/lychee-action/pull/167](https://togithub.com/lycheeverse/lychee-action/pull/167)

**Full Changelog**:
https://github.com/lycheeverse/lychee-action/compare/v1...v1.5.2

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC4xOS4wIiwidXBkYXRlZEluVmVyIjoiMzQuMTkuMCJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 23:59:14 +01:00
renovate[bot]
2fb548f4ca
chore(deps): update metcalfc/changelog-generator action to v4 (#2294)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[metcalfc/changelog-generator](https://togithub.com/metcalfc/changelog-generator)
| action | major | `v3.0.0` -> `v4.0.1` |

---

### Release Notes

<details>
<summary>metcalfc/changelog-generator</summary>

###
[`v4.0.1`](https://togithub.com/metcalfc/changelog-generator/releases/tag/v4.0.1)

[Compare
Source](https://togithub.com/metcalfc/changelog-generator/compare/v4.0.0...v4.0.1)

-
[31b6d6f](31b6d6f9e6)
- Cleaning up some minor dep bumps.
-
[7f6db29](7f6db2945d)
- Merge pull request
[#&#8203;162](https://togithub.com/metcalfc/changelog-generator/issues/162)
from metcalfc/dependabot/npm_and_yarn/eslint-8.26.0
-
[c2c3288](c2c3288f0d)
- Merge pull request
[#&#8203;163](https://togithub.com/metcalfc/changelog-generator/issues/163)
from metcalfc/dependabot/npm_and_yarn/replace-1.2.2
-
[317f12d](317f12dbf2)
- Bump replace from 1.2.1 to 1.2.2
-
[d2c4bfc](d2c4bfcc29)
- Bump eslint from 8.24.0 to 8.26.0

###
[`v4.0.0`](https://togithub.com/metcalfc/changelog-generator/releases/tag/v4.0.0)

[Compare
Source](https://togithub.com/metcalfc/changelog-generator/compare/v3.0.0...v4.0.0)

-
[62b45ff](62b45fffb5)
- Upgrading to Node 16.
-
[78be9a2](78be9a21df)
- Switching to GITHUB_OUTPUT.
-
[b1a95e5](b1a95e5285)
- Switching to node 16.
-
[3327c21](3327c21f3e)
- Merge pull request
[#&#8203;157](https://togithub.com/metcalfc/changelog-generator/issues/157)
from metcalfc/dependabot/npm_and_yarn/eslint-8.24.0
-
[47b26c3](47b26c3621)
- Merge pull request
[#&#8203;159](https://togithub.com/metcalfc/changelog-generator/issues/159)
from metcalfc/dependabot/npm_and_yarn/actions/core-1.10.0
-
[9f319d4](9f319d47c2)
- Merge pull request
[#&#8203;160](https://togithub.com/metcalfc/changelog-generator/issues/160)
from metcalfc/dependabot/npm_and_yarn/actions/github-5.1.1
-
[07e86fc](07e86fc792)
- Bump [@&#8203;actions/github](https://togithub.com/actions/github)
from 5.0.3 to 5.1.1
-
[3b3ffa3](3b3ffa30c6)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.9.1 to 1.10.0
-
[4d25998](4d259988b2)
- Bump eslint from 8.23.1 to 8.24.0
-
[b14e7b5](b14e7b5b1f)
- Merge pull request
[#&#8203;153](https://togithub.com/metcalfc/changelog-generator/issues/153)
from metcalfc/dependabot/npm_and_yarn/eslint-8.23.1
-
[f9abb7d](f9abb7dc32)
- Merge pull request
[#&#8203;154](https://togithub.com/metcalfc/changelog-generator/issues/154)
from metcalfc/dependabot/github_actions/actions/stale-6
-
[6188b7b](6188b7bffc)
- Bump actions/stale from 5 to 6
-
[14b9af3](14b9af3836)
- Bump eslint from 8.23.0 to 8.23.1
-
[4d3002b](4d3002ba1b)
- Merge pull request
[#&#8203;151](https://togithub.com/metcalfc/changelog-generator/issues/151)
from metcalfc/dependabot/npm_and_yarn/eslint-8.23.0
-
[76e3028](76e302839c)
- Bump eslint from 8.21.0 to 8.23.0
-
[50f6989](50f6989629)
- Merge pull request
[#&#8203;149](https://togithub.com/metcalfc/changelog-generator/issues/149)
from metcalfc/dependabot/npm_and_yarn/actions/core-1.9.1
-
[f06c31f](f06c31fb2e)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.8.2 to 1.9.1
-
[5e0835b](5e0835b79e)
- Merge pull request
[#&#8203;139](https://togithub.com/metcalfc/changelog-generator/issues/139)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.34.0
-
[cd521f3](cd521f3fbf)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.33.4
to 0.34.0
-
[2656a3f](2656a3ff66)
- Merge pull request
[#&#8203;143](https://togithub.com/metcalfc/changelog-generator/issues/143)
from metcalfc/dependabot/npm_and_yarn/prettier-2.7.1
-
[f7f7861](f7f7861fbc)
- Bump prettier from 2.6.2 to 2.7.1
-
[b8b5290](b8b5290107)
- Merge pull request
[#&#8203;148](https://togithub.com/metcalfc/changelog-generator/issues/148)
from metcalfc/dependabot/npm_and_yarn/eslint-8.21.0
-
[a9c1b1d](a9c1b1d2f9)
- Bump eslint from 8.16.0 to 8.21.0
-
[199cd09](199cd0966a)
- Merge pull request
[#&#8203;137](https://togithub.com/metcalfc/changelog-generator/issues/137)
from metcalfc/dependabot/npm_and_yarn/actions/github-5.0.3
-
[daf6659](daf6659a8e)
- Merge pull request
[#&#8203;136](https://togithub.com/metcalfc/changelog-generator/issues/136)
from metcalfc/dependabot/npm_and_yarn/actions/core-1.8.2
-
[1f3885f](1f3885f211)
- Merge pull request
[#&#8203;138](https://togithub.com/metcalfc/changelog-generator/issues/138)
from metcalfc/dependabot/npm_and_yarn/eslint-8.16.0
-
[4b50f73](4b50f737c5)
- Bump eslint from 8.14.0 to 8.16.0
-
[83fe5ca](83fe5ca7cd)
- Bump [@&#8203;actions/github](https://togithub.com/actions/github)
from 5.0.1 to 5.0.3
-
[fee05d0](fee05d082b)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.8.0 to 1.8.2
-
[c0d0436](c0d0436bbd)
- Merge pull request
[#&#8203;130](https://togithub.com/metcalfc/changelog-generator/issues/130)
from metcalfc/dependabot/github_actions/github/codeql-action-2
-
[b0b413b](b0b413b1ad)
- Merge pull request
[#&#8203;129](https://togithub.com/metcalfc/changelog-generator/issues/129)
from metcalfc/dependabot/npm_and_yarn/eslint-8.14.0
-
[1d1490a](1d1490acc0)
- Merge pull request
[#&#8203;132](https://togithub.com/metcalfc/changelog-generator/issues/132)
from metcalfc/dependabot/npm_and_yarn/actions/core-1.8.0
-
[5f0cef2](5f0cef22d4)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.6.0 to 1.8.0
-
[b8c934f](b8c934f1ca)
- Bump eslint from 8.12.0 to 8.14.0
-
[2039c9d](2039c9dc0f)
- Merge pull request
[#&#8203;128](https://togithub.com/metcalfc/changelog-generator/issues/128)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.33.4
-
[bf5a458](bf5a458a53)
- Merge pull request
[#&#8203;126](https://togithub.com/metcalfc/changelog-generator/issues/126)
from metcalfc/dependabot/github_actions/actions/stale-5
-
[0435317](0435317a67)
- Bump github/codeql-action from 1 to 2
-
[d5e4a03](d5e4a03a69)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.33.3
to 0.33.4
-
[0bccc87](0bccc87efb)
- Bump actions/stale from 4 to 5
-
[b3e06f6](b3e06f65d0)
- Merge pull request
[#&#8203;125](https://togithub.com/metcalfc/changelog-generator/issues/125)
from metcalfc/dependabot/npm_and_yarn/prettier-2.6.2
-
[4ab1afe](4ab1afe485)
- Bump prettier from 2.6.1 to 2.6.2
-
[193ce4a](193ce4ab75)
- Merge pull request
[#&#8203;124](https://togithub.com/metcalfc/changelog-generator/issues/124)
from metcalfc/dependabot/npm_and_yarn/actions/github-5.0.1
-
[f22520b](f22520b824)
- Bump [@&#8203;actions/github](https://togithub.com/actions/github)
from 5.0.0 to 5.0.1
-
[ca9591e](ca9591e4f7)
- Merge pull request
[#&#8203;123](https://togithub.com/metcalfc/changelog-generator/issues/123)
from metcalfc/dependabot/npm_and_yarn/eslint-8.12.0
-
[0288615](0288615c5a)
- Bump eslint from 8.8.0 to 8.12.0
-
[01033c7](01033c7a0f)
- Merge pull request
[#&#8203;122](https://togithub.com/metcalfc/changelog-generator/issues/122)
from metcalfc/dependabot/npm_and_yarn/prettier-2.6.1
-
[5bb1e89](5bb1e895e2)
- Merge pull request
[#&#8203;121](https://togithub.com/metcalfc/changelog-generator/issues/121)
from metcalfc/dependabot/npm_and_yarn/actions/exec-1.1.1
-
[4fb7bc8](4fb7bc8f7b)
- Merge pull request
[#&#8203;118](https://togithub.com/metcalfc/changelog-generator/issues/118)
from metcalfc/dependabot/github_actions/actions/checkout-3
-
[3df839a](3df839a15b)
- Merge pull request
[#&#8203;115](https://togithub.com/metcalfc/changelog-generator/issues/115)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.33.3
-
[7ad10bc](7ad10bc246)
- Bump prettier from 2.5.1 to 2.6.1
-
[4d7e87e](4d7e87e711)
- Bump [@&#8203;actions/exec](https://togithub.com/actions/exec) from
1.1.0 to 1.1.1
-
[c67ac13](c67ac13236)
- Bump actions/checkout from 2 to 3
-
[3a8e994](3a8e994591)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.33.1
to 0.33.3
-
[32b2a9d](32b2a9d3d1)
- Merge pull request
[#&#8203;113](https://togithub.com/metcalfc/changelog-generator/issues/113)
from metcalfc/dependabot/npm_and_yarn/node-fetch-2.6.7
-
[91f9837](91f98370eb)
- Bump node-fetch from 2.6.6 to 2.6.7
-
[90ea792](90ea792f98)
- Merge pull request
[#&#8203;112](https://togithub.com/metcalfc/changelog-generator/issues/112)
from metcalfc/dependabot/npm_and_yarn/eslint-8.8.0
-
[ddb5dcb](ddb5dcbde5)
- Bump eslint from 8.6.0 to 8.8.0
-
[adcb9e3](adcb9e3fe4)
- Merge pull request
[#&#8203;110](https://togithub.com/metcalfc/changelog-generator/issues/110)
from metcalfc/dependabot/npm_and_yarn/eslint-8.6.0
-
[f1a4362](f1a4362ec4)
- Bump eslint from 8.4.1 to 8.6.0
-
[3a8fa5f](3a8fa5f441)
- Merge pull request
[#&#8203;109](https://togithub.com/metcalfc/changelog-generator/issues/109)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.33.1
-
[e588057](e588057c44)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.33.0
to 0.33.1
-
[04f822a](04f822a59d)
- Merge pull request
[#&#8203;105](https://togithub.com/metcalfc/changelog-generator/issues/105)
from metcalfc/dependabot/npm_and_yarn/prettier-2.5.1
-
[8d588bb](8d588bb685)
- Merge pull request
[#&#8203;107](https://togithub.com/metcalfc/changelog-generator/issues/107)
from metcalfc/dependabot/npm_and_yarn/eslint-8.4.1
-
[049d721](049d721a05)
- Bump eslint from 8.3.0 to 8.4.1
-
[d36cc2c](d36cc2c9d3)
- Bump prettier from 2.5.0 to 2.5.1
-
[188a7c9](188a7c9a5d)
- Merge pull request
[#&#8203;104](https://togithub.com/metcalfc/changelog-generator/issues/104)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.33.0
-
[fbb1a6e](fbb1a6e574)
- Merge pull request
[#&#8203;103](https://togithub.com/metcalfc/changelog-generator/issues/103)
from metcalfc/dependabot/npm_and_yarn/prettier-2.5.0
-
[77d58d7](77d58d7940)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.31.1
to 0.33.0
-
[5d9b026](5d9b02630c)
- Bump prettier from 2.4.1 to 2.5.0
-
[b2f13c8](b2f13c87a6)
- Update README for reverse changes.
-
[74a0d45](74a0d45611)
- Fix version numbers in docs.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://app.renovatebot.com/dashboard#github/Unleash/unleash).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC42LjEiLCJ1cGRhdGVkSW5WZXIiOiIzNC4xOS4wIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-09 23:01:01 +01:00
Gastón Fournier
f1634bb524
fix: adapt to new CI builder format (#2303)
* fix: escape single quotes for curl

* Use new format of CI builder
2022-10-31 14:05:26 +01:00
Gastón Fournier
e1883caf0c
fix: escape single quotes ' for curl (#2272) 2022-10-27 14:35:46 +02:00
Gastón Fournier
b82d2b22d7
feat: trigger unleash-ci-builder (#2192)
* feat: trigger unleash-ci-builder

* Move job to build step
2022-10-14 16:48:03 +02:00
renovate[bot]
d30d2cdf0d
chore(deps): update lycheeverse/lychee-action action to v1.5.1 (#2156)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-10-09 20:22:56 +00:00
Tymoteusz Czech
47152cf05b
Feat/invite user (#2061)
* refactor: user creation screen cleanup

* feat: deprecation notice for google sso

* fix: docs openid typo

* invite link bar

* invite link page

* fix prettier docs

* regenerated openapi

* hooks for invite page api

* update openapi

* feat: invite link update

* feat: add public signup token soft-delete

* public signup frontend feature flag

* fix: new user api issues

* feat: allow for creating new user from invite link

* Feat/invite user public controller (#2106)

* added PublicInviteController for public urls

* added PublicInviteController for public urls

* added PublicInviteController for public urls

* added PublicInviteController for public urls

* fix test

* fix test

* update openapi

* refactor: password reset props

* fix: public invite schema and validation

Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>

* user invite frontend

Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>

* invite link delete confirmation dialog

* refactor: password reset action

* fix: new user invite loading state

* fix: run ts check with ci

* revert openapi changes

* fix: invite token api interface

* fix: openapi schema index

* fix: update test snapshots

* update frontend snapshot

* fix: prettier ci

* fix: updates after review

Co-authored-by: andreas-unleash <104830839+andreas-unleash@users.noreply.github.com>
Co-authored-by: Fredrik Strand Oseberg <fredrik.no@gmail.com>
2022-09-30 13:01:32 +02:00
Gastón Fournier
65f2aaf6f5
fix: support coverage reports on external PRs (#2087)
* fix: support coverage reports on external PRs
* removed the coverage comment on the PR until we can investigate this further

Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
2022-09-27 15:51:04 +02:00
Gastón Fournier
c8a007684a
Revert usage of pull_request_target (#2088) 2022-09-26 12:53:20 +02:00
Thomas Heartman
2d04bd9ea2
Add OpenAPI docs (#1391) (#2066)
## What

This PR (finally 🎉) adds generated OpenAPI docs to the official Unleash documentation. In addition to generating docs when things get merged to main, it also pushes new doc updates every day at 12:00 AM (cron `@daily`).

## Why

Now that we have OpenAPI'd all the things, we can finally start using it. This will allow us to remove hand-written api docs from the documentation and should make sure everything is always kept up to date.

### Generating from us-hosted (Unleash enterprise)

Unleash has several different versions (open source, pro, enterprise). The versions do not necessarily have the exact same api surface. In fact, the enterprise version has a few endpoints that open source does not.

Because we want to have _all_ endpoints listed in the documentation we need to generated the docs from an enterprise spec. Which brings us into the next point:

### The need for scheduled jobs

Regarding the daily scheduled tasks to update the documentation: why do we need that?

The docs are generated from the tip of the main branch. For most of the docs, this is good and something that we want. However, because the OpenAPI docs are generated from the enterprise edition, it _will not be in sync_ with the open source main branch.

Also, we probably do not want the docs to list the current bleeding edge api changes. Instead, we should prefer to use the latest enterprise release (roughly). However, because we don't get notified when this version is released and deployed, we'll instead run the API generation on a daily cadence.

This isn't the perfect solution, but it's simple and gets us 80% of the way there. More intricate solutions can be set up later.

## How

-   By adding a scheduled workflow to the generate docs config.
-   By adding .gitignore entries for the generated files

There's also some minor changes in styling etc.

## Dependencies

This is dependent on the changes introduced in #2062 having propagated to the enterprise release, which will probably not be for another week or so.

## Discussion

What should the API reference docs url be? I've set it to be `/reference/api/unleash/*` for now, but I'm on the fence about whether it should be `apis` or `api` in there. I also want to get the proxy and other APIs in there as we grow.

-------

## Commits

* docs: style openapi operation buttons

* docs: minor operation badge adjustments

* docs: use permalink to css snippet i copied

* docs: ignore files related to openapi generation

* docs: re-enable openapi docs

* Docs(#1391): prep for integration

* docs(#1391): run docs generation daily

* docs(#1391): add generation step to doc prs too

* docs(#1391): use the US hosted instance to generate docs

* docs(#1391): move doc generation into build command

* docs(#1391): use `/reference/api/*` instead of `/reference/apis/*`
2022-09-19 14:50:24 +02:00
Gastón Fournier
ee6ec888a7
feat: Update to pull_request_target (#2059)
External builds are failing to upload coverage report
2022-09-13 09:57:14 +02:00
sjaanus
e6e6da6a44
Revert workflow (#2051) 2022-09-09 06:51:56 +00:00
Gastón Fournier
6e52718eab
Schedule link checker action (#2050)
Runs at 12:30 UTC on Mon, Tue, Wed, Thu and Fri
2022-09-07 16:38:39 +02:00
Gastón Fournier
6ef8c78e06
docs: test broken links in website (#1912)
The action triggers manually as a first step to test this functionality. In the near future, we might schedule it
2022-09-07 13:31:38 +00:00
sjaanus
e21cf00ca7
Merge e2e tests into matrix (#2007) 2022-08-30 13:23:09 +00:00
olav
5ba0f3b5f0
refactor: remove duplicate install/build step (#1994) 2022-08-29 15:26:17 +02:00
sjaanus
ac957a096c
Fix changelog (#1991) 2022-08-29 12:32:06 +00:00
sjaanus
d0631f0d74
Move e2e tests from frontend to backend .github (#1975)
* Add e2e tests

* Remove cypress key

* Add project tag

* Add cypress to root

* Add cypress working directory and package.json in subfolder

* Remove record flag

* Add contains to url check

* Test segment e2e test

* Remove one of contains

* Test e2e tests

* Fix e2e

* Test new yml

* New yaml

* Test different echo

* Update workflows

* Fix deployment url

* Fix formatting
2022-08-29 12:25:11 +00:00
sjaanus
a1ce89bedc
Merge frontend with backend (#1962)
* fix: use the frontend dir from the backend

* Build is now working

* Fix workflows

* Fix workflows

* Fix build PRs

* Test coverage workflow

* Test coverage

* Test coverage run

* Fix jest report

* refactor: add missing frontend build

* refactor: ignore frontend dir for coverage

* refactor: run frontend build in PRs

* refactor: run backend tests in PRs

* Revert "refactor: run backend tests in PRs"

This reverts commit 22cabddfd1.

* refactor: remove unused frontend build file

* refactor: test workflows in PR

* refactor: use a prepare script for the frontend

* refactor: simplify yarn build scripts

* refactor: fix check-release script

* Revert "refactor: test workflows in PR"

This reverts commit 496ae19404.

* refactor: remove unused gitignore lines

* refactor: remove renovate config from the frontend repo

* refactor: remove frontend repo license

* refactor: remove frontend repo changelog

* refactor: update frontend repo readme

* refactor: add frontend node_modules to dockerignore

* refactor: update the docker yarn.lock snapshot

Co-authored-by: olav <mail@olav.io>
2022-08-26 07:25:31 +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
Thomas Heartman
a3aff4421b
Meta: use org-wide stale bot config (#1789) 2022-07-05 15:59:11 +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