Tags: nforgeio/operator-sdk
Tags
Update publish.yaml and remove release jobs Updated the `args` in the `jobs` section of `publish.yaml` to `-vv --latest --unreleased --strip header` and set the `env` variable `OUTPUT` to `CHANGES.md`. Removed two jobs, `update release` and `update prerelease`, which were using the `tubone24/update_release@v1.0` action and were conditional on the release type. These jobs used the `GITHUB_TOKEN` environment variable set to `secrets.RELEASES_TOKEN` and had their `body` set to the output of `steps.git-cliff.outputs.content`.
Update release and prerelease steps in GitHub Actions This commit updates the action used for uploading the changelog and prerelease changelog from `svenstaro/upload-release-action@v2` to `tubone24/update_release@v1.0`. New steps `update release` and `update prerelease` have been added with an id of `update_release`. These steps now include an `if` condition to check if the release is a prerelease or not. The `GITHUB_TOKEN` environment variable has been added to these steps. The `repo_token` and `tag` inputs have been removed, while the `body` input remains the same, taking the output content from the `git-cliff` and `git-cliff-prerelease` steps respectively.
Added CancellationToken support for async operations Added the `System.Threading` namespace to several files to enable the use of the `CancellationToken` class. Updated numerous methods across various files and namespaces to accept a `CancellationToken` parameter, allowing for cancellation of asynchronous operations. This includes methods in `IResourceController.cs`, `ResourceControllerBase.cs`, `FinalizerManager.cs`, `IFinalizerManager.cs`, `EntityFilter.cs`, `Neon.Operator.ResourceManager`, `TestDatabaseController.cs`, `TestResourceController.cs`, and others. Also, moved the `Ok()` method and added `StartAsync()` and `StatusModifiedAsync()` methods in `ResourceControllerBase.cs`.
Added CancellationToken support for async operations Added the `System.Threading` namespace to several files to enable the use of the `CancellationToken` class. Updated numerous methods across various files and namespaces to accept a `CancellationToken` parameter, allowing for cancellation of asynchronous operations. This includes methods in `IResourceController.cs`, `ResourceControllerBase.cs`, `FinalizerManager.cs`, `IFinalizerManager.cs`, `EntityFilter.cs`, `Neon.Operator.ResourceManager`, `TestDatabaseController.cs`, `TestResourceController.cs`, and others. Also, moved the `Ok()` method and added `StartAsync()` and `StatusModifiedAsync()` methods in `ResourceControllerBase.cs`.
PreviousNext