forked from eclipse-apoapsis/ort-server
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wkl3nk/remove-job-configuration-recursive-checkout #1
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
More than just one SBOM is offered for download. Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
Use title-case for these button captions. Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
In case of system theme / dark in use, the CycloneDX icon variant was incorrectly chosen as the dark variant. Solve this by extending the theme state with selectedTheme and activeTheme, and when system theme is used, the active theme is decided using a media query. Signed-off-by: Jyrki Keisala <jyrki.keisala@doubleopen.org>
Create a slicker look by not using a title. All information is included elsewhere (breadcrumb bar, menu item) anyway. Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
The new module is going to host the implementations of maintenance tasks that should be scheduled periodically. Initially, add a basic interface for such tasks. Signed-off-by: Oliver Heger <oliver.heger@bosch.io>
Add a `main` function to the `tasks` module that will serve as entry point to the container image. The function determines the task(s) to execute via a configuration setting and takes care about the execution. It obtains tasks and their dependencies from a Koin configuration. Signed-off-by: Oliver Heger <oliver.heger@bosch.io>
Add a configuration for the jib plugin to create a container image with all maintenance tasks. In order to run specific tasks, this image must be launched with a corresponding configuration. Signed-off-by: Oliver Heger <oliver.heger@bosch.io>
Add the config parameter and the corresponding UI to select the package managers that should be run preceding this. Signed-off-by: Jyrki Keisala <jyrki.keisala@doubleopen.org>
The `listRunsBefore` function is currently used to determine ORT runs that can be deleted according to the data retention policy. For this use case, the implementation is problematic because it constructs complete `OrtRun` objects with all dependencies; this is not feasible for a larger number of results. Therefore, replace the function by a new `findRunsBefore` function that returns only the IDs of matched runs. Use a different naming scheme here, as other `list` functions typically return entities. Adapt `OrtRunsService` (which is the only client) accordingly. Signed-off-by: Oliver Heger <oliver.heger@bosch.io>
Explicitly log the numbers of successful and failed delete operations to have a better overview if something went wrong. Signed-off-by: Oliver Heger <oliver.heger@bosch.io>
Add `@easyops-cn/docusaurus-search-local` [1] as a local search plugin for Docusaurus. Fixes eclipse-apoapsis#1673. [1]: https://github.com/easyops-cn/docusaurus-search-local Signed-off-by: Martin Nonnenmacher <martin.nonnenmacher@bosch.com>
Simplify handling of run parameters by reducing the number of individual options by allowing JSON input instead of separate arguments. Signed-off-by: Julian Olderdissen <julian.olderdissen@bosch.com>
Add a workflow that checks if a PR is linked to all issues referenced in the commit messages [1]. If the issue references in the commit messages and the issues linked to the PR are not in sync, the workflow adds a comment to the PR. This is a workaround for the issue that the auto-close feature does not correctly work when using a merge queue, see [2] and [3]. Ideally the PR would automatically update the issue link, but it seems that GitHub does not provide an API for that. Also, there is no PR event that is triggered if issue links are updated, so the PR comment is only updated if the PR itself is updated. Fixes eclipse-apoapsis#868. [1]: https://docs.github.com/en/issues/tracking-your-work-with-issues/using-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword [2]: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/5543 [3]: eclipse-apoapsis#868 Signed-off-by: Martin Nonnenmacher <martin.nonnenmacher@bosch.com>
This fixes the check for PRs from forks. Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
The note sounded a bit as if there were immediate plans to be able to run without the analyzer, but this is not the case. Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
This should fix another permission issue [1] when creating a PR from a fork, see the docs at [2]. [1]: https://github.com/eclipse-apoapsis/ort-server/actions/runs/12989497197/job/36222632642#step:7:22 [2]: https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request_target Signed-off-by: Sebastian Schuberth <sebastian@doubleopen.org>
The `value` property was not mapped when converting an API object to a model object. Fixes eclipse-apoapsis#1894. Signed-off-by: Oliver Heger <oliver.heger@bosch.io>
Before a scan starts in a Scanner pod, generate a `.gitconfig` environment file containing URL `insteadOf` sections. These are required if the repository contains submodules specified using SSH URLs. The `insteadOf` sections can either be generated using default values in `application.conf` or customized via the environment variable `GIT_CONFIG_URL_INSTEAD_OF`. This allows flexibility in defining what URL `insteadOf` sections are created in `.gitconfig`. Signed-off-by: Wolfgang Klenk <wolfgang.klenk2@bosch.com>
Add needed support (form validation schema and default handling) for environment variables to ORT run creation utils, in preparation of adding the support to the UI. Signed-off-by: Jyrki Keisala <jyrki.keisala@doubleopen.org>
Use a similar component for adding the names and values for environment variables to the Analyzer configuration section as is already used for the run parameters. At this stage, secrets are not handled as part of environment variable settings. Signed-off-by: Jyrki Keisala <jyrki.keisala@doubleopen.org>
`mustRunAfter` part was missing from the package manager options in the "Analyzer" section of the "Job Configurations" page. Also clean the component a bit by removing all unnecessary optional chaining operators from it. Signed-off-by: Jyrki Keisala <jyrki.keisala@doubleopen.org>
In case environment variables have been set for the Analyzer in the run, list them as part of the Analyzer details. Signed-off-by: Jyrki Keisala <jyrki.keisala@doubleopen.org>
Now that the Analyzer job configuration `submoduleFetchStrategy` is established and all downward compatibility measures are in place, remove the configuration parameter `recursiveCheckout`. Signed-off-by: Wolfgang Klenk <wolfgang.klenk2@bosch.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.