* 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
* 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
* 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
* 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
* 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
* Add migration script and documentation
* Correct linting issue due new location of script
* Remove v-model migration due lack of emitter implementation
* Fix parse-tag-name script to use correct GITHUB_WORKFLOW_TYPE
build-extension-charts.yml workflow passes "charts" as GITHUB_WORKFLOW_TYPE
build-extension-catalog.yaml workflow passes "catalog" as GITHUB_WORKFLOW_TYPE
This change utilizes correct workflow types in the parse-tag-name script. For
charts it checks against package.json in pkg and for catalog it checks against
root package.json
* Fix missing script parse-tag-name
This change moves the "Parse extension Name" step after the step which
installs dependencies at which point the script becomes available.
* Update 'Upload charts artifact' step condition to work for tagged releases
Tagged releases are 'tag' ref_type. For these cases we want the step to run
as well.
* update shell pkg workflow to release the remaining pkgs that are usually published in tandem with shell on npm
* change workflow trigger just for testing
* updates
* PR cleanup after proving workflow
* update arg
---------
Co-authored-by: Alexandre Alves <aalves@Alexandres-MacBook-Pro.local>
* 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
* Add reusable workflows for extension builds
Add workflow configuration
* Add parsing of extension release tag name
* Update permissions for ext workflows
* Extension support for custom provisioning
* FIx lint issues
* Discovery / Tweaks
- fix issue where namespacesOverride was lost
- tidy up PROVIDER
- try to handle missing provider=type url param (could be missing extension-params)
- added a few comments to comments to come back to
* Names and typings
- change param --> customParam to make it clearer it's not url params
- add labels-annotations to shell types
* Wire in provider detailTabs
- as per original readme this should be made generic (extension point working directly with ResourceTabs)
* Update IClusterProvisioner & docs
* Improvements / Changes to support proving out DO extension
- cluster hooks optional
- buff up save hook (and pass in cluster when calling apply fn)
- move normalizeName into generic place
- bring back async create machine config
- hack for do extension (map example provider to do provider)
* updates, add optional saveCluster, add missing kube file
- saveCluster complements hooks, doesn't skip handling of addons, etc
- ensure register hooks take the `this` context in all worlds
* Adding docs
* Updates
- location config based changes
- change customParams to context
- add query param
- add new extention point to add tabs to cluster create cluster config section
- fixed some typing
- fixed issue where cluster was not passed to before / after hooks (only important if 'this' changes
* Changes following review, fix `t` in plugins
* Fix linting
* Docs updates, pass through more edit/view things
* Conditionally show the namespace grouping in the cluster list
- means users can differentiate between clusters with same name in different namespaces
- useful when clusters created via extension provisioner where ns can be selected
* docs tweaks, actually include the provisioning page in docs
---------
Co-authored-by: Richard Cox <richard.cox@suse.com>
* Add github workflow option to creator pkg
Add js-yaml to creator pkg dependencies
Update init to move workflow file into root app dir
Split build-extension workflow jobs - add tmp directory step in publish script
Fix issues with non-existent workflows - add some docs
Fix pkg and app versions
add yarn.lock and ignore
Update workflow to use @rancher/shell publish script
Decouple the image build from the publish script - update docs
Remove implies for repo and branch options
Update advanced.md
Change type folder generation from i18n to l10n
Remove mention of tmp dir in clean-up section
* Remove bundle registry_org conditional