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/v1.16.21 #4858

Merged
merged 681 commits into from
Jan 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
681 commits
Select commit Hold shift + click to select a range
4f6cc0c
fix: optional ginkgo junit
vsukhin Oct 30, 2023
e573389
fix: optional jmeter junit
vsukhin Oct 30, 2023
f9a22f9
fix: optional junit for jmeterd
vsukhin Oct 30, 2023
4ad3606
fix: postman optional junit
vsukhin Oct 30, 2023
90c41d9
fix: obfuscate args
vsukhin Oct 31, 2023
a357b73
docs: argocd image updates (#4553)
ypoplavs Nov 1, 2023
c2f3286
docs: env vars
vsukhin Nov 1, 2023
fc81923
fix: typo
vsukhin Nov 1, 2023
68118d2
Update docs/docs/articles/running-tests.md
vsukhin Nov 1, 2023
9b48e9a
fix: use `aggregate: 1` for getting latest by test (#4560)
rangoo94 Nov 1, 2023
958d81b
update executors with curl, openssh, sshpass
ypoplavs Nov 2, 2023
c56dd70
add remove cache
ypoplavs Nov 2, 2023
b8f6293
add sshpass to jmeterd
ypoplavs Nov 2, 2023
26b34b8
fix: ignore empty secret ref
vsukhin Nov 2, 2023
194d02d
feat: change executor model
vsukhin Oct 26, 2023
10d1d5d
feat: use data dir as working dir model
vsukhin Oct 26, 2023
6182b96
fix: dep update
vsukhin Nov 1, 2023
13b6b19
fix: unit test
vsukhin Nov 1, 2023
21b433d
fix: use data dir as working dir
vsukhin Nov 1, 2023
37966fb
docs: cli
vsukhin Nov 1, 2023
b50e186
fix: dep update
vsukhin Nov 2, 2023
4c67c26
feat: pass wartcher event to trigger
vsukhin Nov 2, 2023
292abcf
docs: env vars
vsukhin Nov 2, 2023
be2e817
fix: remove hint
vsukhin Nov 3, 2023
5713a97
build postman
ypoplavs Nov 2, 2023
e5e9348
remove testing branch
ypoplavs Nov 3, 2023
3aca561
fix: aggregate(1) on test suite results (#4577)
rangoo94 Nov 3, 2023
f34fb42
fix: result line for websockets (#4576)
exu Nov 6, 2023
b588dd5
feat: download testsuite artifacts
vsukhin Nov 3, 2023
699d873
fix: download conditions
vsukhin Nov 3, 2023
9f0b87f
fix: remove check
vsukhin Nov 4, 2023
2405a1a
docs: cached test suites (#4580)
haneabogdan Nov 6, 2023
ce809f1
fix: cli disable get config for cload context (#4583)
povilasv Nov 8, 2023
5e2fe72
fix: dep update
vsukhin Nov 6, 2023
a4af63c
feat: download artifacts in init container
vsukhin Nov 7, 2023
87dad25
fix: field comment
vsukhin Nov 7, 2023
04eff99
fix: unittest
vsukhin Nov 7, 2023
aa4fc9e
fix: remove namespace
vsukhin Nov 7, 2023
4237147
fix: uri scheme
vsukhin Nov 7, 2023
6e0c335
fix: dep update
vsukhin Nov 8, 2023
9bd9f1b
docs: passed artifacts
vsukhin Nov 8, 2023
e65434d
fix: support silent mode
vsukhin Nov 8, 2023
3543f76
fix: allow download reports for failed
vsukhin Nov 9, 2023
1ff2421
fix: test suite err check
vsukhin Nov 9, 2023
28a808a
fix: update to outdated cypress images (#4607)
exu Nov 10, 2023
b0f9296
fix: typo in test run image flag (#4608)
exu Nov 10, 2023
e719669
add enterprise docs
ypoplavs Nov 9, 2023
702ba90
fix failing docs
ypoplavs Nov 9, 2023
1df63c0
fix api values
ypoplavs Nov 9, 2023
2806300
Update docs/docs/testkube-enterprise/articles/auth.md
ypoplavs Nov 9, 2023
16ea42f
Update docs/docs/testkube-enterprise/articles/auth.md
ypoplavs Nov 9, 2023
392b239
Update docs/docs/testkube-enterprise/articles/auth.md
ypoplavs Nov 9, 2023
090b563
Update docs/docs/testkube-enterprise/articles/auth.md
ypoplavs Nov 9, 2023
6d58327
Update docs/docs/testkube-enterprise/articles/auth.md
ypoplavs Nov 9, 2023
f9b9e8d
Update docs/docs/testkube-enterprise/articles/usage-guide.md
ypoplavs Nov 9, 2023
fae7627
Update docs/docs/testkube-enterprise/articles/usage-guide.md
ypoplavs Nov 9, 2023
12d2641
Update docs/docs/testkube-enterprise/articles/usage-guide.md
ypoplavs Nov 9, 2023
e0a2be6
Update docs/docs/testkube-enterprise/articles/usage-guide.md
ypoplavs Nov 9, 2023
04d0428
Update docs/docs/testkube-enterprise/articles/usage-guide.md
ypoplavs Nov 9, 2023
9ca0728
Update docs/docs/testkube-enterprise/articles/usage-guide.md
ypoplavs Nov 9, 2023
dabe6d9
Update docs/docs/testkube-enterprise/articles/usage-guide.md
ypoplavs Nov 9, 2023
f753bb0
Update docs/docs/testkube-enterprise/articles/usage-guide.md
ypoplavs Nov 9, 2023
be16c1a
Update docs/docs/testkube-enterprise/articles/usage-guide.md
ypoplavs Nov 9, 2023
7537a83
Update docs/docs/testkube-enterprise/articles/usage-guide.md
ypoplavs Nov 9, 2023
f59329c
Update docs/docs/testkube-enterprise/articles/usage-guide.md
ypoplavs Nov 9, 2023
892a83e
Update docs/docs/testkube-enterprise/articles/usage-guide.md
ypoplavs Nov 9, 2023
b0715a5
Update docs/docs/testkube-enterprise/articles/usage-guide.md
ypoplavs Nov 9, 2023
b89a674
Update docs/docs/testkube-enterprise/articles/usage-guide.md
ypoplavs Nov 9, 2023
75574db
Update docs/docs/testkube-enterprise/articles/usage-guide.md
ypoplavs Nov 9, 2023
805d8c8
Update docs/docs/testkube-enterprise/articles/usage-guide.md
ypoplavs Nov 9, 2023
1e5452d
Update docs/docs/testkube-enterprise/articles/usage-guide.md
ypoplavs Nov 9, 2023
03b26a6
Update docs/docs/testkube-enterprise/articles/usage-guide.md
ypoplavs Nov 9, 2023
74b784f
Update production setup
jmorante-ks Nov 10, 2023
e8a4f03
add email examples
ypoplavs Nov 10, 2023
b96a570
add space
ypoplavs Nov 10, 2023
032c0a4
fix docs
ypoplavs Nov 10, 2023
663ea04
chore: rename secret label
fivenp Nov 14, 2023
a07046b
fix: dep update
vsukhin Nov 14, 2023
1c95bef
docs: argocd cron jobs sync
vsukhin Nov 15, 2023
df75cdf
feat: adding support for tracetest cloud on tracetest executor (#4613)
danielbdias Nov 15, 2023
9d20938
feat: add test name to the download folder
vsukhin Nov 16, 2023
e9252d2
feat: update test staus after completion
vsukhin Nov 16, 2023
343ba4a
docs: added gitlab and jenkins cicd docs (#4619)
emamihe Nov 17, 2023
b9cb540
fixed cicd review (#4634)
emamihe Nov 17, 2023
dad1937
Update cicd-overview.md
ypoplavs Nov 17, 2023
0a17c8d
fix: do not return empty latestExecution with Test/TestSuite (#4636)
rangoo94 Nov 17, 2023
f8fc98d
fix: allow terminating CLI while watching test/test suite run (#4638)
rangoo94 Nov 20, 2023
e5f0f6c
docs: some fixes (#4637)
emamihe Nov 20, 2023
2c0ef53
fix: table output performance (#4640)
rangoo94 Nov 21, 2023
61785e8
feat: Executor tests - Container executor: Playwright - args (#4645)
tkonieczny Nov 21, 2023
980f2cf
fix scorecard failing on branches which are not default
dejanzele Nov 22, 2023
be57402
fix: use existing file for kubepug test (#4644)
vLia Nov 22, 2023
acb2330
Fix editUrl for docs (#4652)
devcatalin Nov 22, 2023
8e5b117
fix: Latest image tag for testkube cli (#4653)
emamihe Nov 22, 2023
460a950
test: update branch name in kubepug tests (#4654)
vLia Nov 22, 2023
cd8dfb5
Fixed cypress image tag
ypoplavs Nov 22, 2023
a0bed56
Update release.yaml (#4661)
emamihe Nov 22, 2023
cbd81ca
feat: add support for skip tls verify in minio (#4649)
dejanzele Nov 22, 2023
143e68b
fix: cloud mode download artifacts (#4664)
povilasv Nov 23, 2023
78190b0
feat: cloud rename - update CLI and environment variables TKC-875 (#4…
vLia Nov 23, 2023
c4b8deb
fix: icons urls in docs (#4670)
devcatalin Nov 23, 2023
25873f9
some bugfixes (#4650)
emamihe Nov 23, 2023
e17e5b3
docs: Docs Cloud Rename (#4669)
jfermi Nov 24, 2023
7c8045d
added the pushing latest tag to the release (#4672)
emamihe Nov 24, 2023
916661c
Revert "docs: Docs Cloud Rename (#4669)" (#4676)
vLia Nov 24, 2023
9e6032b
fix: exit code 1 for failed run
vsukhin Nov 24, 2023
12b81f9
fix: avoid hashed indexes and aggregate: 1 (#4681)
rangoo94 Nov 24, 2023
186df29
feat: add support for TLS in NATS and MinIO clients (#4685)
dejanzele Nov 27, 2023
2f14c1a
feat: slave pod spec (#4632)
vsukhin Nov 27, 2023
1f0db88
feat: add offline cli docs (#4614)
povilasv Nov 28, 2023
4881e02
docs: Docs Cloud Rename (#4669) (#4677)
vLia Nov 28, 2023
358b86f
fix: wrong switch usage
vsukhin Nov 28, 2023
9b143f9
docs: update testkube pro installation video (#4696)
alelthomas Nov 28, 2023
b6ade32
Executor tests - jmeter (#4701)
tkonieczny Nov 29, 2023
dafc87f
feat: webhook template funcs
vsukhin Nov 28, 2023
16160ca
docs: helper methods
vsukhin Nov 28, 2023
0717e0b
fix: permission issue fix in .testkube directory (#4673)
emamihe Nov 29, 2023
4e502a6
executor tests - cypress 13 project and tests (#4615)
tkonieczny Nov 29, 2023
1710638
gitlab-improvement (#4686)
emamihe Nov 29, 2023
3451bbd
fix: GetLatestByTest returns objet not found (#4705)
povilasv Nov 30, 2023
2b082a0
feat: insecure direct
vsukhin Nov 29, 2023
62ed1d7
fix: docs
vsukhin Nov 29, 2023
7815204
feat: refactor jmeterd executor to add better testing and support for…
dejanzele Nov 30, 2023
cbabe5d
docs: make agent pro (#4709)
vLia Nov 30, 2023
e0d1740
docs: Add references to the args and command explanations (#4693)
vLia Nov 30, 2023
b100c3d
fix: add simpler implementation of MongoDB queries for DocumentDB (#4…
rangoo94 Nov 30, 2023
ce64646
Merge branch 'main' into develop
vsukhin Nov 30, 2023
c72e2a1
fix: merge
vsukhin Nov 30, 2023
1776fc7
feat: logs service and sidecar projects (#4562)
exu Dec 1, 2023
291ad52
fix: performance of execution status queries (#4712)
rangoo94 Dec 1, 2023
930b8a0
propagate namespace when test is executed as part of a testsuite (#4716)
dejanzele Dec 1, 2023
59fcfe7
fix: hide result line
vsukhin Dec 4, 2023
e0fb41c
fix: remove cypress output result
vsukhin Dec 4, 2023
44f23b0
fix: docs
vsukhin Dec 4, 2023
80ebb2e
fix: get rid duplicated env lines in log (#4729)
exu Dec 6, 2023
060903f
feat: logs service state handling + reorganizing code (#4718)
exu Dec 6, 2023
4987717
feat: add events for all informers [TKC-631] (#4725)
vLia Dec 6, 2023
fcb8d84
fix: solve merging issue
vsukhin Dec 6, 2023
47d7857
docs: context get/set (#4730)
vLia Dec 7, 2023
548f978
change postman dockerfile
ypoplavs Dec 7, 2023
033631e
fix: copy master env to slave env
vsukhin Dec 7, 2023
a21508b
fix: set init env
vsukhin Dec 7, 2023
6d8a000
feat: Executor tests - jmeterd edge-cases, testsuite labels, run scri…
tkonieczny Dec 8, 2023
c439f52
feat: executor tests - special cases added (#4743)
tkonieczny Dec 8, 2023
8ba88d9
feat: clients for logs (#4742)
exu Dec 8, 2023
c50c072
fix: check step duration (#4744)
vsukhin Dec 10, 2023
e656d55
fix: recent gradle base image (#4747)
exu Dec 11, 2023
0c1fcb7
change logic for jmeter so that SLAVES_COUNT == zero or undefined wor…
dejanzele Dec 11, 2023
d404b7d
fix: gradle follow up fixes (#4748)
exu Dec 11, 2023
808a3f2
added minimum requirements to the docs (#4750)
emamihe Dec 11, 2023
caee909
ci: optimization (#4753)
ypoplavs Dec 12, 2023
f50c6c5
fix: security update for maven jdk18 executor (#4754)
exu Dec 12, 2023
d7bc6bd
add snapshot template
ypoplavs Dec 12, 2023
de45d4c
revert accidental commit
ypoplavs Dec 12, 2023
cf03482
fix: set default mavem build to jdk18 - only one without critical sec…
exu Dec 12, 2023
c4181f5
add snapshot template
ypoplavs Dec 12, 2023
0846d1b
fix snapshot version
ypoplavs Dec 12, 2023
e98c940
fix: set default mavem build to jdk18 - only one without critical sec…
exu Dec 12, 2023
02fa71e
upgrade alpine image
ypoplavs Dec 12, 2023
67f6637
change default gradle image
ypoplavs Dec 12, 2023
f4d0ac9
fix: set default Gradle to 21 (#4759)
exu Dec 13, 2023
28a072b
fix: libssl3 instead of deprecated libssl1.1
exu Dec 13, 2023
25f2f0a
fix: gradle user home need to be set explicitly (#4761)
exu Dec 13, 2023
7354723
feat: add config option for skipping cert verify when connecting to c…
dejanzele Dec 13, 2023
6ec1f70
fix: artillery executor deps update and rewrite base image (#4764)
exu Dec 13, 2023
8169f22
fix: pin soapui runner version (#4765)
vLia Dec 13, 2023
f8c0c63
add docker manifests for cypress
ypoplavs Dec 13, 2023
9baad69
fix: updated cypress images (#4768)
exu Dec 13, 2023
cde4821
fix: test execution name
vsukhin Dec 14, 2023
f6c2d11
fix: unit tests
vsukhin Dec 14, 2023
d991717
fix: cypress 13 as default image (#4771)
exu Dec 14, 2023
5e0dc4b
fix: gradle jdk21 alpine - image with less sec issues (#4773)
exu Dec 14, 2023
362628e
feat: artifact model enhancement
vsukhin Dec 11, 2023
67c9893
fix: dep update
vsukhin Dec 11, 2023
4df5d4b
fix" slave pod template
vsukhin Dec 12, 2023
acbb96a
feat: pvc volume for job executor
vsukhin Dec 12, 2023
726d734
fix: pass artifact request to slave pod
vsukhin Dec 12, 2023
9806b47
fix: artifact volume for init container
vsukhin Dec 12, 2023
9373bf5
fix: check for shared pods
vsukhin Dec 12, 2023
c0c8b93
fix: regexp for scraper
vsukhin Dec 12, 2023
3d380d2
fix: panic
vsukhin Dec 12, 2023
1bec09b
fix: unit tests
vsukhin Dec 12, 2023
1905837
fix: dep update
vsukhin Dec 13, 2023
0b3a872
fix: integration test
vsukhin Dec 13, 2023
c0f2c5c
Update cmd/kubectl-testkube/commands/tests/run.go
vsukhin Dec 14, 2023
f38e5f8
fix: dep update
vsukhin Dec 14, 2023
61dffa5
fix: artifacts docs
vsukhin Dec 14, 2023
325665e
fix: change topic name
vsukhin Dec 14, 2023
3e9868c
add test status assets (#4775)
fivenp Dec 14, 2023
1700b49
fix: pin postman image (#4776)
vLia Dec 15, 2023
8a3c5e2
fix: security update: fiber (#4777)
exu Dec 15, 2023
df32af4
fix: test eecution name for test suite
vsukhin Dec 15, 2023
b432399
feat: install specified executors
vsukhin Dec 14, 2023
d459b90
fix: ignore empty executor
vsukhin Dec 14, 2023
9cfbe5b
fix: docs
vsukhin Dec 14, 2023
35579fe
fix: rename env var
vsukhin Dec 14, 2023
aab80e1
fix: get execution id from testsuite for tests
vsukhin Dec 15, 2023
ba8b623
fix: trim name spaces
vsukhin Dec 15, 2023
38a3b87
fix: nil check
vsukhin Dec 15, 2023
ce33dd2
fix: test execution name for test suite
vsukhin Dec 15, 2023
85a68a6
fix: execution name
vsukhin Dec 15, 2023
b80ca88
fix: security gomod updates (#4782)
exu Dec 18, 2023
fc71643
fix: removed results from routing
exu Dec 18, 2023
62e7704
feat: added tostr method (#4785)
exu Dec 18, 2023
176f119
build(deps): bump golang.org/x/net in /test/ginkgo/executor-tests/smo…
dependabot[bot] Dec 18, 2023
c8434b7
build(deps): bump @babel/traverse from 7.19.0 to 7.23.6 in /docs (#4791)
dependabot[bot] Dec 18, 2023
1ebb503
fix: security k6 docker image bump (#4793)
exu Dec 18, 2023
c5fb0f4
feat: add support for grpc keepalive (#4795)
dejanzele Dec 18, 2023
83f5992
build(deps): bump golang.org/x/net (#4789)
dependabot[bot] Dec 18, 2023
567b390
build(deps): bump golang.org/x/crypto from 0.14.0 to 0.17.0 (#4797)
dependabot[bot] Dec 19, 2023
5bd0e78
fix: zap Dockerfile (#4796)
exu Dec 19, 2023
9936083
build(deps): bump postcss from 8.4.16 to 8.4.32 in /docs (#4787)
dependabot[bot] Dec 19, 2023
c068aaa
docs: add documentation for log highlighting (#4780)
rangoo94 Dec 19, 2023
564c93f
update jmeter image
ypoplavs Dec 15, 2023
3aea093
update image
ypoplavs Dec 15, 2023
4f68fc1
docker image update
ypoplavs Dec 17, 2023
fbc6771
update goreleaser for jmeter
ypoplavs Dec 18, 2023
352c53f
typo
ypoplavs Dec 18, 2023
a03a00e
rename image
ypoplavs Dec 18, 2023
571c359
test image on demo
ypoplavs Dec 18, 2023
58dd64d
build test image
ypoplavs Dec 18, 2023
a98edc3
update goreleaser
ypoplavs Dec 18, 2023
268123d
goreleaser file
ypoplavs Dec 18, 2023
0a60c4d
build jmeter
ypoplavs Dec 18, 2023
9a65f39
remove additional image
ypoplavs Dec 19, 2023
d033e21
remove testing branch
ypoplavs Dec 19, 2023
0edf8e7
remove unneccessary packages
ypoplavs Dec 19, 2023
8a145e2
fix: rewrite cloud uris configs (#4752)
exu Dec 20, 2023
d1d05cc
fix: rollback changes to pipelines (#4812)
exu Dec 20, 2023
47d07df
fix: log service doesnt start up (#4814)
povilasv Dec 20, 2023
7f9c8f3
build new gradle image
ypoplavs Dec 20, 2023
1666649
push arm image
ypoplavs Dec 20, 2023
0bad95e
test arm
ypoplavs Dec 20, 2023
85d2b8d
remove testing changes
ypoplavs Dec 20, 2023
63583ff
fix: bugfix for logs service cicd (#4811)
emamihe Dec 20, 2023
16a3826
fix: put pre-run and post-run script files in the data volume (#4823)
rangoo94 Dec 21, 2023
4bb88af
fix: log sidecar never finishes (#4827)
povilasv Dec 21, 2023
55c8154
fix: pre-run/post-run/command scripts are running incorrectly (#4829)
rangoo94 Dec 21, 2023
9881c19
fix: api urls for the set context command (#4825)
nicufk Dec 21, 2023
cf44dca
fix: pass command arguments down (#4830)
rangoo94 Dec 21, 2023
cd694f6
feat: Executor tests - pre/post run scripts, postman/newman - contain…
tkonieczny Dec 21, 2023
27b9a4f
fix: remove cloud commands from docs (#4831)
nicufk Dec 21, 2023
d899ca4
feat: add support for configurable test file using envvar and edit va…
dejanzele Dec 22, 2023
aa10ef7
update release dev
ypoplavs Jan 4, 2024
2bfeb3e
feat: improve logging around connecting to agent api (#4856)
dejanzele Jan 4, 2024
742b4e8
docs: fix invalid flag in running-tests.md (#4845)
dejanzele Jan 4, 2024
1fa7c21
Merge branch 'main' into develop
vsukhin Jan 4, 2024
6370b54
add condition to install latest release if no beta found
ypoplavs Jan 4, 2024
613bdac
feat: slave pod number env var
vsukhin Jan 5, 2024
6917dcd
fix: dep update
vsukhin Jan 5, 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
8 changes: 4 additions & 4 deletions .github/workflows/docker-build-api-executors-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+"

env:
ALPINE_IMAGE: alpine:3.18.0
ALPINE_IMAGE: alpine:3.19.0
GO_VERSION: 1.21.5

permissions:
Expand All @@ -31,7 +31,7 @@ jobs:
- name: Set-up Go
uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_VERSION }}
go-version: ${{ env.GO_VERSION }}
cache: false

- name: Go Cache
Expand Down Expand Up @@ -584,11 +584,11 @@ jobs:

- name: Create manifests
run: |
docker manifest create kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }} --amend kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-cypress12-amd64 --amend kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-cypress12-arm64v8
docker manifest create kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }} --amend kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-cypress13-amd64 --amend kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-cypress13-arm64v8
docker manifest push -p kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}
cosign sign kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }} --yes

docker manifest create kubeshop/testkube-cypress-executor:latest --amend kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-cypress12-amd64 --amend kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-cypress12-arm64v8
docker manifest create kubeshop/testkube-cypress-executor:latest --amend kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-cypress13-amd64 --amend kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-cypress13-arm64v8
docker manifest push -p kubeshop/testkube-cypress-executor:latest
cosign sign kubeshop/testkube-cypress-executor:latest --yes

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
paths-ignore:
- 'docs/**'
env:
ALPINE_IMAGE: alpine:3.18.0
ALPINE_IMAGE: alpine:3.19.0
GO_VERSION: 1.21.5

jobs:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-build-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
paths-ignore:
- 'docs/**'
env:
ALPINE_IMAGE: alpine:3.18.0
ALPINE_IMAGE: alpine:3.19.0
GO_VERSION: 1.21.5

jobs:
Expand Down
15 changes: 11 additions & 4 deletions .github/workflows/release-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
with:
distribution: goreleaser-pro
version: latest
args: release -f ${{ matrix.path }} --snapshot
args: release -f ${{ matrix.path }} --skip-publish
env:
GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
ANALYTICS_TRACKING_ID: "${{secrets.TESTKUBE_CLI_GA_MEASUREMENT_ID}}"
Expand Down Expand Up @@ -116,7 +116,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: sigstore/[email protected]
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
with:
distribution: goreleaser-pro
version: latest
args: release -f .goreleaser-dev.yml --rm-dist
args: release -f .goreleaser-dev.yml
env:
GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
ANALYTICS_TRACKING_ID: "${{secrets.TESTKUBE_CLI_GA_MEASUREMENT_ID}}"
Expand All @@ -180,7 +180,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0

Expand Down Expand Up @@ -231,6 +231,13 @@ jobs:
$hash=Get-FileHash testkube.msi
$hash.Hash + " " + $installer_name + ".msi" >> msi_checksum.txt
echo "::set-output name=INSTALLER_NAME::${installer_name}"

#export MSI hash to environment
$hashsum = $hash.Hash
echo "::set-output name=CHECKSUM::${hashsum}"

#copy MSI to choco directory to build a nuget package
Copy-Item -Path "testkube.msi" -Destination ".\choco\tools\$env:MSI_NAME.msi"
env:
MSI_NAME: testkube_${{steps.tag.outputs.tag}}_Windows_i386

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ refresh-config:
wget "https://raw.githubusercontent.com/kubeshop/helm-charts/develop/charts/testkube-api/job-container-template.yml" -O config/job-container-template.yml &
wget "https://raw.githubusercontent.com/kubeshop/helm-charts/develop/charts/testkube-api/job-scraper-template.yml" -O config/job-scraper-template.yml &
wget "https://raw.githubusercontent.com/kubeshop/helm-charts/develop/charts/testkube-api/job-template.yml" -O config/job-template.yml &
wget "https://raw.githubusercontent.com/kubeshop/helm-charts/develop/charts/testkube-api/pvc-container-template.yml" -O config/pvc-container-template.yml &
wget "https://raw.githubusercontent.com/kubeshop/helm-charts/develop/charts/testkube-api/pvc-template.yml" -O config/pvc-template.yml &
wget "https://raw.githubusercontent.com/kubeshop/helm-charts/develop/charts/testkube-api/slack-config.json" -O config/slack-config.json &
wget "https://raw.githubusercontent.com/kubeshop/helm-charts/develop/charts/testkube-api/slack-template.json" -O config/slack-template.json

Expand Down
36 changes: 36 additions & 0 deletions api/v1/testkube.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3542,6 +3542,11 @@ components:
description: previous step numbers starting from 1
items:
type: integer
previousTestNames:
type: array
description: previous test names
items:
type: string

TestSuiteStep:
type: object
Expand Down Expand Up @@ -3739,6 +3744,18 @@ components:
type: array
items:
$ref: "#/components/schemas/TestSuiteStepExecutionResult"
startTime:
type: string
description: "step start time"
format: date-time
endTime:
type: string
description: "step end time"
format: date-time
duration:
type: string
description: "step duration"
example: "2m"

TestSuiteExecutionsResult:
description: the result for a page of executions
Expand Down Expand Up @@ -4266,6 +4283,11 @@ components:
description: "execution ids for artifacts to download"
items:
type: string
downloadArtifactTestNames:
type: array
description: "test names for artifacts to download from latest executions"
items:
type: string
slavePodRequest:
$ref: "#/components/schemas/PodRequest"
description: configuration parameters for executed slave pods
Expand Down Expand Up @@ -4615,13 +4637,21 @@ components:
items:
type: string
description: artifact directories for scraping
masks:
type: array
items:
type: string
description: regexp to filter scraped artifacts, single or comma separated
storageBucket:
type: string
description: artifact bucket storage
example: test1-artifacts
omitFolderPerExecution:
type: boolean
description: don't use a separate folder for execution artifacts
sharedBetweenPods:
type: boolean
description: whether to share volume between pods

ArtifactUpdateRequest:
description: artifact request update body
Expand Down Expand Up @@ -4886,6 +4916,11 @@ components:
description: "execution ids for artifacts to download"
items:
type: string
downloadArtifactTestNames:
type: array
description: "test names for artifacts to download from latest executions"
items:
type: string
slavePodRequest:
$ref: "#/components/schemas/PodRequest"
description: configuration parameters for executed slave pods
Expand Down Expand Up @@ -5360,6 +5395,7 @@ components:
- webhook
- testexecution
- testsuiteexecution
- testsource

EventType:
type: string
Expand Down
64 changes: 21 additions & 43 deletions cmd/api-server/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,11 @@ import (
"github.com/kubeshop/testkube/internal/app/api/debug"
"github.com/kubeshop/testkube/internal/app/api/metrics"
"github.com/kubeshop/testkube/pkg/agent"
"github.com/kubeshop/testkube/pkg/event"
"github.com/kubeshop/testkube/pkg/event/bus"
kubeexecutor "github.com/kubeshop/testkube/pkg/executor"
"github.com/kubeshop/testkube/pkg/executor/client"
"github.com/kubeshop/testkube/pkg/executor/containerexecutor"

"github.com/kubeshop/testkube/pkg/event"
"github.com/kubeshop/testkube/pkg/event/bus"
"github.com/kubeshop/testkube/pkg/scheduler"

testkubeclientset "github.com/kubeshop/testkube-operator/pkg/clientset/versioned"
Expand Down Expand Up @@ -359,7 +358,7 @@ func main() {
ui.ExitOnError("Sync default executors", err)
}

jobTemplate, slavePodTemplate, err := parser.ParseJobTemplates(cfg)
jobTemplates, err := parser.ParseJobTemplates(cfg)
if err != nil {
ui.ExitOnError("Creating job templates", err)
}
Expand All @@ -368,8 +367,7 @@ func main() {
resultsRepository,
cfg.TestkubeNamespace,
images,
jobTemplate,
slavePodTemplate,
jobTemplates,
cfg.JobServiceAccountName,
metrics,
eventsEmitter,
Expand All @@ -390,7 +388,7 @@ func main() {
ui.ExitOnError("Creating executor client", err)
}

containerTemplates, err := parseContainerTemplates(cfg)
containerTemplates, err := parser.ParseContainerTemplates(cfg)
if err != nil {
ui.ExitOnError("Creating container job templates", err)
}
Expand Down Expand Up @@ -576,40 +574,6 @@ func main() {
}
}

func parseContainerTemplates(cfg *config.Config) (t kubeexecutor.Templates, err error) {
t.Job, err = parser.LoadConfigFromStringOrFile(
cfg.TestkubeContainerTemplateJob,
cfg.TestkubeConfigDir,
"job-container-template.yml",
"job container template",
)
if err != nil {
return t, err
}

t.Scraper, err = parser.LoadConfigFromStringOrFile(
cfg.TestkubeContainerTemplateScraper,
cfg.TestkubeConfigDir,
"job-scraper-template.yml",
"job scraper template",
)
if err != nil {
return t, err
}

t.PVC, err = parser.LoadConfigFromStringOrFile(
cfg.TestkubeContainerTemplatePVC,
cfg.TestkubeConfigDir,
"pvc-container-template.yml",
"pvc container template",
)
if err != nil {
return t, err
}

return t, nil
}

func parseDefaultExecutors(cfg *config.Config) (executors []testkube.ExecutorDetails, err error) {
rawExecutors, err := parser.LoadConfigFromStringOrFile(
cfg.TestkubeDefaultExecutors,
Expand All @@ -625,9 +589,23 @@ func parseDefaultExecutors(cfg *config.Config) (executors []testkube.ExecutorDet
return nil, err
}

enabledExecutors, err := parser.LoadConfigFromStringOrFile(
cfg.TestkubeEnabledExecutors,
cfg.TestkubeConfigDir,
"enabledExecutors",
"enabled executors",
)
if err != nil {
return nil, err
}

specifiedExecutors := make(map[string]struct{})
if cfg.TestkubeSpecifiedExecutors != "" {
for _, executor := range strings.Split(cfg.TestkubeSpecifiedExecutors, ",") {
if enabledExecutors != "" {
for _, executor := range strings.Split(enabledExecutors, ",") {
if strings.TrimSpace(executor) == "" {
continue
}

specifiedExecutors[strings.TrimSpace(executor)] = struct{}{}
}

Expand Down
2 changes: 1 addition & 1 deletion cmd/kubectl-testkube/commands/context/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func NewGetContextCmd() *cobra.Command {

cmd := &cobra.Command{
Use: "context <value>",
Short: "Set context for Testkube Cloud",
Short: "Set context for Testkube Pro",
Run: func(cmd *cobra.Command, args []string) {

cfg, err := config.Load()
Expand Down
2 changes: 1 addition & 1 deletion cmd/kubectl-testkube/commands/context/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func NewSetContextCmd() *cobra.Command {

cmd := &cobra.Command{
Use: "context <value>",
Short: "Set context data for Testkube Cloud",
Short: "Set context data for Testkube Pro",
Run: func(cmd *cobra.Command, args []string) {

cfg, err := config.Load()
Expand Down
36 changes: 34 additions & 2 deletions cmd/kubectl-testkube/commands/tests/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,20 +228,32 @@ func newArtifactRequestFromFlags(cmd *cobra.Command) (request *testkube.Artifact
return nil, err
}

masks, err := cmd.Flags().GetStringArray("artifact-mask")
if err != nil {
return nil, err
}

artifactStorageBucket := cmd.Flag("artifact-storage-bucket").Value.String()
artifactOmitFolderPerExecution, err := cmd.Flags().GetBool("artifact-omit-folder-per-execution")
if err != nil {
return nil, err
}

if artifactStorageClassName != "" || artifactVolumeMountPath != "" || len(dirs) != 0 ||
artifactStorageBucket != "" || artifactOmitFolderPerExecution {
artifactSharedBetweenPods, err := cmd.Flags().GetBool("artifact-shared-between-pods")
if err != nil {
return nil, err
}

if artifactStorageClassName != "" || artifactVolumeMountPath != "" || len(dirs) != 0 || len(masks) != 0 ||
artifactStorageBucket != "" || artifactOmitFolderPerExecution || artifactSharedBetweenPods {
request = &testkube.ArtifactRequest{
StorageClassName: artifactStorageClassName,
VolumeMountPath: artifactVolumeMountPath,
Dirs: dirs,
Masks: masks,
StorageBucket: artifactStorageBucket,
OmitFolderPerExecution: artifactOmitFolderPerExecution,
SharedBetweenPods: artifactSharedBetweenPods,
}
}

Expand Down Expand Up @@ -1127,6 +1139,16 @@ func newArtifactUpdateRequestFromFlags(cmd *cobra.Command) (request *testkube.Ar
nonEmpty = true
}

if cmd.Flag("artifact-mask").Changed {
masks, err := cmd.Flags().GetStringArray("artifact-mask")
if err != nil {
return nil, err
}

request.Masks = &masks
nonEmpty = true
}

if cmd.Flag("artifact-omit-folder-per-execution").Changed {
value, err := cmd.Flags().GetBool("artifact-omit-folder-per-execution")
if err != nil {
Expand All @@ -1137,6 +1159,16 @@ func newArtifactUpdateRequestFromFlags(cmd *cobra.Command) (request *testkube.Ar
nonEmpty = true
}

if cmd.Flag("artifact-shared-between-pods").Changed {
value, err := cmd.Flags().GetBool("artifact-shared-between-pods")
if err != nil {
return nil, err
}

request.SharedBetweenPods = &value
nonEmpty = true
}

if nonEmpty {
return request, nil
}
Expand Down
Loading
Loading