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

feat: Release/v2.1.16 #5800

Merged
merged 85 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
c51e33d
fix: template in parallel steps (#5682)
rangoo94 Jul 23, 2024
27fd3ca
fix: use default resources for the init container (#5684)
rangoo94 Jul 24, 2024
e1f3d83
fix: template in parallel steps (#5682)
rangoo94 Jul 23, 2024
91b2e7f
fix: use default resources for the init container (#5684)
rangoo94 Jul 24, 2024
50bb074
Merge pull request #5685 from kubeshop/release/v2.0.12
rangoo94 Jul 24, 2024
2084edf
add support for better error handling in CLI (#5680)
dejanzele Jul 25, 2024
e545ebb
fix: relative paths in sparse cloning (#5691)
rangoo94 Jul 26, 2024
c2e262c
feat: lighten colors in UI (#5689)
exu Jul 26, 2024
506bb9b
feat: replace Skopeo with Crane (#5692)
rangoo94 Jul 26, 2024
220ac74
feat: change the Test Workflow orchestration mechanism to atomic inst…
rangoo94 Jul 26, 2024
dd0316d
build(deps): bump ossf/scorecard-action from 2.3.3 to 2.4.0 (#5695)
dependabot[bot] Jul 29, 2024
435e213
fix: [TKC-2168] id sequence (#5681)
vsukhin Jul 29, 2024
6fe2d82
fix: populate cloud config without error on noLogin flag (#5697)
exu Jul 30, 2024
b8050c7
fix: download artifacts for test workflow run (#5698)
vsukhin Jul 30, 2024
79909cc
fix: locals not anymore printable (#5699)
exu Jul 30, 2024
5dfa07b
fix: TestkubeAPI receiver doesnt mutate state (#5700)
exu Jul 30, 2024
e60481b
fix: logs container using tmp dir instead of /data (#5708)
exu Jul 31, 2024
23225df
fix: [TKC-2310] cloud ui url, org id, env id test workflow vars (#5703)
vsukhin Jul 31, 2024
24597a6
fix: use empty path for minio config (#5713)
vsukhin Jul 31, 2024
373079c
fix: ignore marshalling error
vsukhin Jul 31, 2024
5775761
fix: [TKC-2343] workflow execution url (#5716)
vsukhin Aug 2, 2024
c25e05d
fix: correctly use --ui-prefix and --logs-prefix data (#5723)
rangoo94 Aug 5, 2024
ec4a6a6
fix(TKC-2310): expose expression variables for simple use of organiza…
rangoo94 Aug 5, 2024
03ab51c
fix: setting up working directory with atomic instructions (#5726)
rangoo94 Aug 5, 2024
464da07
build(deps): bump github.com/docker/docker (#5717)
dependabot[bot] Aug 6, 2024
eb76f97
add support for cli error code telemetry (#5719)
dejanzele Aug 6, 2024
3549562
feat: avoid getting image metadata from container registry when it is…
rangoo94 Aug 6, 2024
0d181cf
fix: show "execution aborted before" only when the step was not start…
rangoo94 Aug 6, 2024
391e377
build(deps): bump github/codeql-action from 2.25.3 to 3.25.15 (#5710)
dependabot[bot] Aug 6, 2024
2356e71
build(deps): bump peter-evans/repository-dispatch from 2 to 3 (#5672)
dependabot[bot] Aug 6, 2024
a7b2ff5
build(deps): bump anchore/sbom-action from 0.16.1 to 0.17.0 (#5665)
dependabot[bot] Aug 6, 2024
b2b1bed
build(deps): bump github.com/gofiber/fiber/v2 from 2.52.1 to 2.52.5 (…
dependabot[bot] Aug 6, 2024
75d2a54
ci: sandbox add outputs (#5730)
ypoplavs Aug 6, 2024
6538b7a
fix: sandbox outputs
ypoplavs Aug 6, 2024
a9d7e54
codeowners - test directory updated (#5706)
tkonieczny Aug 6, 2024
4692fb6
feat: workflow examples - expected failures extended (#5707)
tkonieczny Aug 6, 2024
2a10ff1
Update sandbox.yaml
ypoplavs Aug 6, 2024
014f1a4
fix: support old agent with new cloud migration to new sequence metho…
vsukhin Aug 7, 2024
dd5daf5
chore: delete docs from the repository and point to a new one (#5724)
rangoo94 Aug 7, 2024
3e85937
workflow examples - cron triggeres removed from definitions (#5745)
tkonieczny Aug 7, 2024
7078f4f
feat(TKC-2217): include Toolkit operations in other containers (#5740)
rangoo94 Aug 7, 2024
2c8cf09
build(deps): bump github/codeql-action from 3.25.15 to 3.26.0 (#5742)
dependabot[bot] Aug 8, 2024
2233c2d
fix: show version only in pretty mode (#5748)
vsukhin Aug 8, 2024
55baca9
fix: integration tests and matrix test with artifacts for Cypress (#5…
rangoo94 Aug 8, 2024
f322802
feat: add options to control Test Workflows orchestration (#5747)
rangoo94 Aug 8, 2024
7120500
fix: concurrency problems when having a lot of parallel updates (#5754)
rangoo94 Aug 9, 2024
fe27bb7
fix: controlling issues (#5756)
rangoo94 Aug 13, 2024
343898e
build(deps): bump chuhlomin/render-template from 1.4 to 1.10 (#5731)
dependabot[bot] Aug 14, 2024
1b172d7
build(deps): bump sigstore/cosign-installer from 3.5.0 to 3.6.0 (#5750)
dependabot[bot] Aug 14, 2024
3fa0aeb
fix: avoid readable message for EvictionByEvictionAPI (#5757)
rangoo94 Aug 14, 2024
c7a1224
fix: properly detect OOMKilled error on GKE (#5761)
rangoo94 Aug 14, 2024
3dd3301
fix: propagate aborted status correctly on GKE's OOMKilled (#5762)
rangoo94 Aug 14, 2024
25dc8a2
fix: ensure there is a service IP available before marking as started…
rangoo94 Aug 15, 2024
4a09d78
add mapping for error code in error telemetry (#5769)
dejanzele Aug 16, 2024
bd81884
updated README and improved cli-doc generation
olensmar Aug 16, 2024
e90d74d
added byline back..
olensmar Aug 16, 2024
88803b2
reverted..
olensmar Aug 16, 2024
437ce41
feat: [TKC-2299] add tags to testworkflow models (#5744)
vsukhin Aug 19, 2024
e9a3195
Update README.md
olensmar Aug 19, 2024
100212f
Update README.md
olensmar Aug 19, 2024
13940c5
Update README.md
olensmar Aug 19, 2024
ee6d689
updated doc generation to go to /gen folder
olensmar Aug 22, 2024
27517c7
Merge remote-tracking branch 'origin/olelensmar/docs/readme-update' i…
olensmar Aug 22, 2024
632c9f8
Merge pull request #5770 from kubeshop/olelensmar/docs/readme-update
olensmar Aug 23, 2024
03126e0
fix: flaky mongo test (#5780)
exu Aug 23, 2024
e90df19
feat: add test triggers client for external use (#5771)
dejanzele Aug 26, 2024
3286ac4
fix: register all mounted directories for the artifacts scrapping (#5…
rangoo94 Aug 28, 2024
0a7b9f6
fix: correctly handle consecutive condition: always steps (#5785)
rangoo94 Aug 28, 2024
14486e2
fix: support [email protected]:kubeshop/testkube.git syntax support for …
rangoo94 Aug 29, 2024
df120b9
feat: [TKC-2299] list test workflow execution tags (#5797)
vsukhin Sep 3, 2024
915992b
feat: [TKC-2505] make test workflow templates implement kubelike (#5809)
povilasv Sep 4, 2024
01fbdca
feat: Workflows - suites and cron triggers for dev and sandbox (#5810)
tkonieczny Sep 4, 2024
9dc3a40
feat: test workflow tags (#5813)
vsukhin Sep 4, 2024
8990a39
feat: flag for skipping opening browser for dashboard
ed382 Sep 5, 2024
d099a19
Merge pull request #5817 from kubeshop/tkc-2506-coreweave-cli-dashboa…
ed382 Sep 5, 2024
be04923
feat: make Test Workflow processing more stable (#5814)
rangoo94 Sep 5, 2024
43d49df
fix: retry cloning Git repository on failure (#5825)
rangoo94 Sep 5, 2024
ba72665
fix: keep the execution ID for getting next one (#5826)
rangoo94 Sep 5, 2024
3c88561
fix: timestamp length only for valid timestamps (#5819)
exu Sep 5, 2024
08aa00e
fix: sensitive data in events (#5821)
exu Sep 5, 2024
dcb7a1f
fix: workflow suites - missing workflows added (#5816)
tkonieczny Sep 6, 2024
4e9acb5
fix: handle child process stream correctly to avoid broken pipe (#5835)
rangoo94 Sep 6, 2024
5e6a3e1
Merge branch 'main' into develop
vsukhin Sep 9, 2024
b427a1d
fix: dep update
vsukhin Sep 9, 2024
0403e84
Merge branch 'main' into develop
vsukhin Sep 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions cmd/kubectl-testkube/commands/context/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func NewSetContextCmd() *cobra.Command {
var err error
cfg, err = common.PopulateOrgAndEnvNames(cfg, opts.Master.OrgId, opts.Master.EnvId, opts.Master.URIs.Api)
if err != nil {
ui.Errf("Error populating org and env names: %s", err)
ui.Failf("Error populating org and env names: %s", err)
}
} else {
ui.Warn("No API key provided, you need to login to Testkube Cloud")
Expand All @@ -76,9 +76,10 @@ func NewSetContextCmd() *cobra.Command {
common.UiCloudContextValidationError(err)
}

common.UiPrintContext(cfg)
ui.NL()
ui.Success("Your config was updated with new values")
ui.NL()
common.UiPrintContext(cfg)

},
}

Expand Down
28 changes: 15 additions & 13 deletions pkg/repository/config/mongo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,12 @@ import (
"github.com/kubeshop/testkube/pkg/api/v1/testkube"
)

const (
mongoDbName = "testkube-test"
)

var (
cfg, _ = config.Get()
)

func getRepository() (*MongoRepository, error) {
db, err := storage.GetMongoDatabase(cfg.APIMongoDSN, mongoDbName, storage.TypeMongoDB, false, nil)
func getRepository(dbName string) (*MongoRepository, error) {
db, err := storage.GetMongoDatabase(cfg.APIMongoDSN, dbName, storage.TypeMongoDB, false, nil)
repository := NewMongoRepository(db)
return repository, err
}
Expand All @@ -33,13 +29,13 @@ func TestStorage_Integration(t *testing.T) {

assert := require.New(t)

repository, err := getRepository()
assert.NoError(err)

err = repository.Coll.Drop(context.TODO())
assert.NoError(err)

t.Run("GetUniqueClusterId should return same id for each call", func(t *testing.T) {
repository, err := getRepository("testkube-test-generate-id")
t.Cleanup(func() {
err := repository.Coll.Drop(context.Background())
assert.NoError(err)
})
assert.NoError(err)
// given/when
id1, err := repository.GetUniqueClusterId(context.Background())
assert.NoError(err)
Expand All @@ -57,9 +53,15 @@ func TestStorage_Integration(t *testing.T) {
})

t.Run("Upsert should insert new config entry", func(t *testing.T) {
repository, err := getRepository("testkube-test-insert-cluster-id")
t.Cleanup(func() {
err := repository.Coll.Drop(context.Background())
assert.NoError(err)
})
assert.NoError(err)
// given,
clusterId := "uniq3"
_, err := repository.Upsert(context.Background(), testkube.Config{
_, err = repository.Upsert(context.Background(), testkube.Config{
ClusterId: clusterId,
})
assert.NoError(err)
Expand Down
Loading