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

225 Commits

Author SHA1 Message Date
Gastón Fournier
2164ff6a87
chore: require both build and test before merge (#5545)
## About the changes
Some of our PRs such as #5538 merged without passing the tests. This is
because we were running tests in a different workflow that's not
mandatory to pass before we merge.

With this, we remove duplicated work (we were executing build:backend in
two different workflows) and we enforce our PRs to pass tests before
merging
2023-12-05 11:21:03 +01:00
Gastón Fournier
9f3648dc81
chore: test migration backward compatibility (#5492)
## About the changes
This PR will validate that our current migrations are backward
compatible with the latest stable release of Unleash.
It will do so by starting a database, applying the latest migrations,
and then starting a docker container with the last stable unleash
release and running UI tests against it.

There's a risk that the current version of UI tests will not work with
the previous version of our UI. Because of that we copied the previous
version of cypress tests
(https://github.com/Unleash/unleash/tree/5.6/frontend/cypress) into oss
folder and removed the ones that are enterprise only. We can discuss a
better way of doing this to avoid having to maintain this folder always
in sync with the previous version of Unleash

This action will only run when there are changes in migrations or to
cypress tests.
2023-11-30 18:20:13 +01:00
renovate[bot]
d6b56a24b9
chore(deps): update metcalfc/changelog-generator action to v4.2.0 (#5505)
[![Mend Renovate logo
banner](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 | minor | `v4.1.0` -> `v4.2.0` |

---

### Release Notes

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

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

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

-
[1de9b68](1de9b68cc5)
- Many small updates to dependencies.
-
[08047f0](08047f08c0)
- Migrating create release action.
-
[59d0205](59d0205b73)
- Merge pull request
[#&#8203;220](https://togithub.com/metcalfc/changelog-generator/issues/220)
from metcalfc/dependabot/npm_and_yarn/actions/github-6.0.0
-
[99034cd](99034cda79)
- Merge pull request
[#&#8203;223](https://togithub.com/metcalfc/changelog-generator/issues/223)
from metcalfc/dependabot/npm_and_yarn/eslint-8.53.0
-
[dc7612b](dc7612b8cf)
- Bump eslint from 8.50.0 to 8.53.0
-
[e79ecba](e79ecba5a6)
- Merge pull request
[#&#8203;224](https://togithub.com/metcalfc/changelog-generator/issues/224)
from metcalfc/dependabot/npm_and_yarn/prettier-3.1.0
-
[7c85144](7c85144db9)
- Bump prettier from 3.0.3 to 3.1.0
-
[d96af51](d96af51e25)
- Bump [@&#8203;actions/github](https://togithub.com/actions/github)
from 5.1.1 to 6.0.0
-
[2c24ec2](2c24ec281a)
- Merge pull request
[#&#8203;221](https://togithub.com/metcalfc/changelog-generator/issues/221)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.38.1
-
[315f67f](315f67f843)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.38.0
to 0.38.1
-
[f1400ae](f1400aefb4)
- Merge pull request
[#&#8203;217](https://togithub.com/metcalfc/changelog-generator/issues/217)
from metcalfc/dependabot/npm_and_yarn/actions/core-1.10.1
-
[965b057](965b057220)
- Merge pull request
[#&#8203;218](https://togithub.com/metcalfc/changelog-generator/issues/218)
from metcalfc/dependabot/npm_and_yarn/eslint-8.50.0
-
[51f72ca](51f72ca8b3)
- Bump eslint from 8.48.0 to 8.50.0
-
[cba9af5](cba9af52b4)
- Bump [@&#8203;actions/core](https://togithub.com/actions/core) from
1.10.0 to 1.10.1
-
[907c16b](907c16bb14)
- Merge pull request
[#&#8203;215](https://togithub.com/metcalfc/changelog-generator/issues/215)
from metcalfc/dependabot/npm_and_yarn/vercel/ncc-0.38.0
-
[2aa5a82](2aa5a82301)
- Bump [@&#8203;vercel/ncc](https://togithub.com/vercel/ncc) from 0.36.1
to 0.38.0
-
[367b65d](367b65d916)
- Merge pull request
[#&#8203;214](https://togithub.com/metcalfc/changelog-generator/issues/214)
from metcalfc/dependabot/github_actions/actions/checkout-4
-
[01a8fe5](01a8fe58c7)
- Bump actions/checkout from 3 to 4
-
[3dd9220](3dd9220597)
- Merge pull request
[#&#8203;212](https://togithub.com/metcalfc/changelog-generator/issues/212)
from metcalfc/dependabot/npm_and_yarn/eslint-8.48.0
-
[e63a7ac](e63a7ac740)
- Bump eslint from 8.42.0 to 8.48.0
-
[2a808b0](2a808b0ea9)
- Merge pull request
[#&#8203;213](https://togithub.com/metcalfc/changelog-generator/issues/213)
from metcalfc/dependabot/npm_and_yarn/prettier-3.0.3
-
[785ba19](785ba196e2)
- Bump prettier from 2.8.8 to 3.0.3
-
[476bf47](476bf471e2)
- Merge pull request
[#&#8203;208](https://togithub.com/metcalfc/changelog-generator/issues/208)
from metcalfc/dependabot/npm_and_yarn/isexe-3.1.1
-
[238e1fe](238e1fe243)
- Bump isexe from 2.0.0 to 3.1.1
-
[4ba8190](4ba8190927)
- Merge pull request
[#&#8203;205](https://togithub.com/metcalfc/changelog-generator/issues/205)
from metcalfc/dependabot/npm_and_yarn/word-wrap-1.2.4
-
[560623c](560623c867)
- Bump word-wrap from 1.2.3 to 1.2.4
-
[723453a](723453a1b9)
- Cleaning up.
-
[d3de36e](d3de36eca3)
- Merge pull request
[#&#8203;200](https://togithub.com/metcalfc/changelog-generator/issues/200)
from metcalfc/dependabot/npm_and_yarn/eslint-8.42.0
-
[afef6ae](afef6ae020)
- Bump eslint from 8.40.0 to 8.42.0
-
[aa6844c](aa6844cb20)
- Merge pull request
[#&#8203;198](https://togithub.com/metcalfc/changelog-generator/issues/198)
from metcalfc/dependabot/npm_and_yarn/eslint-8.40.0
-
[ef41d8f](ef41d8fe80)
- Merge pull request
[#&#8203;196](https://togithub.com/metcalfc/changelog-generator/issues/196)
from metcalfc/dependabot/npm_and_yarn/prettier-2.8.8
-
[aaeafc9](aaeafc9df5)
- Bump eslint from 8.38.0 to 8.40.0
-
[693e70b](693e70b27b)
- Bump prettier from 2.8.7 to 2.8.8
-
[1addadf](1addadf28f)
- Merge pull request
[#&#8203;195](https://togithub.com/metcalfc/changelog-generator/issues/195)
from metcalfc/dependabot/npm_and_yarn/eslint-8.38.0
-
[3bd86ca](3bd86ca10b)
- Bump eslint from 8.37.0 to 8.38.0
-
[201b155](201b155325)
- Update README.md
-
[e2d3b6f](e2d3b6f0f8)
- Merge pull request
[#&#8203;194](https://togithub.com/metcalfc/changelog-generator/issues/194)
from metcalfc/dependabot/npm_and_yarn/eslint-8.37.0
-
[89fa40d](89fa40de50)
- Bump eslint from 8.36.0 to 8.37.0
-
[b0109a8](b0109a8089)
- Merge pull request
[#&#8203;193](https://togithub.com/metcalfc/changelog-generator/issues/193)
from metcalfc/dependabot/npm_and_yarn/prettier-2.8.7
-
[c0c9e16](c0c9e16243)
- Bump prettier from 2.8.6 to 2.8.7
-
[3ca2591](3ca2591b55)
- Merge pull request
[#&#8203;192](https://togithub.com/metcalfc/changelog-generator/issues/192)
from metcalfc/dependabot/github_actions/actions/stale-8
-
[de98aa9](de98aa975a)
- Bump actions/stale from 7 to 8
-
[606f1c0](606f1c0cf4)
- Update issue templates
-
[edc622f](edc622f7e9)
- Create CONTRIBUTING.md
-
[38d635e](38d635ecb8)
- Merge pull request
[#&#8203;191](https://togithub.com/metcalfc/changelog-generator/issues/191)
from metcalfc/dependabot/npm_and_yarn/prettier-2.8.6
-
[89cd0f6](89cd0f696c)
- Bump prettier from 2.8.4 to 2.8.6
-
[6300779](6300779ee9)
- Merge pull request
[#&#8203;189](https://togithub.com/metcalfc/changelog-generator/issues/189)
from metcalfc/update_release
-
[9c0a661](9c0a661be8)
- Updating the create-release action.

</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://developer.mend.io/github/Unleash/unleash).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-29 19:37:48 +00:00
Nuno Góis
a137275e16
chore: unpin node version in build (#5379)
https://linear.app/unleash/issue/2-1434/unpin-node-18-when-a-fix-is-out

Unpins the node version in our build step.
Continues the work of https://github.com/Unleash/unleash/pull/5146
2023-11-21 12:58:34 +00:00
Nicolae Socaciu
a68cae4b86
Updated banner and text (#5168)
We updated the banner to match the current number of official SDKs and
community SDKs
2023-10-27 08:37:40 +00:00
Christopher Kolstad
d013867f0f
Chore/bump dependencies (#5146)
We're getting security advisories against the node version we're using.
This PR bumps everything to 18.18.2/18.x again. And we'll trust our
excellent monitoring on detecting performance regressions again
2023-10-26 09:09:03 +02:00
Mateusz Kwasniewski
da2c46d8c3
chore: disable fsync in gh action postgres to speed up the tests (#5139) 2023-10-24 12:33:17 +02:00
Gastón Fournier
b802ced0f5
chore: avoid building frontend if not needed (#4982)
## About the changes
Looks like we're building twice:
https://github.com/Unleash/unleash/actions/runs/6468079228/job/17559391393#step:5:136
2023-10-10 15:35:11 +02:00
Gastón Fournier
7f61438095
chore: Rename validate step (#4969)
This is to bypass branch protection rules
2023-10-09 13:55:38 +02:00
Gastón Fournier
4fc7df84b9
fix: ignore errors on changelog generation and include token (#4926)
This backports changes made in 5.5
2023-10-06 16:39:34 +02:00
renovate[bot]
99e7aec18a
chore(deps): update actions/checkout action to v4 (#4741)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-05 10:19:57 +02:00
Gastón Fournier
8adc711949
chore: automate changelog generation on release branch (#4914)
## About the changes
This generates the changelog in the branch taking into account latest
release (it's conditional to wether the release ends with .0 or not)
2023-10-04 11:52:46 +02:00
Gastón Fournier
f9c3259083
fix: partial index on events announced (#4856)
## About the changes
Add partial index on events by announced. This should help avoid `Seq
Scan on events` when the majority of events are announced=true

---
Co-authored-by: Ivar Østhus <ivar@getunleash.io>
Co-authored-by: Gard Rimestad <gard@getunleash.io>
2023-09-28 10:21:16 +02:00
Christopher Kolstad
19053cd75c
fix: version checker update needs permissions to write id-token 2023-09-28 09:38:20 +02:00
Gard Rimestad
7cb471a0a4
chore: pin node version 18.17.1 (#4834)
We are pinning node to version 18.17.1 as we have seen some performance
degregation on node 18.18.0 on arm64. We will investigate this further
at a later point. This is to mitigate the issue.

Our next step in pinpointing the issue will be to compare between
running on musl vs libc on arm64.
2023-09-26 10:41:13 +02:00
Christopher Kolstad
fd9aeec0fb
task: Added workflow for calling update-version-action (#4805)
## What
This adds a workflow which automatically triggers on published releases
to update the version number for our version checker. In addition it
adds a workflow dispatch, in case the version number ended up wrong
after an automatic run (for instance when patching an earlier released
minor).

## Observations
Currently the version checker which receives the update only validates
that the new version is also valid semver, it does not however
check/verify that we're not suddenly telling it an older version is the
newest (improvement available in the version updater repo).
2023-09-25 14:36:19 +02:00
Gastón Fournier
eb259a3783
chore: Doc only should skip build (#4820)
## About the changes
This fakes the build on docs-only PRs to be able to have a green build.
Touching a doc to validate it works
2023-09-25 09:12:03 +02:00
Thomas Heartman
5799d0c90f
docs: add info on how to troubleshoot and better errors (#4803)
This PR adds some troubleshooting information to the website readme and
also makes it so that we get more readable errors in the build logs when
something goes wrong.
2023-09-21 11:46:39 +02:00
Gastón Fournier
043a3a10ec
chore: reduce build time (#4405)
## About the changes
~~Test if max-workers can speed up test runs~~ No, this didn't help.
Disabling the job that takes longer should help mitigate. We lose the
coverage report but we still test our code:
https://github.com/Unleash/unleash/actions/runs/5751945832/job/15591813034?pr=4405#step:7:2396

This cuts the build time by 50% and moving this to a daily schedule
2023-08-04 11:51:18 +02:00
renovate[bot]
240cc2b5fa
chore(deps): update docker/build-push-action action to v4 (#4365) 2023-08-03 13:13:14 +02:00
Gastón Fournier
05c6f42f7b
fix: avoid expression injection (#4157)
## About the changes
Using toJSON should escape any potentially harmful content from the
username and email input
2023-07-06 07:52:50 +00:00
Christopher Kolstad
9f5b7b610a
chore: add paths-ignore to more workflows (#4041)
### What
To reduce the work needed, this PR adds paths-ignore to avoid building
unnecessary workflows.

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-07-05 14:29:37 +02:00
Gastón Fournier
1f7a948f6d
chore: avoids code injection through git commit (#4147)
## About the changes
Avoids code injection via the committer name or email

Also removes pushing to s3 on `main` folder as it's not used and we're
already pushing to `commits` folder
2023-07-05 13:35:12 +02:00
Gastón Fournier
661cbf2b91
fix: some security vulnerabilities (#4143)
## About the changes
This should address:
https://github.com/Unleash/unleash/security/code-scanning/1,
https://github.com/Unleash/unleash/security/code-scanning/49 and
https://github.com/Unleash/unleash/security/code-scanning/52

Refs:
-
https://securitylab.github.com/research/github-actions-untrusted-input/
-
https://owasp.org/www-community/attacks/Regular_expression_Denial_of_Service_-_ReDoS
- https://datatracker.ietf.org/doc/html/rfc5321#section-4.5.3.1.1

---------

Co-authored-by: Christopher Kolstad <chriswk@getunleash.ai>
2023-07-05 11:51:27 +02:00
Gastón Fournier
28cafd6e06
fix: change to the proper author (#4141)
## About the changes
Based on the information displayed here
https://github.com/Unleash/unleash/actions/runs/5456442710/jobs/9929252672#step:3:11
this is how we should get the email and name of the committer
2023-07-04 19:44:10 +02:00
Gastón Fournier
148842e867
chore: Add debug information (#4140)
## About the changes
Debug information to get the best way of fetching the commit author and
use that to trigger a workflow
2023-07-04 17:34:35 +02:00
Gastón Fournier
bc68b5d265
chore: remove sync to enterprise from release branches (#4112)
## About the changes
When we do releases on the release branch we should not sync that back
to master on unleash-enterprise repo. At most we can trigger a different
process to automate the release of unleash-enterprise, but that'd be a
different story.
2023-06-28 14:13:18 +02:00
Gastón Fournier
4599e5cc06
chore: Optimize docker build oss (#3951)
## About the changes
Reduce the build time of OSS docker image from
[~30m](https://github.com/Unleash/unleash/actions/workflows/docker_publish.yaml)
to [under
15m](https://github.com/Unleash/unleash/actions/runs/5222180536/jobs/9427342758)

1. Build frontend outside docker multiplatform.
2. Allow `frontend/build` to be copied to the image by removing this
from `.dockerignore`
3. Run with `--ignore-scripts` to avoid building the frontend on the
`prepare` script, but this requires us to run all the prepare scripts
manually (except the frontend build).
 
**Note:** we need to build frontend in the `prepare` script to be able
to have source code dependencies

## Manual Testing
Manually downloaded from
https://hub.docker.com/r/unleashorg/unleash-server/tags?page=1 and
compared both `unleash` folders from main and the version built with the
new process
https://github.com/Unleash/unleash/actions/runs/5223078089/jobs/9429430190#step:5:48

![Screenshot from 2023-06-10
21-11-33](https://github.com/Unleash/unleash/assets/455064/60a41739-904d-480d-8d80-bf17b7a70432)

No major difference was spotted (only expected changes due to
development done in main)

**Command used to extract the contents:** 

```
cd /tmp
mkdir main && cd main
docker pull unleashorg/unleash-server:main-edge-18-alpine
docker export $(docker create unleashorg/unleash-server:main-edge-18-alpine) > container.tar && tar xvf container.tar
mkdir ../new-process && cd ../new-process
docker pull unleashorg/unleash-server:sha-ccac902-18-alpine
docker export $(docker create unleashorg/unleash-server:sha-ccac902-18-alpine) > container.tar && tar xvf container.tar
meld ./unleash ../main/unleash
```
2023-06-12 09:15:09 +02:00
Gastón Fournier
51fc8f0550
chore: avoid building frontend twice (#3918)
## About the changes
Running `yarn install` without the `dist` folder will trigger a `yarn
build` automatically as part of the `prepare script`

As we can see here:
https://github.com/Unleash/unleash/actions/runs/5200272004/jobs/9378770279
```
[build:frontend] ✓ built in 41.10s
// more output
[build:frontend] ✓ built in 39.81s
```
2023-06-08 10:48:28 +02:00
renovate[bot]
6ab62d5bfa
chore(deps): update aws-actions/configure-aws-credentials action to v2 (#3893)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
|
[aws-actions/configure-aws-credentials](https://togithub.com/aws-actions/configure-aws-credentials)
| action | major | `v1` -> `v2` |

---

### Release Notes

<details>
<summary>aws-actions/configure-aws-credentials</summary>

###
[`v2`](https://togithub.com/aws-actions/configure-aws-credentials/releases/tag/v2)

[Compare
Source](https://togithub.com/aws-actions/configure-aws-credentials/compare/v1...v2)

This tag tracks the latest v2.x.x release.

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDIuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNS4xMDIuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-06-06 15:03:11 +02:00
Gastón Fournier
6af72325c1
chore: simplify workflows (#3902)
## About the changes
This PR removes one workflow file and merges it into a similar workflow
file, these are the differences:

![image](https://github.com/Unleash/unleash/assets/455064/8afa791e-5f78-45cb-baca-1c28d4559d51)


This should help improving maintainability of the workflows
2023-06-05 14:34:22 +02:00
Gastón Fournier
a7bd91d621
fix: Remove repository which is no longer needed (#3900)
## About the changes
Sync fails
https://github.com/Unleash/unleash/actions/runs/5174602051/jobs/9321118800#step:3:23
due to https://github.com/ivarconr/unleash-enterprise/pull/562 because
we now assume the repository is Unleash/unleash

This removes the repository from the payload
2023-06-05 08:03:16 +00:00
Gastón Fournier
64f212fdda
fix: author and email should be for PRs (#3899)
## About the changes
Previous PR https://github.com/Unleash/unleash/pull/3871 we were
supposed to change this for PRs but the change was made on
`release.yaml` file. This fixes the issue
2023-06-05 09:47:20 +02:00
renovate[bot]
18edaf1d96
chore(deps): update actions/checkout action to v3 (#3891)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/checkout](https://togithub.com/actions/checkout) | action |
major | `v2` -> `v3` |

---

### Release Notes

<details>
<summary>actions/checkout</summary>

###
[`v3`](https://togithub.com/actions/checkout/blob/HEAD/CHANGELOG.md#v352)

[Compare Source](https://togithub.com/actions/checkout/compare/v2...v3)

- [Fix api endpoint for
GHES](https://togithub.com/actions/checkout/pull/1289)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS4xMDIuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNS4xMDIuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIn0=-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-05-29 17:47:30 +02:00
Gastón Fournier
c7d8c9fd25
chore: name and email convention (#3871)
## About the changes
Minor improvement to communicate the author of a commit as `Name
<Email>`

Another option is to send email and name in different fields but we're
only using it here
https://github.com/ivarconr/unleash-enterprise/blob/master/.github/update_dependency_version.sh#L39
so this should be fine
2023-05-26 14:04:41 +00:00
Christopher Kolstad
3409b0c5a0
task: Add Unit test result check task (#3695)
After a Team Retro, one of our squads felt like we needed more data on
our test suites. This is the first effort to make our test results
easier to grab. It uses the test-reporter action to add a github check
to our main build and PR builds with our test results.

This at least should make it easier to parse which tests are failing.
However, it does not give us trends. So it does not yet make it easier
to decide which tests are flaky just from a quick view.

---------

Co-authored-by: Gastón Fournier <gaston@getunleash.io>
2023-05-25 11:03:54 +00:00
Gastón Fournier
540c5f2cc5
fix: workflow was moved (#3852)
## About the changes
This script was moved, updating the ref
2023-05-24 10:20:31 +02:00
Gastón Fournier
08cf5e3041
chore: delay static asset generation (#3848)
## About the changes
Delay static asset generation to speed up the CI/CD pipeline.
Next, we should add a validation step before deployment to validate that
the static assets were properly published
2023-05-23 23:27:44 +02:00
Gastón Fournier
9f6e885830
fix: new workflow name (#3845)
Adopt the new workflow name:
https://github.com/ivarconr/unleash-enterprise/pull/529
2023-05-23 15:55:59 +02:00
renovate[bot]
8004d25631
chore(deps): update lycheeverse/lychee-action action to v1.8.0 (#3839) 2023-05-23 15:19:23 +02:00
Gastón Fournier
2152a04a85
fix: Use the correct actor (#3842)
Use the right author name as tested here
https://github.com/Unleash/unleash/actions/runs/5056589150/jobs/9074236865#step:6:833
2023-05-23 12:57:14 +01:00
Gastón Fournier
868df5d941
test: Add debug logs (#3841)
These logs will help us identify what should we use instead of
e55e7feed3/.github/workflows/notify_enterprise.yaml (L56)
which is being set to web-flow
https://github.com/Unleash/unleash/actions/runs/5055463116/jobs/9071696845#step:7:12
2023-05-23 13:15:11 +02:00
Gastón Fournier
574c5a92f4
chore: disable null checks until we have time to fix this (#3830)
## About the changes
This action started to fail and despite being safe to ignore it's still
annoying. I'm disabling it for now until I can look into what's going on
with it

Example:
https://github.com/Unleash/unleash/pull/3829#issuecomment-1557372501
2023-05-22 18:06:52 +02:00
renovate[bot]
e5df517ad9
chore(deps): update akhileshns/heroku-deploy action to v3.12.14 (#3804) 2023-05-18 16:17:44 +03:00
Jaanus Sellin
e075d46f79
fix: change commit hash step name (#3784) 2023-05-16 13:36:17 +03:00
Jaanus Sellin
a7751dfbdd
feat: set commit hash as static asset version (#3783) 2023-05-16 11:44:50 +03:00
Jaanus Sellin
0a3cf646be
feat: new notify enterprise workflow (#3781) 2023-05-16 11:06:07 +03:00
Jaanus Sellin
da35454bd8
feat: release inputs added to dispatcher (#3756) 2023-05-16 10:38:12 +03:00
Gastón Fournier
00549ceaa4
fix: build is not present in npm package (#3759)
## About the changes
Before publishing we should build. This is because previously we were building on prepare https://github.com/Unleash/unleash/pull/3736/files#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519L45
2023-05-12 13:24:27 +00:00
Gastón Fournier
18d585cd5f
fix: update GH action (#3758)
## About the changes
Another piece requiring changes, which adapts to:
https://github.com/Unleash/unleash/pull/3736
2023-05-12 12:14:39 +00:00