Skip to content

Releases: tektoncd/hub

v1.11.0

16 Nov 11:53
Compare
Choose a tag to compare

Hub v1.11.0 🎉

This release removes git dependency from Hub config.yaml file and moves all config.yaml data into the API ConfigMap and update the docs for deployment of Hub.

On the CLI, a new flag type has been added to specify the type of Hub from where to pull the resource like artifact or tekton, having default value tekton to keep backward compatible. When type is set to artifact, the CLI fetches resources from the Artifact Hub; when setting to tekton it fetches resources from the Tekton Hub.

This release also adds support to build docker images for multiple architecture, a few bug fixes and dependencies bumps.

ChangeLog :spiral_note_pad:

UI

  • Fixes to show api down error message on UI #711
  • Updates failing UI snapshots #705

API

  • Fix API tests #686
  • Updates api deployment configs #694
  • Updates hub config file parsing #693
  • Bumps goa version and updates the gen folder #702
  • Fix validation tests #687

CLI

  • Add "type" flag to CLI #692

Miscellaneous

  • Adds RunAsUser Security Context for Hub Deployment and Job #714
  • Bump alpine from 3.16.2 to 3.16.3 in /images #716
  • Bump k8s.io/client-go from 0.25.3 to 0.25.4 #720
  • Bump golang.org/x/term from 0.1.0 to 0.2.0 #719
  • Bump github.com/go-co-op/gocron from 1.17.1 to 1.18.0 #717#717
  • Bump k8s.io/apimachinery from 0.25.3 to 0.25.4 #718#718
  • Bump loader-utils from 2.0.2 to 2.0.3 in /swagger #712
  • Bump github.com/markbates/goth from 1.74.2 to 1.75.1 #708
  • Bump github.com/tektoncd/pipeline from 0.40.2 to 0.41.0 #710
  • Bump github.com/spf13/viper from 1.13.0 to 1.14.0 #706#706
  • Bump gorm.io/driver/postgres from 1.4.4 to 1.4.5 #695
  • Bump use-debounce from 8.0.1 to 8.0.4 in /ui #715
  • Bump @typescript-eslint/parser from 5.36.2 to 5.38.0 in /ui #664
  • Bump @testing-library/user-event from 14.2.1 to 14.4.3 in /ui #
  • Bump gorm.io/gorm from 1.23.9 to 1.23.10 #683
  • Use multi-arch postgres image #662
  • Bump github.com/tektoncd/pipeline from 0.40.0 to 0.40.2 ##674
  • Bump gotest.tools/v3 from 3.3.0 to 3.4.0 #682
  • Add Multi-arch support for tekton-hub #656
  • Bump Goa to v3.10.0 #681
  • Bump github.com/ikawaha/goahttpcheck from 1.13.2 to 1.13.3 #707
  • Bump github.com/markbates/goth from 1.74.1 to 1.74.2 #700
  • Bump github.com/go-co-op/gocron from 1.17.0 to 1.17.1 #697
  • Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 #696
  • Bump @testing-library/user-event from 14.2.1 to 14.4.3 in /ui #666

Thanks ❤️ :hugging_face:

v1.10.0

20 Sep 12:55
Compare
Choose a tag to compare

Hub Release Note

Hub v1.10.0 🎉

This release updates the install command on the description page to use recently added new Hub API endpoint to install a resource. This release disables the search in the sort dropdown. There has been dependency bumps included like pipeline v0.40.0 release etc.

ChangeLog :spiral_note_pad:

UI

  • Fix background color for Footer #660
  • Disables search in the sort by dropdown #658
  • Updates Install command on description page #637

