forked from kubeshop/testkube
-
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
[pull] main from kubeshop:main #441
Closed
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
* feat: run docker agent command Signed-off-by: Vladislav Sukhin <[email protected]> * fix: docker image parameter Signed-off-by: Vladislav Sukhin <[email protected]> * feat: docker agent run command Signed-off-by: Vladislav Sukhin <[email protected]> * fix: use verbose flag Signed-off-by: Vladislav Sukhin <[email protected]> * feat: docker upgrade command Signed-off-by: Vladislav Sukhin <[email protected]> * fix: pass docker image version Signed-off-by: Vladislav Sukhin <[email protected]> * fix: missed operand Signed-off-by: Vladislav Sukhin <[email protected]> * fix: remove tag prefix Signed-off-by: Vladislav Sukhin <[email protected]> * fix: return errors Signed-off-by: Vladislav Sukhin <[email protected]> * fix: prepare latest version tag Signed-off-by: Vladislav Sukhin <[email protected]> --------- Signed-off-by: Vladislav Sukhin <[email protected]>
* fix: save container nname Signed-off-by: Vladislav Sukhin <[email protected]> * fix: optional id message Signed-off-by: Vladislav Sukhin <[email protected]> * fix: save config Signed-off-by: Vladislav Sukhin <[email protected]> --------- Signed-off-by: Vladislav Sukhin <[email protected]>
* fix: remove docker example Signed-off-by: Vladislav Sukhin <[email protected]> * feat: pass docker image version to cloud Signed-off-by: Vladislav Sukhin <[email protected]> --------- Signed-off-by: Vladislav Sukhin <[email protected]>
* chore: delete unused * chore: delete subscription checker from API instance * fix: simplify applying the global template * chore: extract cloud/storage machines in Test Workflow executor * chore: rename `id` variable to `executionId` * chore: extract workflow machine in Test Workflow executor * chore: use the earliest timestamp for execution schedulement * chore: extract resource machine * chore: make schedule time UTC * chore: extract helper for validating the TestWorkflow * chore: serialize propagated execution tags as JSON * chore: a bit of grouping * chore: clean namespace from resolved workflow too * chore: detach secret's batch from namespace * chore: add some comments * chore: move configuration resolution higher * fix: determine execution namespace after the templates are applied * chore: avoid unnecessary variables * chore: avoid pre-validating the workflow * chore: move place where the resolved workflow is preserved * chore: move place where the default service account is applied * feat: always create TestWorkflowExecution before deployment * chore: decouple a bit creating TestWorkflow execution * chore: split a bit logic of updating execution * chore: organize better the internal configuration passed to Test Workflow execution - use single annotation instead of multiple duplicated environment variables - group the variables nicely - handle that recursively * chore: reorder configs * chore: rename RuntimeConfig to WorkerConfig * feat: add `groupId` to the TestWorkflowExecution's model * chore: add todo * feat: add basic ExecutionWorker with Execute() method only * chore: pass execution worker to the Test Workflow Executor * fix: delete unused variables for Test Workflow Executor, return namespace from worker * feat: implement Notifications(), Destroy(), Pause() and Resume() for ExecutionWorker * chore: use the ExecutionWorker more * chore: avoid using testworkflowcontroller in Executor * chore: rename labels/annotations * chore: add todo * chore: extract LogsReader and NotificationsWatcher to separate files * feat: add LRU cache for last namespaces and pod IPs * feat: add ResumeMany() method to the ExecutionWorker, use ExecutionWorker for parallel operations * feat: expose containers readiness in status notifications * feat: use ExecutionWorker for services too * chore: use ExecutionWorker for Test Triggers * feat: reuse Test Workflow controllers * chore: move Execution Worker to pkg/testworkflows * chore: move TestWorkflowController to ExecutionWorker * fix: handle error in the logs watcher * fix: list resources correctly in Execution Worker * chore: delete some unused code * chore: delete unused machine resolution * fix: use pro context for determining organization/environment ID in Test Workflow executor * fix: handle better unique execution names * fix: unit/integration tests * chore: delete unused code * chore: avoid unnecessary fallback * chore: clean up worker interface a bit * chore: separate functions for creating a service and execution * chore: unify Execute() and Service() a bit * chore: reorder a bit * feat: persist scheduledAt in the Job/Pod annotations * fix: CLI for initialization error watch * chore: isolate Kubernetes Execution Worker, so we can have another engine * feat: add Abort() option for Execution Worker, that may be useful later for different drivers than Kubernetes
Signed-off-by: Vladislav Sukhin <[email protected]>
This reverts commit eab53e9.
* fix: move docer command Signed-off-by: Vladislav Sukhin <[email protected]> * fix: remove unsued settings Signed-off-by: Vladislav Sukhin <[email protected]> * fix: show help Signed-off-by: Vladislav Sukhin <[email protected]> --------- Signed-off-by: Vladislav Sukhin <[email protected]>
Signed-off-by: Vladislav Sukhin <[email protected]>
* fix: saving output (so the service IP is accessible for Toolkit) * fix: add correlation group for services (so they can be scrapped later)
…uild path for artifacts (#5953)
* chore: delete very old migrations * chore: first batch of simplifying API Server bootstrap * chore: continue simplifying API Server bootstrap * chore: delete unused `cronjob` package * fix: List() * chore: continue clean up * chore: continue clean up * chore: reorder a bit * chore: rename tests/test suites clients to omit version * chore: wrap deprecated clients and repositories in more recognizable structures * chore: extract connecting to Minio and MongoDB * chore: distribute DeprecatedRepositories and DeprecatedClients as a whole * chore: extract event handlers initialization outside of API * chore: delete unused code * chore: extract function for streaming Test Workflow logs via Agent outside of API * chore: extract ExecutionWorker factory * fix: typo in error message * chore: decouple synchronising default executors out of internal images * chore: use client for TestTriggers * chore: extract building API's oauth/storage params outside of API * chore: move httpConfig to be argument of NewTestkubeAPI * chore: delete unused parts of server.Config * chore: extract HTTPServer out of TestkubeAPI * chore: delete proxying / on cluster to dashboard * chore: split Testkube API to smaller modules * chore: clean up API dependencies * chore: clean up DeprecatedAPI dependencies * chore: delete unused HTTP config computation * chore: reorder code a bit * chore: use interface for WebhooksClient * fix: server telemetry + telemetry heartbeat * chore: reorder API bootstrap a bit * chore: extract telemetry heartbeat to separate function * chore: allow running regular API with no deprecated clients * chore: simplify SubscriptionChecker, include migrations in DB factory * chore: delete unnecessary gRPC connection close * chore: pass context to ProContext factory * chore: extract telemetry heartbeat handler * chore: extract utility to read default executors * chore: extract utility to read ProContext * chore: extract utility to create Slack Loader and connect to NATS * fix: client for triggers service
… script is run at last (#5958) * fix: handle container optimization for default images when pure shell script is run at last * chore: add constant for busybox binaries in default images
* chore: add skaffold * chore: add NATS retry * chore: add skaffold
* feat: create basic OSS Control Plane * chore: delete usages without control plane (exception: legacy tests) * chore: delete dummy Pro values for standalone agent * chore: reorder bootstrap a bit * fix: use direct artifact storage for deprecated API in standalone agent * chore: add Pro edition only comment * chore: reorder a bit * chore: reorder a bit * feat: isolate deprecated system * chore: rename environment variable * chore: update dependencies * fixup * fixup linting * feat: add environment variable to disable deprecated tests * fix: don't check ProContext for OSS * feat: add flag to disable webhooks * chore: make const
* feat: running context model for test workflows Signed-off-by: Vladislav Sukhin <[email protected]> * feat: add running context to test workflow execution models Signed-off-by: Vladislav Sukhin <[email protected]> * fix: unit test Signed-off-by: Vladislav Sukhin <[email protected]> * fix: dep update Signed-off-by: Vladislav Sukhin <[email protected]> * feat: map test workflow running context Signed-off-by: Vladislav Sukhin <[email protected]> * feat: pass running context to execution Signed-off-by: Vladislav Sukhin <[email protected]> * fix: running context for test workflows Signed-off-by: Vladislav Sukhin <[email protected]> * fix: add test workflow running context model Signed-off-by: Vladislav Sukhin <[email protected]> * fix: additional enum for test workflow running context Signed-off-by: Vladislav Sukhin <[email protected]> * fix: add one more enum Signed-off-by: Vladislav Sukhin <[email protected]> * fix: mapping for test workflow running context Signed-off-by: Vladislav Sukhin <[email protected]> * fix: mapping for cd events for test workflow running context Signed-off-by: Vladislav Sukhin <[email protected]> * fix: show test workflow running context Signed-off-by: Vladislav Sukhin <[email protected]> * feat: get full psth Signed-off-by: Vladislav Sukhin <[email protected]> * fix: add parent ids for test workflow running context Signed-off-by: Vladislav Sukhin <[email protected]> * fix: format running context ui Signed-off-by: Vladislav Sukhin <[email protected]> * fux: add to mock Signed-off-by: Vladislav Sukhin <[email protected]> * fix: remove unused var Signed-off-by: Vladislav Sukhin <[email protected]> * fix: dep update Signed-off-by: Vladislav Sukhin <[email protected]> * fix: merge Signed-off-by: Vladislav Sukhin <[email protected]> * fix: change running context model Signed-off-by: Vladislav Sukhin <[email protected]> * fix: use reference instead of array Signed-off-by: Vladislav Sukhin <[email protected]> * fix: dep update Signed-off-by: Vladislav Sukhin <[email protected]> * fix: additional running contexts Signed-off-by: Vladislav Sukhin <[email protected]> * fix: add tcl for testworkflow mapper Signed-off-by: Vladislav Sukhin <[email protected]> * fix: trigger running context Signed-off-by: Vladislav Sukhin <[email protected]> * feat: move runnng context to tcl Signed-off-by: Vladislav Sukhin <[email protected]> * fixL move mapper to tcl Signed-off-by: Vladislav Sukhin <[email protected]> * fix: remove test Signed-off-by: Vladislav Sukhin <[email protected]> * ifx: move running context to tcl package Signed-off-by: Vladislav Sukhin <[email protected]> * fix: parse uername and email Signed-off-by: Vladislav Sukhin <[email protected]> * fix: dep update Signed-off-by: Vladislav Sukhin <[email protected]> * fix: merge Signed-off-by: Vladislav Sukhin <[email protected]> * fix: use api running context from cloud Signed-off-by: Vladislav Sukhin <[email protected]> * fix: remove username Signed-off-by: Vladislav Sukhin <[email protected]> * fix: remove username Signed-off-by: Vladislav Sukhin <[email protected]> * fix: check for cloud mode in api call Signed-off-by: Vladislav Sukhin <[email protected]> * fix: check for trigger cloud mode Signed-off-by: Vladislav Sukhin <[email protected]> * fix: check cloud for executing test workflow Signed-off-by: Vladislav Sukhin <[email protected]> * fix: fmt Signed-off-by: Vladislav Sukhin <[email protected]> * fix: tcl for printing running context Signed-off-by: Vladislav Sukhin <[email protected]> * fix: unit test Signed-off-by: Vladislav Sukhin <[email protected]> * fix: support ci/cd Signed-off-by: Vladislav Sukhin <[email protected]> * fix: add actor filters Signed-off-by: Vladislav Sukhin <[email protected]> * fix: mongo query Signed-off-by: Vladislav Sukhin <[email protected]> * fix: test Signed-off-by: Vladislav Sukhin <[email protected]> * fix: int test Signed-off-by: Vladislav Sukhin <[email protected]> * fix: unit tests Signed-off-by: Vladislav Sukhin <[email protected]> * fix: assign running context Signed-off-by: Vladislav Sukhin <[email protected]> * fix: tune printing running context Signed-off-by: Vladislav Sukhin <[email protected]> * fix: forrmat printing Signed-off-by: Vladislav Sukhin <[email protected]> * fix: field name Signed-off-by: Vladislav Sukhin <[email protected]> * fix: rename parameters 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]>
Signed-off-by: Vladislav Sukhin <[email protected]>
* fix: don't panic in cli logs Signed-off-by: Vladislav Sukhin <[email protected]> * fix: remove debug printing Signed-off-by: Vladislav Sukhin <[email protected]> --------- Signed-off-by: Vladislav Sukhin <[email protected]>
* feat: add cronjob config Signed-off-by: Vladislav Sukhin <[email protected]> * feat: cronjob config model Signed-off-by: Vladislav Sukhin <[email protected]> --------- Signed-off-by: Vladislav Sukhin <[email protected]>
…5990) * showcase examples * NUnit project added * NUnit project - additional tests and delays * NUnit project updated - JUnit report, obj removed * Run script - NUnit * Showcase workflows - NUnit with JUnit report
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.
See Commits and Changes for more details.
Created by pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )