* Ensure build-extension-charts runs that create PRs have GH_TOKEN set
* add optional override to github.token
* Revert "add optional override to github.token"
This reverts commit c6668395be.
* move env to correct step....
* add permisions to step
* add to other file, fix typo
* Incorporate compressedEndpoint property into extension charts - refactor publishing script to use values.yaml for endpoints
* Include compressed extension in ECI build plugin contents
* Add internal api scaffolding and documentation
* Fix docs build
* Refactor `apiName` to a static method for proper enforcement
* Restructure idea around ts augmentation for internal apis
This change enhances the extension-server.labels directive in _helpers.tpl
to avoid error when setting the app.kubernetes.io/version label with version
which includes + character. This is valid for semver but not for label version.
The solution adopts the convention used in Helm which replaces + with _ when
storing the version in places which don't allow + usage, e.g. OCI repository.
The same approach is already used in the `extension-server.chart` directive,
which is also used as a label value.
Fixes Issue 13584
* Add support for different doc links
* Adding missing e2e test tags
* Auth page not accessible to standard user (admin tests seem sufficient)
* Ensure types are generated for version file
* Update doc links
* Update to remove plugin remove for builtin extensions
* Change the plugin load status back to how it was
* Fix i18n issue
* Fix translation load for built-in extensions
* Add hooks to support virtual clusters
* Fix lint issues
* Refinements
* Update for Vue 3 changes
* Fix import
* Minor tweaks
* Fix bug causing e2e tests to fail
* Fix lint issue
* Rename internal properties and ensure they don't break clone/save
* Ensure we generate types for the plugins package to give us access to mapDriver
* Simpler approach
* Fix lint issues and add type
* Remove unused code
* Revery unnecessary changes
* Bug fix for finding model extension
* Factor out string constant and add provider display method
* Add experimental to API
* Update typegen.sh to use SHELL_DIR var
* Move type def
* Fix lint issue
* Address PR feedback
* Update steve-class.js so we always get an array
* Fix type definition
* working on key nav for cluster badge appearance
* color input is now key nav friendly + tooltip works on focus + trying to get focus trap to work properly
* remove console logs + add focus trap to card component with prop control + fix element for config badge button
* fix lint problem
* fix TS errors on pkg build
* remove step of building the skeleton app in the check-plugins-build step, which imo doesnt serve any purpose whatsoever
* add focus-trap as a shell dependency + revert publish script change
* remove focus-trap directive + improve chaining event handler modifiers
* pin focus-trap to 7.6.2 + replace link for button on cluster explorer main page + remove unused ev
* address pr comments
Neuvector builds currently fail with the error
```
ERROR Failed to compile with 1 error5:49:49 PM
error in utils/common.ts:85:23
TS2694: Namespace 'dayjs' has no exported member 'ManipulateType'.
83 | base: string,
84 | interval: number,
> 85 | intervalUnit: dayjs.ManipulateType,
| ^^^^^^^^^^^^^^
86 | pattern = "YYYYMMDDHHmmss"
87 | ) {
88 | // base format: "YYYYMMDDHHmmss"
```
It appears that neuvector might require some updates that are unrelated to bumping Vue to 3.5.x. We will disable this test until neuvector can be patched.
Signed-off-by: Phillip Rak <rak.phillip@gmail.com>
* cluster list now uses resource table
* New PaginatedResourceTable
* WIP
* add context to pag setting
* tidying up
* Add server-side pagination to cluster explorer events and general events list
* Servier-side pagination for catalog apps, cluster repo and operation
* Servier-side pagination for Service --> HPA, inmgress, services
* Server-side pagination for home page clusters list and side bar clusters
- Functional Changes
- SSP now works after vue3 bump
- Home Page Clusters list now uses server-side pagination
- Side Bar clusters list now uses server-side pagination
- Wire in now supported sorting / filtering by id and name used for table columns
- Allow pagination to be enabled given a specific context
- Call findPage without persisting to store
- New Pagination Tools
- PaginatedResourceTable - Convenience Component, wraps ResourceTable with pagination specific props
- PaginationWrapper - Convenience class to handle requests for resources and updates to them (avoiding store)
- Regressions
- Side Nav menu ready state was `mgmtCluster.isReady && !pCluster?.hasError`, now ???
* fixes after merge. apply PagResTable to node list, vue3 fixes
* - Fix issue where list components containing PaginatedResourceTables would incorrectly fetch all resources anyway
- convert reminaing storage lists
* policy section
* fix async button in manual refresh mode
* fgh
* aaaaa
* Server-side pagination for home page clusters list and side bar clusters
- Functional Changes
- SSP now works after vue3 bump
- Home Page Clusters list now uses server-side pagination
- Side Bar clusters list now uses server-side pagination
- Wire in now supported sorting / filtering by id and name used for table columns
- Allow pagination to be enabled given a specific context
- Call findPage without persisting to store
- New Pagination Tools
- PaginatedResourceTable - Convenience Component, wraps ResourceTable with pagination specific props
- PaginationWrapper - Convenience class to handle requests for resources and updates to them (avoiding store)
- Regressions
- Side Nav menu ready state was `mgmtCluster.isReady && !pCluster?.hasError`, now ???
* Iteration
Note - prov clusters is broken (only fetches local) due to blocking pr. breals
- notPinned list
* Fix dupe inStore
- remove from resource list, put in resource-fetch (used also by pag res table)
* Fix dupe inStore
- remove from resource list, put in resource-fetch (used also by pag res table)
* Two fixes
- changes namespaces kicked of side nav cluster requests (thought pinnedIds changed)
- fix generic lists re-fetching given ns filter changes (they don't have namespaced arg)
* fixes / updates
* testing/tidying
* WIP - Rest of workload lists
* finish off workloads
* tidying up
* fix non-generic list filtering by namespace
* remove comment, backport fix
* test fixes
* E2E: Ensure we wait for cluster entries to exist before clicking on them
* backport fix for local/api filtering
* Remove debug code
* Changes after review
* e2e fixes / debugging
* More e2e fixes
* More e2e fixes
* More e2e fixes
* Fix generic pages that filter on pagination
* Attempt to fix flaky vai test
* Fix after merge from master
* Updates following new indexed files
* Fix lint and test
* Changes given real cluster tests
- general fixes
- correct issue were sorting prov clusters on mgmt cluster props (issue in master as well...)
- bit the bullet, we now don't fetch all mgmt clusters on dashboard visit.
- there could be knock on affects, but we'd need to remove it sometime in 2.11....
* Fix issues with diplaying rke1 data in home page
- includes https://github.com/rancher/dashboard/pull/12881
* Fix unit tests
* remove invalid sort/filter type
* Running through new indexed fields
* fix unit tests
* lint fixes
* Fixes after small review
* lint
* Test for check-plugin-gates pkg build from shell
* e2e fixes
* Testing new indexed fields with dev image
* tidyuing up imports in hope to fix ts error in check-plugins gate
* Fix failing check-plugin-gates
- caused by shell/scripts/test-plugins-build.sh importing list/catalog.cattle.io.clusterrepo.vue
- the component had been updated to a TS component
- check-plugin build outputs TS errors for a component file imports
- vs code shows no errors for imported file
* tidying up a smidge
* Many tweaks
- Remove final todo's
- includes fix for service type clusterip/headless overlap
- Removed ununused ENDPOINT column (note ENDPOINT formatter used in other columns)
- Testing freshly added index fields
* Improve location of new place where componentWillFetch is set
* fix lint, comment updated
* Fix failing e2e tests
- fix cluster dashboard events test
- fix and greatly improve flaky events test
- fix hpa test
- functional fixes
- fix sorting/filtering events by object type
- fix hpa columns
* small fixes to workflow test runs
* move retrieve-versions script to better location
* update paths for retrieve-versions script
* fix slack messages
* fix slack messages
* fix parse-tag-name to allow for release of both catalog and charts for extensions
* add mising type definitions
* create nightly tests for extension workflows in branch 'master' + adjustments needed for the workflows in test to be testable
* add missing script changes + add workflow to run tests against release-2.9
* add workflow to run tests against release-2.8
* adjust workflows to not use release-status output since it will never be populated as that job doesnt run in these workflow tests
* re-enable extension checks for elemental and kubewarden in test-plugins-build
* remove @rancher/shell package instead of removing the whole yarn.lock
* comment out wfs for faster pipeline runs + tweak test-plugins-build code
* comment out wfs for faster pipeline runs + tweak test-plugins-build code
* revert wfs runs that were disabled
* Allow extensions to override node provider icons for cloud credentials
* Fixed issue where "-printf" argument of "find" command doesn't work on Mac with BSD version of find.
* 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
* 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