Commit Graph

16 Commits

Author SHA1 Message Date
Jordon Leach c171255899
Ensure @rancher/shell version using tags (#11758)
* Ensure @rancher/shell version using tags

Enable corepack for extension builds

Migrate creators outside of shell dir

Update creators path - switch to npm publish

* Add NPM_REGISTRY to publish args

* Fix creators_dir path - Bump ext package

* Add update package version function in test script

* Fix gitignore file name

* Add .yarnrc.yml for skeleton - revert node versions
2024-08-30 19:10:19 -04:00
Alexandre Alves 138601c6a6
Update publish shell workflow to allow for independent release of either shell or creators packages (#11697)
* add step for checking tag version matching + remove unused tmp_dir var + update creators version to match what was published on npm

* add missing env var + script cleanup

* updated publish-shell script to allow for independent publish of shell or creators pkgs via tag + minor changes to have it work on a PR just for testing

* update string

* update string

* update string check with sed

* revert wf and publish-shell to correct form

* address pr comments

* fix TAG export

* stringify case strings + fix publish-shell script with path for creators pkg publish

* re-trigger gates

* add check if npm tag should be pre-release
2024-08-30 14:28:53 +01:00
cnotv ec73efb9f4 Check-plugin: Removing extension integration due lack of update 2024-08-22 16:09:54 -07:00
Jordon Leach 21120630f7
Consolidate extension creators into one package (#11605)
* Consolidate extension creators into one package

* PR updates

* Fix test-plugins-build script to match new creator - remove dependency install step
2024-08-22 11:18:49 -04:00
Evgeniya Vashkevich 24e2718577
[INT] Added CAPI ui to the list of extensions to test (#11398) 2024-08-08 07:03:54 -07:00
Alexandre Alves 0092617300
improve shell api gating (#11164)
* improve shell api gating

* update logic

* minor update

* populate extensions API version as latest shell version

* remove semver dependency on creators/pkg

* update script

* change

* change

* add default shell API version if there is no annotation in the metadata for gating it

* remove default for shell API in uiplugins + fix creators/pkg init script to read shell version from node_modules

* add mechanism to prevent shell pkg folder check for creators/pkg in our pipelines

* cleanup comment

* bump shell version on master
2024-07-01 13:58:08 +01:00
Nancy 374a839720
refactor extension uninstall tests (#11286)
* split extension uninstall tests by extension so retries work

* disable failing fleet test

* comment out test instead of using .skip

* stop running kubewarden-ui tests in dashboard ci
2024-06-21 14:05:45 -07:00
Giuseppe Leo 79af5ef829
Upload artifacts as output of check-plugins check for debugging (#10118)
* Upload artifacts

* Do not remove files

* Correct node_modules exclution

* Restrict to failure and 2 days

* Adding condition for cleanup; Added log with path

* Add eslintignore for kubewarden and elemental

* Update Regex for versions

* Include -rc and multiple digits for alpha

* Format indentation fix
2023-12-11 22:04:49 +01:00
Alexandre Alves 0abdbfa903
improve test plugins build script (#10102)
* improve test plugins build script to test extension build with newly built version of the shell package

* uncomment code

* uncomment code

* fix clone permissions issue + add missing registry variables

* revert changes

* revert changes

* address pr comments + delete unwanted code

---------

Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
2023-12-06 14:03:51 +00:00
Neil MacDougall f69dcff49d
Ensure build fails when it fails! (#8201) 2023-02-17 17:09:29 +00:00
Neil MacDougall b73940b7e3 Need to build after yarn install 2022-12-01 16:59:08 +00:00
Neil MacDougall 7bac916f96 Fix test plugins script to avoid version issues with rancher components lib 2022-12-01 16:51:11 +00:00
Neil MacDougall 4abc94a940
Fix plugin pkg tsconfig (#6930)
* Fix pkg tsconfig

* Ensure test package is removed

* Fix package versions

* Add update package and refine typescript configuration

* Fix lint issues

* Fix issues with creators

* Install dependencies

* Fix e2e

* Include components for standalone app build

* Fix issue with yarn linking shell

* Fix for yarn linking

* Fix for lstat on non-existing file

* Fix lint issue when running with yarn link

* Update TextAreaAutoGrow.vue

* Fix test script build

* Fix test script issue

* Fix script on mac
2022-11-24 10:03:42 +00:00
Neil MacDougall 0eacd47718
Ensure we use a version number (#6792) 2022-09-01 14:45:59 +01:00
Neil MacDougall 8b02a3fbf7 Fix plugin check script 2022-09-01 13:57:07 +01:00
Neil MacDougall c614af2173
Plugins fixes and check GitHub action (#6370)
* Plugins fixes and check GitHub action

* Update check-plugins.yaml

* Update check-plugins.yaml

* Debug script

* Debug script

* Make sure verdaccio check does not fail script

* Allow errors when checking

* Fixes for CI

* Fix directory cleanup

* Debug

* Add yarn install for in-tree check

* Fix lint issues
2022-07-20 13:07:38 +01:00