-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: upgrade to yarn 2 (#5279) #11006
Conversation
Looks like we'll have to disable the Snyk integration to get this to work. https://github.com/snyk/cli/issues/1518 |
* test: add unit test for server version Signed-off-by: emirot <emirot.nolan@gmail.com> * test: add unit test for server version Signed-off-by: emirot <emirot.nolan@gmail.com> * test: add unit test for server version Signed-off-by: emirot <emirot.nolan@gmail.com> * tests: update cmd dependencies Signed-off-by: emirot <emirot.nolan@gmail.com> Signed-off-by: emirot <emirot.nolan@gmail.com> Signed-off-by: Niti Singhal <gupta.sweet.niti@gmail.com>
With Kiali v1.57.1 an additional status condition was added: ``` - lastTransitionTime: '2022-10-14T11:56:24Z' message: '' reason: '' status: 'False' type: Failure ``` Based on the discussion in kiali/kiali#5560 this should not lead to a degraded health state. This will no longer return Degraded as a catch-all and use the `type` and `status` fields of the condition to determine the CR health. Signed-off-by: Allex Veldman <allexveldman+github@gmail.com> Signed-off-by: Allex Veldman <allexveldman+github@gmail.com> Signed-off-by: Niti Singhal <gupta.sweet.niti@gmail.com>
* issue-10592 Wrap errors with message Signed-off-by: Apoorva Mahabaleshwara <apoorvamahabaleshwara@Apoorvas-MBP.attlocal.net> Signed-off-by: Apoorva Mahabaleshwara <apoorvambhat@gmail.com> * issue-10592 remove unwanted error wrappers Signed-off-by: Apoorva Mahabaleshwara <apoorvamahabaleshwara@Apoorvas-MBP.attlocal.net> Signed-off-by: Apoorva Mahabaleshwara <apoorvambhat@gmail.com> * chore: fix error wrapper messages Signed-off-by: Apoorva Mahabaleshwara <apoorvambhat@gmail.com> Signed-off-by: Apoorva Mahabaleshwara <apoorvamahabaleshwara@Apoorvas-MBP.attlocal.net> Signed-off-by: Apoorva Mahabaleshwara <apoorvambhat@gmail.com> Co-authored-by: Apoorva Mahabaleshwara <apoorvamahabaleshwara@Apoorvas-MBP.attlocal.net> Signed-off-by: Niti Singhal <gupta.sweet.niti@gmail.com>
…d replicas to ReplicaSet (argoproj#10613) * Misc UI Improvements: sort by created at in resource list view, add message to AnalysisRun and replicas to Replicaset Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com> * Address PR comments Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com> * No underscore needed in created_at. Add space between icon and message in health details for non-controlled resources Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com> * Guard section Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com> Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com> Co-authored-by: Remington Breeze <remington@breeze.software> Signed-off-by: Niti Singhal <gupta.sweet.niti@gmail.com>
Signed-off-by: Niti Singhal <gupta.sweet.niti@gmail.com>
Signed-off-by: Niti Singhal <gupta.sweet.niti@gmail.com>
Signed-off-by: Niti Singhal <gupta.sweet.niti@gmail.com>
Signed-off-by: Niti Singhal <gupta.sweet.niti@gmail.com>
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* chore: fix e2e Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * more config Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> * global Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: Niti Singhal <gupta.sweet.niti@gmail.com>
Signed-off-by: Niti Singhal <gupta.sweet.niti@gmail.com>
ff795bc
to
e0e4af4
Compare
Signed-off-by: Niti <gupta.sweet.niti@gmail.com>
Signed-off-by: Niti <gupta.sweet.niti@gmail.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com> Signed-off-by: Niti <gupta.sweet.niti@gmail.com>
Signed-off-by: Niti Singhal <gupta.sweet.niti@gmail.com>
Signed-off-by: Niti Singhal <gupta.sweet.niti@gmail.com>
Signed-off-by: Niti Singhal <gupta.sweet.niti@gmail.com>
Signed-off-by: Niti Singhal <gupta.sweet.niti@gmail.com>
Signed-off-by: Niti Singhal <gupta.sweet.niti@gmail.com>
Hi @crenshaw-dev I tried multiple things today to try fix the
But the code is unable to resolve the package. As I see I haven't yet found guidance in my Google search on how to resolve CJS level-2 dependencies. Any advice on where to look, or how to resolve without modifying |
@keithchong I think this PR is very close to being done. Can you take a look at the build failures? I don't know yarn well enough to have any ideas. |
Hi @crenshaw-dev, I haven't actually migrated to yarn 2 before. Did you follow the steps here? https://yarnpkg.com/getting-started/migration#step-by-step |
It was a while since I've worked with yarn, but IIRC yarn 2 requires all dependencies to be explicitly be stated in It could be a good opportunity to modify argo-ui to ES import, and to perhaps upgrade uuid to a newer version? |
@nsinghal12 @keithchong @crenshaw-dev I think the required changes are in argoproj/argo-ui#367. |
Related to argoproj#11006, all dependencies that are used within the app needs to be expressed in package.json, in case we ever want to use yarn berry or pnpm. Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com>
* chore: set explicit package.json deps Related to #11006, all dependencies that are used within the app needs to be expressed in package.json, in case we ever want to use yarn berry or pnpm. Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com> * fix: downgrade history dependency Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com> --------- Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
@nsinghal12 if you have time you can try to merge |
Hello @blakepettersson I merged master and updated this branch but looks like build is failing at install node dependencies in integration tests. |
@nsinghal12 I think your |
I think you meant |
@nsinghal12 are you sure you added the new yarn.lock and pushed it? GitHub is still showing it as deleted. |
Oh, I see. Make sure you run |
@nsinghal12 yes, that was a silly typo 😄 As @crenshaw-dev said, the |
* chore: set explicit package.json deps Related to argoproj#11006, all dependencies that are used within the app needs to be expressed in package.json, in case we ever want to use yarn berry or pnpm. Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com> * fix: downgrade history dependency Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com> --------- Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Closing for now as this needs more work. |
* chore: set explicit package.json deps Related to argoproj#11006, all dependencies that are used within the app needs to be expressed in package.json, in case we ever want to use yarn berry or pnpm. Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com> * fix: downgrade history dependency Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com> --------- Signed-off-by: Blake Pettersson <blake.pettersson@gmail.com> Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
This PR contains ui code for yarn upgrade to yarn 2
Note on DCO:
If the DCO action in the integration test fails, one or more of your commits are not signed off. Please click on the Details link next to the DCO action for instructions on how to resolve this.
Checklist: