-
Notifications
You must be signed in to change notification settings - Fork 136
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
feat: Release/v2.1.16 #5800
feat: Release/v2.1.16 #5800
Conversation
chore: Release v2.0.12
…ructions (#5676) * fix(testworkflows): avoid unnecessary empty data in ContainerConfig * feat(testworkflows): add basic implementation to build list of operations / grouping them, based on the TestWorkflowProcessor's Stages * feat(testworkflows): migrate basics of container execution for handling multiple steps in single container * feat: support conditions with new Init Process kind * feat: encapsulate init process' container state * chore: rename container to setup * feat: support dynamic environment variables * feat: add mock for pause in the Init Process * feat: discriminate TestWorkflow instructions with ActionType * chore: rename Paused to PausedOnStart * chore: change StepData mutations * chore: extract action.Action to separate package * feat: move *Stage to separate package * chore: reorganize action files * chore: delete unused * chore: extract lightweight version of actions to avoid increase in Init Process size * feat: abstract the executions in the Init Process * fix: aborting Test Workflow processes * fix: support statuses properly in the Init Process * fix: parsing container logs * chore: delete debug information * feat: make the root operation constant * feat: support timeout for Test Workflow steps * feat: add back retry functionality for the Test Workflows * feat: support pause/resume for Test Workflows * chore: delete unused code * fix: watching services * fix: some unit tests * chore: add instructions check in unit test * chore: refactor action unit tests a bit * fix: build correct conditions when there are grouped steps * chore: adjust processor tests * chore: delete unused function * feat: streamline the output in the Init Process, to allow obfuscating sensitive words * feat: mask secret environment variables * chore: extract function to get last step * chore: unify internal machine for Init Process * chore: move step timeout logic to the Init Process main switch * fix: use default ContainerConfig for setup step container * feat: use /bin/sh instead of /.tktw/bin/sh in case the Init/Toolkit image is used * chore: fail property accessor in case of nullish value to access * feat: ensure that aborted step is considered aborted, not skipped * fix: machine for retry in the Init Process * chore: rename `instructions` related to Actions to `actions` * fix: send again toolkit/init image data along with Pod information from Test Workflow * chore: simplify StepStatusFromCode * fix: clean up printing in the Init Process * chore: clean up getting actions in Processor tests * chore: rename variable in Control Server * chore: extract control server options to separate file * chore: expose a bit configuration of sensitive words minimum length * chore: delete obsolete todos * fix: avoid copying binaries from the Init image when it's not necessary * fix: unit tests * fix: group conditions * chore: wrap errors * chore: reduce the size of Init Process * fix: detect the Toolkit properly * chore: rename SensitiveReadWriter to Obfuscator * feat: show last characters in the obfuscated log output * feat: make some environment variables sensitive by default * chore: first set of code review fixes * chore: make the 00 and 01 special groups constants * chore: log error for mkdir of working directory * chore: delete commented out code * fix: handle errors in the setup step
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.3 to 2.4.0. - [Release notes](https://github.com/ossf/scorecard-action/releases) - [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md) - [Commits](ossf/scorecard-action@dc50aa9...62b2cac) --- updated-dependencies: - dependency-name: ossf/scorecard-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: change sequence for numbers Signed-off-by: Vladislav Sukhin <[email protected]> * fix: add line Signed-off-by: Vladislav Sukhin <[email protected]> * fix: add sequence repository Signed-off-by: Vladislav Sukhin <[email protected]> * fix: add sequence repository Signed-off-by: Vladislav Sukhin <[email protected]> * fix: add sequence for test suites Signed-off-by: Vladislav Sukhin <[email protected]> * fix: rename option method Signed-off-by: Vladislav Sukhin <[email protected]> * fix: add sequence for test workflows Signed-off-by: Vladislav Sukhin <[email protected]> * fix: skip crd deletion Signed-off-by: Vladislav Sukhin <[email protected]> * fixL use insert instead of update Signed-off-by: Vladislav Sukhin <[email protected]> * fix: integration test sync Signed-off-by: Vladislav Sukhin <[email protected]> * fix: intergrattion test Signed-off-by: Vladislav Sukhin <[email protected]> * fix: parallel integration test Signed-off-by: Vladislav Sukhin <[email protected]> * fix: use default value Signed-off-by: Vladislav Sukhin <[email protected]> * fix: typo nil check Signed-off-by: Vladislav Sukhin <[email protected]> * fix: change prefix Signed-off-by: Vladislav Sukhin <[email protected]> * fix: test suite prefix Signed-off-by: Vladislav Sukhin <[email protected]> * fix: new cloud methods Signed-off-by: Vladislav Sukhin <[email protected]> * fix: dep update Signed-off-by: Vladislav Sukhin <[email protected]> --------- Signed-off-by: Vladislav Sukhin <[email protected]>
Signed-off-by: Vladislav Sukhin <[email protected]>
* fix: logs container using tmp dir * fix: remove chmod * fix: remove data directory * fix: remove data directory
* fix: cloud ui url, org id, env id vars Signed-off-by: Vladislav Sukhin <[email protected]> * fix: rename var Signed-off-by: Vladislav Sukhin <[email protected]> * fix: rename var Signed-off-by: Vladislav Sukhin <[email protected]> --------- Signed-off-by: Vladislav Sukhin <[email protected]>
* fix: use empty path for minio config Signed-off-by: Vladislav Sukhin <[email protected]> * fix: unit tests Signed-off-by: Vladislav Sukhin <[email protected]> --------- Signed-off-by: Vladislav Sukhin <[email protected]>
Signed-off-by: Vladislav Sukhin <[email protected]>
* fix: show test workflow execution uri Signed-off-by: Vladislav Sukhin <[email protected]> * fix: add uris to test workflow executions Signed-off-by: Vladislav Sukhin <[email protected]> --------- Signed-off-by: Vladislav Sukhin <[email protected]>
…tion, environment and dashboard (#5722)
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 24.0.0+incompatible to 25.0.6+incompatible. - [Release notes](https://github.com/docker/docker/releases) - [Commits](moby/moby@v24.0.0...v25.0.6) --- updated-dependencies: - dependency-name: github.com/docker/docker dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.25.3 to 3.25.15. - [Release notes](https://github.com/github/codeql-action/releases) - [Commits](github/codeql-action@v2.25.3...v3.25.15) --- updated-dependencies: - dependency-name: github/codeql-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [peter-evans/repository-dispatch](https://github.com/peter-evans/repository-dispatch) from 2 to 3. - [Release notes](https://github.com/peter-evans/repository-dispatch/releases) - [Commits](peter-evans/repository-dispatch@v2...v3) --- updated-dependencies: - dependency-name: peter-evans/repository-dispatch dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…cloning repositories (#5786) * fix: add [email protected]:kubeshop/testkube.git syntax support for cloning URI * feat: ensure new line on EOF in SSH key
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scorecard found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
* feat: list test workflow execution tags Signed-off-by: Vladislav Sukhin <[email protected]> * feat: add tags model Signed-off-by: Vladislav Sukhin <[email protected]> * fix: convert dots Signed-off-by: Vladislav Sukhin <[email protected]> * fix: rename error prefix Signed-off-by: Vladislav Sukhin <[email protected]> * fix: add execution tags command Signed-off-by: Vladislav Sukhin <[email protected]> --------- Signed-off-by: Vladislav Sukhin <[email protected]>
* run script fixed - missing artillery workflow added * test workflow suites - parallelism options added * test workflow suites - full smoke and small smoke, cron triggers - dev full/small and sandbox small * run script fixed - missing artillery workflow added - all * artillery .yaml renamed * workflow suites - labels added * workflow suites - labels added
* feat: test workflow tags Signed-off-by: Vladislav Sukhin <[email protected]> * feat: test workflow tags api spec Signed-off-by: Vladislav Sukhin <[email protected]> * feat: add test workflow api method routes Signed-off-by: Vladislav Sukhin <[email protected]> --------- Signed-off-by: Vladislav Sukhin <[email protected]>
…rd-command-fails-if-it-cannot-start feat: flag for skipping opening browser for dashboard
* feat: add new individual Events and Job Watchers * feat: add individual pod watcher * fix: resuming concurrency problems in parallel operations * feat: add multiple fallbacks for fetching important execution properties from resources * chore: get rid of Peek(ctx) and Exists() from PodWatcher and JobWatcher * chore: get rid of Stop() from PodWatcher, JobWatcher and EventsWatcher * chore: rename `hook` to `listener`, delete IsStarted() * chore: store watcher's error directly in the context * chore: extract code for reading the job/pod latest timestamp * chore: add boolean to determine if the watcher is actually watching * chore: make pod events watcher immediately available when pod name is received * feat: reimplement watching * fix: handle case when the job is aborted before the pod is started * fix: building unique references on the layer * fix: deadlock while watching the execution * feat: make the control server lightweight and faster (small TCP packets instead of HTTP) * fix: add retrying mechanism for resuming the parallel workflows * chore: delete Merge() from TestWorkflowStepResult * feat: implement refined way to build Test Workflow's result * feat: speed up aborting job * chore: get rid of part of Notifier functionality * fix: make sending the results more stable * chore: optimize getting container error from Pod * chore: optimize reading container name from event * chore: optimize building result state by caching actions and sequence * chore: delete some logs and avoid sending finishedAt without status * fix: handle edge case with node resources issue (EPIPE) * chore: move RecomputeTimestamps implementation to TestWorkflowResult * chore: move more healing functions to TestWorkflowResult * chore: move another set of healing functions to TestWorkflowResult * fix: adjust a bit completion timestamp * fix: handle GOAWAY in logs * fix: handle connection to control plane lost in logs * fix: retry fetching tarball on failure * fix: retry fetching parallel/service logs * fix: retry saving the logs to Minio * fix: reduce number of FS operations in Init Process * fix: avoid negative periods in results * fix: processing tests with massive logs, align completion time to the newest logs/events
* fix: retry cloning Git repository on failure * fix: retry executing Test Workflows in execute
* fix: remove sensitive envs from events passed to websockets * fix: remove envs from agent * fix: moved envs to webhooks loader * removed variable * fix: passed envs to listener event * fix: not needed map in tests * Update pkg/event/kind/webhook/listener.go Co-authored-by: Dawid Rusnak <[email protected]> * fix: flaky parallel test * fix: clean envs passed to the default payload --------- Co-authored-by: Dawid Rusnak <[email protected]>
* workflow suites - missing workflows added * run script - missing special cases added
Signed-off-by: Vladislav Sukhin <[email protected]> # Conflicts: # cmd/kubectl-testkube/commands/context/set.go # go.mod # go.sum # pkg/repository/config/mongo_test.go
Signed-off-by: Vladislav Sukhin <[email protected]>
Pull request description
Checklist (choose whats happened)
Breaking changes
Changes
Fixes