Skip to content
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
wants to merge 36 commits into from
Closed

[pull] main from kubeshop:main #441

wants to merge 36 commits into from

Conversation

pull[bot]
Copy link

@pull pull bot commented Oct 15, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

rangoo94 and others added 6 commits October 14, 2024 10:23
* 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]>
@pull pull bot added the ⤵️ pull label Oct 15, 2024
haneabogdan and others added 23 commits October 16, 2024 10:14
* 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]>
* 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)
* 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]>
vsukhin and others added 7 commits October 28, 2024 20:16
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
@warmchang warmchang closed this Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.