Miscellaneous

  • Bump github.com/ikawaha/goahttpcheck from 1.11.3 to 1.11.4 #607
  • Bump gorm.io/driver/postgres from 1.3.8 to 1.3.9 #608
  • Bump alpine from 3.16.1 to 3.16.2 in /images #609
  • Bump gorm.io/driver/postgres from 1.3.8 to 1.3.9
  • Manually trigger github action #620
  • Updates go version to 1.18.x in goa gen workflow #623
  • Bump ejs and react-scripts in /swagger #612
  • Bump ansi-regex from 5.0.0 to 5.0.1 in /swagger #624
  • Bump @braintree/sanitize-url and swagger-ui-react in /swagger #625
  • Adds committer in github workflows #634
  • Bumps goa version and updates the gen folder #622
  • Bump go.uber.org/zap from 1.22.0 to 1.23.0 #630
  • Bump github.com/go-co-op/gocron from 1.16.2 to 1.17.0 #629
  • Bump github.com/ikawaha/goahttpcheck from 1.11.4 to 1.12.0 #631
  • Fixes react-scripts errors and type check warnings #626
  • Removes react-test-renderer npm package #639
  • Bumps goa version and updates the gen folder #642
  • Bump @types/react-syntax-highlighter from 15.5.2 to 15.5.5 in /ui #641
  • Bump @testing-library/jest-dom from 5.16.4 to 5.16.5 in /ui #640
  • Bump github.com/ikawaha/goahttpcheck from 1.12.0 to 1.12.1 #644
  • Bump github.com/spf13/viper from 1.12.0 to 1.13.0 #643
  • Bump @typescript-eslint/parser from 4.0.1 to 5.36.2 in /ui #646
  • Bump @typescript-eslint/eslint-plugin from 5.30.7 to 5.36.2 in /ui #645
  • Bump react-hotkeys-hook from 3.4.4 to 3.4.7 in /ui #648
  • Bump github.com/AlecAivazis/survey/v2 from 2.3.5 to 2.3.6 #649
  • Bump @patternfly/patternfly from 4.196.7 to 4.210.2 in /ui #650
  • Bump gorm.io/driver/postgres from 1.3.9 to 1.3.10 #653
  • Bump gorm.io/gorm from 1.23.8 to 1.23.9 #654
  • Updates release scripts to create new release branch #657
  • Bump github.com/tektoncd/pipeline from 0.39.0 to 0.40.0 #659

Thanks ❤️ :hugging_face:

v1.9.0

10 Aug 05:53
Compare
Choose a tag to compare

Hub v1.9.0 🎉

This release adds an endpoint to fetch a Tekton Resource Raw YAML which can be used to apply the resource directly on cluster. On the UI, now the resources can also be filtered on the basis of their last updated date. Along with that, refactoring to show error messages on UI when API server is not reachable. This release also contains few dependency bumps.

ChangeLog 🗒️

UI

  • Adds an error message to show on ui if api server is down #345
  • Allow sorting the resources by Last Updated At #469

API

  • Add an Endpoint for Fetching a Tekton Resource Raw YAML File #539

Miscellaneous

  • Bump github.com/go-testfixtures/testfixtures/v3 from 3.8.0 to 3.8.1 #602
  • 🤖 Adds bot for updating gen directory 🤖 #596
  • Bump github.com/tektoncd/pipeline from 0.38.1 to 0.38.2 #600
  • Bump github.com/go-co-op/gocron from 1.16.1 to 1.16.2 #598
  • Bumps Goa to 3.8.2 and updates gen folder #603
  • Bumps goa version to v3.7.14 and updates the gen folder #597
  • Run all tests if changes are made to test/ dir #594
  • Bump github.com/go-co-op/gocron from 1.15.1 to 1.16.1 #595
  • Bump node from 17-alpine3.14 to 18-alpine3.14 in /images #481
  • Bump github.com/tektoncd/pipeline from 0.37.2 to 0.38.1 #593
  • Bump @typescript-eslint/eslint-plugin from 4.0.1 to 5.30.7 in /ui #591
  • Adds type for axios error due to typescript bump #572
  • Bump typescript from 3.9.7 to 4.7.4 in /ui #572
  • Bump github.com/go-co-op/gocron from 1.15.0 to 1.15.1 #586
  • Run tests if changes are detected in specific dir #585
  • Bump alpine from 3.16.0 to 3.16.1 in /images #589
  • Bump github.com/ikawaha/goahttpcheck from 1.11.2 to 1.11.3 ht88s://github.com//pull/588
  • Fix Swagger UI Catalog example typo #578
  • Updates gen folder for preview and v1 api's #590
  • Bump goa.design/plugins/v3 from 3.7.12 to 3.7.13 #590
  • Bump terser from 4.8.0 to 4.8.1 in /swagger #583
  • Bump terser from 4.8.0 to 4.8.1 in /ui #582
  • Bump goa to v3.7.12 #581
  • Bump moment from 2.29.3 to 2.29.4 in /ui #571
  • Bump github.com/ikawaha/goahttpcheck from 1.11.1 to 1.11.2 #569
  • Bump gorm.io/gorm from 1.23.7 to 1.23.8 #570
  • Bump github.com/tektoncd/pipeline from 0.37.1 to 0.37.2 #568
  • Move to go 1.17 #567
  • Bump github.com/go-testfixtures/testfixtures/v3 from 3.7.0 to 3.8.0 #565
  • Bump gorm.io/driver/postgres from 1.3.7 to 1.3.8 #563
  • Bump tektoncd/pipeline to v0.37.1 #562
  • Bump gorm.io/gorm from 1.23.6 to 1.23.7 #560
  • Bump mobx from 6.5.0 to 6.6.1 in /ui #559
  • Bump github.com/go-co-op/gocron from 1.14.0 to 1.15.0 #555
  • Bump github.com/markbates/goth from 1.72.0 to 1.73.0 #550
  • Bump github.com/ikawaha/goahttpcheck from 1.11.0 to 1.11.1 #552
  • Bump goa.design/plugins/v3 from 3.7.6 to 3.7.10 #557
  • Bump github.com/stretchr/testify from 1.7.5 to 1.8.0 #554
  • Update gen folder for goa 3.7.10 #558
  • Bump github.com/spf13/cobra from 1.4.0 to 1.5.0 #551
  • Bump github.com/stretchr/testify from 1.7.2 to 1.7.5 #553

Thanks ❤️ 🤗

v1.8.0

27 Jun 12:59
Compare
Choose a tag to compare

Hub v1.8.0 🎉

This release adds a feature to automatically refresh the catalogs at a default interval (default 30 minutes) so that the changes made to the catalogs are reflected on the Hub. The interval for catalog refresh can be configured in tekton-hub-api configmap.
Now at the time of hub deployment, resources will be available on first start of api server without manually performing steps. Also, hub can be deployed without setting up OAuth, resulting in rating and login disabled on UI. Few dependency bumps and refactoring in UI.

ChangeLog 🗒️

UI

  • Fix spinner css and update css classname#500
  • Disable login and rating on UI #542
  • Update UI dockerfile to imclude .npmrc file #548

API

  • Updates gen folder for preview and v1 api's #499
  • Add resources to database during api start#510
  • Skip to read JWTconfig env if AUTH_BASE_URL is empty#541
  • Automate the catalog refresh by job scheduling package in api#547

Miscellaneous

  • Adds POSTGRES_HOST as a secret for db #543
  • Update deployment doc and api config to automate the catalog refresh #547
  • Bump gotest.tools/v3 from 3.2.0 to 3.3.0#545
  • Bump @testing-library/user-event from 14.2.0 to 14.2.1 in /ui #544
  • Bump prettier from 2.6.2 to 2.7.0 in /ui #540
  • Bump @testing-library/user-event from 14.1.1 to 14.2.0 in /ui #538
  • Bump @types/node from 17.0.38 to 17.0.42 in /ui #537
  • Bump @types/react-syntax-highlighter from 13.5.2 to 15.5.2 in /ui #536
  • Bump github.com/ikawaha/goahttpcheck from 1.10.0 to 1.11.0 #535
  • Bump github.com/AlecAivazis/survey/v2 from 2.3.4 to 2.3.5 #534
  • Bump enzyme-to-json from 3.5.0 to 3.6.2 in /ui #533
  • Bump gorm.io/gorm from 1.23.4 to 1.23.6 #532
  • Bump @patternfly/patternfly from 4.185.1 to 4.196.7 in /ui #531
  • Bump github.com/stretchr/testify from 1.7.1 to 1.7.2 #529
  • Bump goa to 3.7.6 and updates gen folder for preview and v1 api's #528
  • Bump goa.design/plugins/v3 from 3.7.5 to 3.7.6 #527
  • Add label dependabot PRs ok-to-test… #525
  • Bump fuzzysort from 1.2.1 to 2.0.1 in /ui #524
  • Bump use-debounce from 7.0.1 to 8.0.1 in /ui #523
  • dependabot: move to a weekly basis #522
  • Bump moment from 2.29.2 to 2.29.3 in /ui #521
  • Bump eslint-plugin-prettier from 3.1.4 to 4.0.0 in /ui #520
  • Bump eventsource from 1.1.0 to 1.1.1 in /swagger #519
  • Bump @types/node from 17.0.26 to 17.0.38 in /ui #518
  • Bump eventsource from 1.1.0 to 1.1.1 in /ui #517
  • Bump axios from 0.26.1 to 0.27.2 in /ui #516
  • Bump gorm.io/driver/postgres from 1.3.6 to 1.3.7 #515
  • Bump github.com/go-gormigrate/gormigrate/v2 from 2.0.1 to 2.0.2 #514
  • Bump github.com/go-testfixtures/testfixtures/v3 from 3.6.2 to 3.7.0 #513
  • Bump github.com/spf13/viper from 1.11.0 to 1.12.0 #512
  • Bump swagger-ui-react from 3.45.1 to 4.1.3 in /swagger #511
  • Bump alpine from 3.15.4 to 3.16.0 in /images #509
  • Bump gorm.io/driver/postgres from 1.3.5 to 1.3.6 #508
  • Bump goa.design/plugins/v3 from 3.7.3 to 3.7.5 #507
  • Bump goa.design/goa/v3 from 3.7.3 to 3.7.5 #505
  • Bump github.com/go-testfixtures/testfixtures/v3 from 3.6.1 to 3.6.2 #503
  • Bump golang from 1.18.1-alpine3.14 to 1.18.2-alpine3.14 in /images #501
  • Bump github.com/markbates/goth from 1.71.1 to 1.72.0 #497
  • Bump goa.design/plugins/v3 from 3.7.2 to 3.7.3 #496
  • Bump goa.design/goa/v3 from 3.7.2 to 3.7.3 #495
  • Bump cross-fetch from 3.1.3 to 3.1.5 in /swagger #494

