Commit Graph

31 Commits

Author SHA1 Message Date
Richard Cox 40b899635a
Ensure extension repo build and release feature works when using PRs (#15655)
* 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
2025-10-20 12:24:51 +01:00
Alexandre Alves f8bb2d4bd7
revert pipefail change + bump shell (#14346) 2025-05-14 16:04:48 +01:00
Jordon Leach a7ae765080
Incorporate compressedEndpoint property into extension charts (#13236)
* Incorporate compressedEndpoint property into extension charts - refactor publishing script to use values.yaml for endpoints

* Include compressed extension in ECI build plugin contents
2025-04-23 09:12:47 -04:00
Alexandre Alves 45a1c7b271
add pipefail to publish script + bump shell version (#13967) 2025-04-11 09:51:31 +01:00
Jiri Tomasek 348c70097f
Sanitize the version when setting it in UIPlugin label (#13585)
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
2025-03-18 08:42:00 +00:00
Alexandre Alves d4e88d4e1a
fix parse-tag-name to prevent workflow from running when a tag check is not met + bump shell version (#12841) 2024-12-10 12:00:58 +00:00
Jordon Leach 5fe50041fc
Clean up extension creator - add rancher annotations to pkg.package.json (#12741)
Remove annotations from helm chart
2024-12-03 05:13:53 -05:00
Alexandre Alves df7e954baa
small fixes to workflow test runs (#12676)
* 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
2024-11-26 17:19:55 +00:00
Alexandre Alves c0e4d97dca
Create nightly tests for extension workflows in branch 'master' (#12595)
* 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
2024-11-25 18:23:05 +00:00
blackwood821 adef9c30a0
Make Extension Catalog Image Build compatible with Mac (#12122)
* 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.
2024-10-07 14:44:54 +01:00
Neil MacDougall dc4390ab52
Update publish script to update existing charts (#12079) 2024-10-02 09:35:58 +01:00
Alexandre Alves 53a9580ccb
remove upper limit on kube version for default annotations (#11768) 2024-08-30 15:26:42 +01:00
Alexandre Alves 91b4a3dfb3
bump upper limit of kube version annotation in default chart.yaml (#11715)
* bump upper limit of kube version annotation in default chart.yaml

* update version
2024-08-27 18:00:51 +01:00
Neil MacDougall 71712d84b9
Extensions: Add support for noAuth in publish script (#11220) 2024-06-13 11:15:36 +01:00
Alexandre Alves 289bef8e0f
update patch script to copy pkg annotations to uiplugin resource (#11170)
* update patch script to copy pkg annotations to uiplugin resource

* add indent notation to metadata field
2024-06-13 09:32:09 +01:00
Guilherme Macedo 6766adbc46
Bump BCI image version to 15.5 (#10687)
Signed-off-by: Guilherme Macedo <guilherme@gmacedo.com>
2024-03-22 16:09:55 +00:00
Jordon Leach 9d836dd5e5
Fix parse tag name condition to check for proper workflow types (#10364) 2024-01-31 10:35:50 -05:00
Jiri Tomasek 9bf467179b
Fix parse-tag-name script to use correct GITHUB_WORKFLOW_TYPE (#10278)
* 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.
2024-01-18 08:48:45 -05:00
Jordon Leach 20de414d04
Add GitLab support for extensions (#9891) 2023-11-20 14:12:47 -05:00
Richard Cox e07fedfa94 Bump extension max versions 2023-10-02 17:08:49 +01:00
Jordon Leach 203734ec6c
Fix pkg creator workflow filenames (#9676)
Fix parse-tag-name permissions
2023-09-12 10:05:39 -04:00
Jordon Leach 5dd0d52942
Add reusable workflows for extension builds (#9495)
* Add reusable workflows for extension builds

Add workflow configuration

* Add parsing of extension release tag name

* Update permissions for ext workflows
2023-08-28 11:23:10 -04:00
Jordon Leach c23dcf5de6
Add tagged release option to publish-pkgs script (#9456)
* Add tagged release option to publish-pkgs script

* Update publishing documentation for manual Github builds
2023-08-02 07:42:05 -04:00
Jordon Leach e0cecc4231
Add conditions for updating root index of extension (#9289) 2023-07-17 14:14:09 -04:00
Alexandre Alves 398585fb83
bump kube version (#9139)
Co-authored-by: Alexandre Alves <aalves@Alexandres-MBP.lan>
2023-06-20 19:11:34 +01:00
Jordon Leach be2689bdda
Clean up temporary charts - fix chart url path (#9075) 2023-06-09 12:16:45 -04:00
Jordon Leach d94e78c24a
Add extension image load dialog (#9010)
Update dialog with repo creation - update docs

Add uninstall for custom images

Add extension images list view

Add image load dialog and uninstall within extension image view

Update publish and bundle scripts for image load - move image page to tab

Add extension container build workflow file to pkg creator

Move plugin server template into extension build scripts

Fix publish script for multiple asset packages

Move ImageList view to separate page - add crd metadata for custom images

Update docs - fix references to images with catalog

Fix wording, cache state badge, masthead breadcrumb, when deleteing resources check for namespaces

Update docs - fix delete repo resource - default cache state

Trim image whitespace - populate extensionUrl

Add experimental badge
2023-06-02 08:28:47 -04:00
Jordon Leach 678e7db7ea
Fix publish script to properly check for gh-pages branch (#8781)
Bump shell version 0.3.7
2023-05-04 10:21:25 +01:00
Jordon Leach c1c340bc53
Update extensions publish workflow for assets in gh-pages branch (#8618)
* Update extensions workflow to move assets into gh-pages branch

Fix gh-pages check

* Move bundle execution - add default basename and ext version

* Fix basename op

* PR changes
2023-04-26 08:39:26 -04:00
Jordon Leach 2d5e1c32ee
Add github workflow option to creator pkg (#8318)
* 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
2023-04-03 15:44:16 -04:00
Neil MacDougall 6537360006
Extensions: Add publish script to shell (#8198)
* Add publish script to shell

* Fix wrong path
2023-02-21 20:06:48 +00:00