Commit Graph

133 Commits

Author SHA1 Message Date
Alexandre Alves aebde5c25f
Rancher as an OIDC provider (#14475)
* Rancher as an OIDC provider (interface and flow)

---------

Co-authored-by: Richard Cox <ricox@suse.com>
2025-06-26 10:39:26 +01:00
Richard Cox 2b2a499691 Pin rancher to a version that should unblock e2e 2025-06-25 11:48:25 +01:00
Richard Cox ab1483b3b9 Add script to locally run e2e tests as per gates 2025-06-25 11:48:03 +01:00
Richard Cox e2b6ef0a95 allow more time for rancher to start up 2025-06-24 16:59:50 +01:00
Neil MacDougall c4606138de
Minor tweaks to cloud update script and GH workflow script (#14477)
* Minor tweaks to cloud update script and GH workflow script

* Fixes
2025-06-13 13:20:52 +01:00
Neil MacDougall 6f23a10248
Add GH Action to run the cloud data sync scripts periodically (#14202)
* Add GitHub action to run cloud data update script

* Does not need node

* Fixes

* ensure we do an npm install

* Fix repository variable

* Fix repository ref

* Fixes

* Add permissions

* Update labels

* Fix commit command

* Add git config

* Tweaks

* Update permissions

* Add back in set -e

* Permissions

* Fix set -e

* Fix PR body

* Speed up node modules install

* Tweak script

* Tweaks

* Fix PR body

* Permissions

* Fix branch delete

* Fix delete

* Tweak to do a rebase

* Set target brach to master

* Force branch push in case old branch exists

* Delete existing branch first

* Improve delete

* Include Azure data sync

* Keep usgov regions
2025-05-30 17:17:37 +01:00
yonasberhe23 17becd3559 unpin e2e tests 2025-05-14 08:09:16 -07:00
yonasberhe23 ec5e91405e pin e2e tests to older version of rancher 2025-05-09 14:39:29 -07:00
Phillip Rak d35c29cc79 Revert: Pin Rancher version to v2.11-2053ce644a31cd8053d1f58e2487154b0b8513b6-head for e2e tests
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-02-06 11:34:14 -07:00
Giuseppe Leo 4a5d2bb056
Allow to skip Cypress dashboard E2E tests using a label or env var (#13146)
* Allow to switch Cypress command with cy2 on env var

* Remove coverage flag

* Restore Cypress dashboard

* Assign env var TEST_DISABLE_DASHBOARD_LABEL based on label presence

* Extend E2E script condition to TEST_DISABLE_DASHBOARD_LABEL

* Correct label term

* Remove unnecessary key and ID for Cypress command

* Correct PR label

* Add echo to display disable method; Add comments

* Add documentation

* Allow GH to set env var from the config
2025-01-20 11:49:33 +01:00
Phillip Rak 60f62107e7 Pin Rancher version to v2.11-2053ce644a31cd8053d1f58e2487154b0b8513b6-head for e2e tests
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2025-01-14 12:25:23 -07:00
Neil MacDougall cfd00889aa
Migrate AWS script to axios (#12833) 2025-01-06 10:48:26 +00:00
Phillip Rak bfa291f542 Replace `request` with `axios` in har script
`request` is not a Dashboard dependency and has been deprecated.

Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-12-05 14:30:12 -07:00
Alejandro Ruiz 79d71c62cc e2e: wait for webhook to be ready 2024-11-07 13:07:01 +01:00
Neil MacDougall e2731ebb08
Fix documentation link check script (#12423) 2024-10-30 14:42:18 +00:00
momesgin f84ac9e0fc
Update rancher image version for e2e tests (#12310)
* update rancher image version for e2e tests

* update package.json's docker local script to use the latest version

* update what's new version to 2.10

* revert unrelated change

* add rancher version variable to reuse + skipping some e2e tests

* revert unnecessary changes in version.spec.ts

* remove typo

* fix version typo

* skip account-api-keys tests

* skip a test in namespace-picker.spec.ts

* update home test to use rancher version variable

* remove 'v' from version number

* fix typo

* fix flaky charts tests

* fix flaky repositories tests

* more precise enabling logic for checkboxes

* lint

---------

Co-authored-by: Mo Mesgin <mmesgin@Mos-M2-MacBook-Pro.local>
2024-10-24 10:46:38 +01:00
Phillip Rak f45c6aece1 Auto-lint
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-10-02 17:28:59 -07:00
Phillip Rak c9ab2cf32d Prefer `axios` over `request-promise-native`
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-10-02 17:28:59 -07:00
Neil MacDougall f5759e4574
Add script to check http links in our translation files (#12048)
* Add doc link checker

* Tidy ups, add git workflow job and fix broken strings

* Fix comments and update workflow to fail on error

* Fix PR review feedback
2024-10-01 09:52:43 +01:00
Neil MacDougall 4c9ad32248
Add a helper script to build and update the dashboard UI in a running container (#11652) 2024-09-30 17:13:12 +01:00
Alexandre Alves 61b6235ff6 script adjustment 2024-08-14 12:56:03 +01:00
Alexandre Alves 97ff592ca5 get back script optimisations + revert small change used to trigger workflow + fix path elemental.po 2024-08-14 12:36:12 +01:00
Alexandre Alves e6cc196f40 finalized workflow + remove echos from e2e-docker-start + working on elemental spec 2024-08-14 09:11:12 +01:00
Alexandre Alves 7ed37c7edb echo on e2e-docker-start 2024-08-14 09:11:12 +01:00
Alexandre Alves 486351c2e9 adjust e2e test run to pass spec + adjust add of main extensions repo 2024-08-14 09:11:07 +01:00
Alexandre Alves 8f6433b4f2 test matrix for multiple envs 2024-08-14 09:10:13 +01:00
Alexandre Alves 169d8fa1f0 script adjustment/fix 2024-08-14 09:10:13 +01:00
Alexandre Alves b0211fff11 script adjustment/fix 2024-08-14 09:10:13 +01:00
Alexandre Alves befd075ac1 Revert "script adjustment/fix"
This reverts commit 48a13ef3554da045850f88b43ace5edfee99e03d.
2024-08-14 09:10:13 +01:00
Alexandre Alves 320d53b29b script adjustment/fix 2024-08-14 09:10:13 +01:00
Alexandre Alves c9eda1eef3 script adjustment/fix 2024-08-14 09:10:13 +01:00
Alexandre Alves 104e80c75c script adjustment 2024-08-14 09:10:13 +01:00
Alexandre Alves e15ee8947a script adjustment 2024-08-14 09:10:13 +01:00
Alexandre Alves e14a9735b9 script adjustment 2024-08-14 09:10:13 +01:00
Alexandre Alves 00e5db19ff fix bash script + prevent a lot of e2e tests from running 2024-08-14 09:10:13 +01:00
Alexandre Alves 7ca533c172 testing workflow for the first time 2024-08-14 09:10:13 +01:00
Alexandre Alves 872f7deace saving WIP 2024-08-14 09:10:13 +01:00
Giuseppe Leo a2304f462e
Remove or replace all the @nuxt libraries (#11302)
* Update checkout to v4 and bump Node to 16

* Update GHA workflow migration paths

* Removed named exports from Vue files

* Move code outside of the Vue app element

* Remove @nuxtjs/eslint-config-typescript

* Remove @nuxt/types and @nuxt/typescript-build

* Fix import issue with http-proxy-middleware

* Replace @nuxtjs/axios with axios and axios-retry

* Remove @nuxtjs/webpack-profile

* Fix linting issues after Nuxt webpack removal

* Pin resolution for glob after rebase

* Update yarn.lock after rebase

* Fix issue with rancher-components

* Bump rancher-component GHA config to match rebase changes

* Generate yarn file

* Add dependency

* Remove nuxt global var in app template

* Pin version for babel/plugin-proposal-private-methods
2024-08-08 15:31:44 +02:00
Giuseppe Leo d98ca6bd85
Remove Nuxt reference in extensions and creator (#11420)
* Remove nuxt commands

* Remove vsconfig nuxt mention

* Remove Nuxt path as unused

* Remove Nuxt

* Remove creator scripts

* Remove all the nuxt and nuxt.config references

* Restore existing comment about Nuxt

* Add dependency for check-plugin

* Add more missing dependencies

* Update to comments

* Correct comment based on PR review
2024-08-07 18:42:08 +02:00
Giuseppe Leo c36b071e40
Remove every reference to .nuxt global option (#11265)
* Remove unused rehydratation plugin

* Remove any reference to the .nuxt folders

* Remove globalApp nuxt and any reference or use case to nuxt.error

* Replace errors handling with existing fail-whale logic
2024-06-21 11:15:05 +02:00
Neil MacDougall f5431cbbaf
Add i18n string usage checker script (#10805)
* Add i18n string usage checker script

* Fix lint issues

* Add i18n check to GH Action workflow

* Update to node 16

* Update workflow to run script properly

* Allow script to return okay if when there are errors

* Add documentation

* Remove commented code
2024-05-02 20:52:15 +01:00
Richard Cox f459aa9b5d
Merge pull request #10874 from richard-cox/richard-drone-dashboard-pr
Port drone build tasks to gh workflows + actions
2024-05-01 15:25:46 +01:00
Neil MacDougall 53e666994d
Unpin Rancher backend (#10900) 2024-04-30 11:10:27 +01:00
Richard Cox 411a9bf8e8 Changes following review 2024-04-26 13:32:22 +01:00
Richard Cox e3143f6164 Port drone build tasks to gh workflows + actions
- Remove old drone build tasks (note - FOSSA will not be ported at this time, discussed in slack)
- create generic setup composit action which can be used by multiple workflows
- create generic lint, i18n-lint and unittest composit action which can be used by multiple workflows
- create generic build-and-upload workflow which can be used by multiple workflows
- trigger build-and-upload on merge to specific branch (TBD)
- trigger build-and-upload on specific tags

Also
- changed name of yarn install:ci as it was used outside of ci

Note
- I'd have liked to group together the workflows used by the build, but things like workflow subfolders
aren't supported
2024-04-25 13:45:11 +01:00
Neil MacDougall c4c7d9e02d
Pin rancher backend image version for e2e tests (#10859)
* Pin rancher backend image version for e2e tests

* Try older image
2024-04-22 17:58:23 +01:00
Neil MacDougall c116777dc3
Zube migration: Update script, update workflow and remove Zube workflow (#10855) 2024-04-22 16:34:24 +01:00
Neil MacDougall 3231fc1962
Update regions list and add script to sync it (#10799) 2024-04-12 20:25:36 +01:00
Richard Cox f2e229eca0 Move e2e build out from each e2e step to a single pre e2e job
- also use yarn cache
2024-03-25 10:32:02 +00:00
Phillip Rak 69c71cfea3 Target `v2.9-head` for e2e runs
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
2024-03-15 16:18:42 -07:00