Thanks ❤️ 🤗

v1.7.3

02 May 10:41
Compare
Choose a tag to compare

Hub v1.7.3 🎉

This minor release splits the nginx.conf by separating locations directive so that it works with images like registry.access.redhat.com/ubi8/nginx-120 where the nginx.conf is present and only locations directive
is required

ChangeLog 🗒️

Misc 🔨

  • Split the nginx.conf by separating locations directive #493

Thanks ❤️ 🤗

v1.7.2

11 Apr 09:08
Compare
Choose a tag to compare

Hub v1.7.2 🎉

This release adds GOMAXPROCS to support k8s CPU quota, adds resource requests and limits for db, api and ui. This release also redirects all the preview api's to /v1

ChangeLog 🗒️

API ✨

  • Add GOMAXPROCS to support CPU quota #402
  • Adds resource requests and limits for api, db and ui #403
  • Redirects preview API's to /v1 #435

Thanks ❤️ 🤗

v1.7.1

21 Mar 06:15
Compare
Choose a tag to compare

Hub v1.7.1 🎉

This release updates the clone path for catalog. For /resources api it adds a redirection to v1/resources and also revert the /resource/{id}/versiosn api to support backward
compatibility .

ChangeLog 🗒️

API ✨

  • Redirects /resources api to /v1/resources #398
  • Revert /resource/{id}/versions api #397

Misc 🔨

  • Change catalog default clone path and update docs #396

Thanks ❤️ 🤗

v1.7.0

07 Mar 13:39
Compare
Choose a tag to compare

Hub v1.7.0 🎉

This release was majorly focused on adding support for private git instance where it clone the private catalog repo as well and refresh the catalog. It also adds two new endpoints /readme and /yaml where now UI can get the readme and yaml from the api server instead of getting it from Github. In this release preview api's are also removed. Adds a doc for upgrading Hub from v1.6.0 to v1.7.0 .

Deprecation Notice ⚠️

We deprecated the preview APIs in v1.0.0 release, i.e., all the APIs related to resources are removed now. Please use the /v1 APIs. Details are as follows:

  • /query -> /v1/query
  • /resources -> /v1/resources
  • /resource/<id> -> /v1/resource/<id>
  • /resource/<catalog>/<kind>/<name> -> /v1/resource/<catalog>/<kind>/<name>
  • /resource/<catalog>/<kind>/<name>/<version> -> /v1/resource/<catalog>/<kind>/<name>/<version>
  • /resource/<id>/versions -> /v1/resource/<id>/versions
  • /resource/version/<versionID> -> /v1/resource/version/<versionID>

ChangeLog 🗒️

API ✨

  • Add ability to clone private git repos and add /readme and /yaml Endpoints #376
  • Store the cloned catalog in persistent storage #380
  • Fix Generation of Raw Readme and YAMLs in v1 APIs #369
  • Bump golang to 1.16 in Dockerfile #390
  • Removes hub preview APIs for resources #386
  • Updated deps to latest for pipeline #387
  • Fixes username check when the pod gets restarted #382

UI ✨

  • Update UI to fetch README and YAML from Hub APIs #376

CLI ✨

  • Update Hub CLI to use /v1 api's as preview api will be removed #358
  • Updates get , install, reinstall, upgrade and downgrade commands to use latest api #388

Misc 🔨

  • Fixes the path for building the images in release script #392
  • Trims Api and UI config urls #385
  • Adds a doc for upgrading Hub v1.6.0 to v1.7.0 #389
  • Updates deployment configs to include the prefix tekton-hub- #379
  • Adds Hub Swagger UI url in readme #370
  • Update ingress for swagger #368
  • Vendoring, root go.mod and Dockerfile updates #367

Thanks ❤️ 🤗

v1.6.0

03 Feb 06:50
Compare
Choose a tag to compare

Hub v1.6.0 🎉

This release was majorly focused on adding a new OAuth server along with support of Gitlab and BitBucket as new OAuth providers. With this new OAuth server it has now become easy to plug in a new git provider whenever required.

On API side, we have added support for Gitlab and BitBucket apart from Github as OAuth provider for login and for that we are using Goth as OAuth provider. We have also modified the response of resources API to return the Hub UI endpoint for each resource.

On UI side, we can now share a particular version of the task from Hub UI. Also we have enhanced the Login view which can now incorporate multiple oauth providers.

On CLI side, Hub commands are now made compatible with development version of Pipelines apart from released Pipelines version. Moreover, we have started to use /v1 APIs for resources.

Deprecation Notice ⚠️

We deprecated the preview APIs in v1.0.0 release, i.e., all the APIs relate to resources were deprecated and now will be removing that in the next release. Please start using /v1 APIs instead. Details are as follows:

  • /query -> /v1/query
  • /resources -> /v1/resources
  • /resource/<id> -> /v1/resource/<id>
  • /resource/<catalog>/<kind>/<name> -> /v1/resource/<catalog>/<kind>/<name>
  • /resource/<catalog>/<kind>/<name>/<version> -> /v1/resource/<catalog>/<kind>/<name>/<version>
  • /resource/<id>/versions -> /v1/resource/<id>/versions
  • /resource/version/<versionID> -> /v1/resource/version/<versionID>

ChangeLog 🗒️

API ✨

  • Adds implementation for Auth Server Using Goth #315
  • Migrate User API's to auth server #325
  • Handle user data and add Gitlab,Bitbucket Support #334
  • Change user_name to userName in /info API #352
  • Adds Hub Url path in resources api response #346
  • Handles user data username case formatting #359

UI ✨

  • Updates auth UI to supports multiple auth provider #306
  • Fixes error handling condition for login #364
  • Adds selected resource's version as param to the details page url #347

CLI ✨

  • Update Hub CLI to use /v1 api's as preview api will be removed #358
  • Allow installing Hub tasks on development version of Pipelines #333

Misc 🔨

  • Minor fixes in API and UI and Config files updates #357
  • Updates the CONFIG_JS variable in start.sh by making it parameterized #355
  • Update UI snapshots to match the current year #350
  • Update deployment configs with latest envs #349
  • Updates the gen folder #339
  • Adds a script to generate release yamls #335
  • Adds Vinamra as Hub Owner 🎉 #365
  • Update Deployment and Development docs based on new auth changes #362
  • Add annotations in ingress for API and Oauth #366

Thanks ❤️ 🤗

v1.5.0

25 Oct 14:01
Compare
Choose a tag to compare

Hub v1.5.0 🎉

This release was focussed for supporting platforms on Tekton Hub, couple of fixes in dependencies and test cases. Handles deprecation and deletion of resources on both api and ui

On UI side, fixes security vulnerability in npm dependencies. Adds platform related information where user can filter the resources based on selected platforms on home page and on different platforms for selected version on details page.

On API side, couple of fixes in test, returns the error if the migration fails, handles deprecation by updating the API response and deletion of resources by updating the catalog sync

On CLI side, adds platform and categories support, adds -o wide in search command and adds initial e2e test for get and info command

On Docs side, add guidelines to add new categories in Hub and bumps the images for api and ui

ChangeLog 🗒️

UI

  • #296 Adds warning icon having a tooltip to point out the deprecation of a version
  • #326 Show Open Resource in <provider> on the basis of provider
  • #329 Show platforms information for each resource version
  • #308 Fixes security vulnerability in npm dependencies
  • #328 Filter resources based on platforms

API

  • #284 Parses deprecation info from resources and update the API's Response
  • #313 Add support for GitHub Enterprise
  • #305 Remove username formatting(convert lowercase) while saving
  • #317 Switch jwt libraries to golang-jwt/jwt.
  • #318 Return err if db-migration fails
  • #321 Catalog refresh for different git providers
  • #323 Minor text fixes in the information about platforms
  • #292 Update the Catalog sync to delete the removed resources info from existing db
  • #330 Minor fix in the test fixtures

CLI

  • #311 Adds o wide flag and categories in search command
  • #307 Add platform support to hub cli
  • #285 Init e2e Test for Get Command
  • #327 Adds e2e test for Hub info command

Miscellaneous

  • #310 Adds docs to define steps to add new categories in Hub
  • #309 Removes namespace from swagger config files to maintain consistency
  • #331 Give Vinamra & Piyush Hub scopes
  • #332 Bump base images in API and UI Dockerfiles

Thanks ❤️ 🤗