Skip to content

Commit

Permalink
feat: Release/v1.16.0 (#4648)
Browse files Browse the repository at this point in the history
* fix: error logs

* fix: report path

* fix: change id and uri

* fix: unit test

* fix: unit test

* fix: remove typo

* feat: Initial changes for distributed jmeter (#4289)

* feat: Initial changes for distributed jmeter

Signed-off-by: hiteshwani <[email protected]>

* Added jmeter slaves script and Dockerfile

Signed-off-by: hiteshwani <[email protected]>

* Removed duplicate files and imported from existing jmeter executor

Signed-off-by: hiteshwani <[email protected]>

* Add secret refs for git username and token for slave pods

Signed-off-by: hiteshwani <[email protected]>

* Support for user provided plugins (#2)

* Support for user provided plugins

* Add secret refs for git username and token for slave pods

Signed-off-by: hiteshwani <[email protected]>

* Modified logic for adding JMETER_USER_PLUGINS_FOLDER  env var

Signed-off-by: hiteshwani <[email protected]>

* Support for user provided plugins

Signed-off-by: Aman Parauliya <[email protected]>

* Add secret refs for git username and token for slave pods

Signed-off-by: hiteshwani <[email protected]>

* Modified logic for adding JMETER_USER_PLUGINS_FOLDER  env var

Signed-off-by: hiteshwani <[email protected]>

---------

Signed-off-by: hiteshwani <[email protected]>
Signed-off-by: Aman Parauliya <[email protected]>
Co-authored-by: hiteshwani <[email protected]>

* Update README file for Jmeterd

Signed-off-by: Aman Parauliya <[email protected]>

* Changed base image to kubeshop/jmeter and removed  tests (#5)

* Changed base image to kubeshop/jmeter and removed tests

Signed-off-by: hiteshwani <[email protected]>

* modify slaves script so it will not exited on error

Signed-off-by: hiteshwani <[email protected]>

---------

Signed-off-by: hiteshwani <[email protected]>

* Support for user.properties file (#3)

* Support for user provided plugins

Signed-off-by: Aman Parauliya <[email protected]>

* Add secret refs for git username and token for slave pods

Signed-off-by: hiteshwani <[email protected]>

* Modified logic for adding JMETER_USER_PLUGINS_FOLDER  env var

Signed-off-by: hiteshwani <[email protected]>

* Added the support for user.properties file

---------

Signed-off-by: Aman Parauliya <[email protected]>
Signed-off-by: hiteshwani <[email protected]>
Co-authored-by: hiteshwani <[email protected]>

* Addressed review comments

Signed-off-by: Aman Parauliya <[email protected]>

* Fixed review comments of Dejan

Signed-off-by: Aman Parauliya <[email protected]>

* Refactored slaves pod configuration and added validation for pod name (#8)

Signed-off-by: hiteshwani <[email protected]>

* Update README file of Distributor JMeter

Signed-off-by: Aman Parauliya <[email protected]>

* Adding a new example in a new folder named giflow under the examples folder

Signed-off-by: Aman Parauliya <[email protected]>

* Remove plugins from /lib

Signed-off-by: hiteshwani <[email protected]>

---------

Signed-off-by: hiteshwani <[email protected]>
Signed-off-by: Aman Parauliya <[email protected]>
Co-authored-by: Aman Parauliya <[email protected]>
Co-authored-by: Aman Parauliya <[email protected]>

* docs: Add Dashboard and CLI Tabs (#4297)

* Add Dashboard and CLI Tabs

To scheduling tests and test triggers pages.

* conflicts resolved

* Update scheduling-tests.mdx

* Update test-triggers.mdx

* Update scheduling-tests.mdx

* Update test-triggers.mdx

* docs - schedule-test-suites.png added

---------

Co-authored-by: Tomasz Konieczny <[email protected]>

* testsuites for dev/staging/demo updated (#4369)

* ci: jmeterd executor and slave (#4371)

* add jmeterd ci

* docs: Advanced Test Orchestration, AI Insights, Add advantages to Overview … (#4370)

* Advanced Test Orchestration, AI Insights, Add advantages to Overview page

* docs - index.mdx - colors build issue fixed

---------

Co-authored-by: Tomasz Konieczny <[email protected]>

* fix: change jmeterd docker versions (#4372)

* fix: typo in jmeterd slave image (#4373)

* feat: concurrency policy model

* fix: map for concurrency policy

* fix: support allow and forbid options

* feat: replace trigger executions

* fix: unit test

* fix: lint

* fix: enable caching

* fix: return concurrency policies

* fix: dep update

* fix: increase retry

* update jmeterd docs

* docs: fix bright mode logo (#4380)

* feat: cd event log output

* fix: send logs at the end of tests

* fix: event condition

* fix: url address

* Add labels to the slave pods (#4384)

Signed-off-by: Aman Parauliya <[email protected]>

* feat: allow to pass multi namespace flags for testkube cloud init command (#4388)

* feat: add ReadOnly flag to test (#4389)

* fix: remove duplicated code executor.ExecuteSync (#4393)

* fix: update execution status in watcher

* fix: change log message

* fix: change log parameter

* fix: check for exit code

* fix: replace timer by ticker

* fix: change error message

* fix: add events to messages

* fix: filter pod events

* fix: update error message

* feat: test and test suite --update flag

* feat: additional update flags

* feat: update docs

* fix: check if update flag was chaged

* feat: update operator reference (#4399)

* feat: jmeterd test updates

* feat: Slave configuration in Executor CRD and ownerReferences changes in slaves pod (#4385)

* Added slaves filed in Executor CRD to add slaves configs

Signed-off-by: hiteshwani <[email protected]>

* OwnerRefs changes for slaves pod

Signed-off-by: hiteshwani <[email protected]>

* removed the local path from go.mod file

Signed-off-by: Aman Parauliya <[email protected]>

* Fixed linters issue

Signed-off-by: Aman Parauliya <[email protected]>

---------

Signed-off-by: hiteshwani <[email protected]>
Signed-off-by: Aman Parauliya <[email protected]>
Co-authored-by: Aman Parauliya <[email protected]>

* feat: refactor jmeterd slaves module (#4408)

* feat: refactor jmeterd slaves module

* fix flaky slaves unit test

* ci: add arm64 (#4374)

* add arm64 for jmeterd

* feat: add labels to count metrics

* fix: metric fields

* feat: support dirs for soap, postman, curl

* fix: flaky jmeterd test (#4412)

* feat: allow skipping execution deletion on test deletion (#4411)

* add latest tag to jmeterd slave (#4414)

* docs: fix default commands format (#4415)

* feat: metric uri

* fix: add test and testsuite uri

* fix: sort labels

* fix: format labels

* fix: update openapi schema (#4417)

* fix: do not store output in test suite execution result (#4409)

* fix: do not store output in test suite execution result

* fix: clean execution result in the BatchResults as well

* fix: add apis spec note and check for nil

* fix: batch output clean (#4423)

* Distributed JMeter and Misc Editing (#4404)

* docs: add status pages (#4376)

* docs: add status pages without images

* docs: remove pro reference

* docs: apply suggestions from code review

Co-authored-by: Julianne Fermi <[email protected]>

* docs: more detailed description of the pages

* docs: add suggestion from review

* docs: apply suggestions from code review

Co-authored-by: Julianne Fermi <[email protected]>

* docs: add example curl test

* docs: add screenshots

* docs: apply review suggestion

* docs: update images

* docs: update example to use UI instead of CLI

* docs: review suggestions

---------

Co-authored-by: Julianne Fermi <[email protected]>

* docs: add sp to sidebars (#4426)

* feat: slack dashboard uri

* fix: slack template

* fix: slack template

* feat: add dashbaord uris for executions

* fix: make error verbose

* Update docker-build-develop.yaml

* ci: fix goreleaser build (#4429)

* Turn off cache for api

* Image Updates for 1.14 Part 1 (#4434)

* update docs (#4436)

* feat: execute post run script before scraping

* fix: unit test

* fix: update docs

* fix: dep  update

* docs: add cached test result docs (#4441)

* docs: add cached test result docs

* Apply suggestions from code review

Co-authored-by: Julianne Fermi <[email protected]>

---------

Co-authored-by: Julianne Fermi <[email protected]>

* docs: update installation video with cloud (#4442)

* docs: update installation video with cloud

* docs: update installation video with cloud

* docs: update installation video with cloud

* fix: replace deprecated method

* feat: add readonly flag to test-suites (#4448)

* ci: fix cache (#4449)

* fix cache

* fix: update CRD for Dashboard tests to match mono-repository setup (#4451)

* fix: test artifacts failing due to empty file placement (#4444) (#4445)

* tests - expected failures extended - oomkilled, timeout (#4452)

* tests - curl directory (#4454)

* tests - expected failures extended - oomkilled for Cypress (#4453)

* feat: evaluate environment variables in the args of gradle (#4457)

* fix: error message

* fix: get error message

* fix: remove condition

* [Docs] Getting started - Fix Step 1 link (#4463)

* fix: remove secrets endpoint

* fix: exit code and mongo transaction

* fix: missed init

* fix: missed db init

* fix: remove transaction

* fix: remove transaction options

* fix: clean error message

* docs: update images for sp (#4466)

* feat: add output stream functions and mocks (#4431)

* feat: add output stream functions and mocks

* fix: implement size reading and improve interfaces

* fix: literal to const

* fix: nil context

* docs: guide on how to deploy TK from private registry (#4468)

add guide on how to deploy TK from private registry

* add category to docs

* fix jmeterd slave build

* docs: fix navbar not showing on small screens (#4490)

* feat: add Testkube Cloud announcement in docs (#4492)

* feat: move announcement bar below the navigation bar
* feat: add announcement bar for Testkube Cloud
* fix: adjust the search button on mobile devices
* fix: adjust sign in link to match existing [id^=sign] GTM trigger

* ci: fix kubepug installation (#4495)

fix kubepug installation

* feat: resource regex (#4480)

* feat: name regex for trigger selectors

* fix: dep update

* fix: regex test

* doc: add example for regex

* fix: select tests and test suites for name reg ex

* fix: dep update

* fix: enable secrets endpoint (#4469)

* fix: enable secrets endpoint

* fix: env mame typo

* fix: visibility label for secrets

* fix: dep update

* fix: dep update

* fix: expand env for args (#4481)

* feat: run scripts in working dir (#4489)

* feat: run scripts in working dir

* fix: add default working dir

* feat: working dir env var

* use: working dir param

* fix: fmt option

* fix: don't check stdin piping

* fix: use env param

* fix: use working dir env var

* fix: use env working dir

* feat: Maven jdk 8 test, example (based on the one for 11) (#4501)

* Maven example for jdk8

* Maven example for jdk8, tests

* fix: Maven 8 test - branch fixed (#4502)

* Maven example for jdk8

* Maven example for jdk8, tests

* maven test - branch

* Testkube OSS page and additional screenshot updates (#4493)

* fix: wrong link (#4504)

* feat: minor jmeterd updates (#4503)

* minor updated to jmeterd

* remove more redundant logic in jmeterd

* fix: remove var

* feat: improve performance for slowest operations / fix: loading total executions number for test suite (#4507)

* fix: count total executions for single test suite, not all
* feat: optimize getting latest tests/test suites queries

* docs: argocd integration (#4510)

update argocd docs

* fix: add npm report permissions (#4511)

* fix: add npm report permissions

* fix: add comment

* fix: merge issue

* fix: merge typo

* fix: merge issues

* fix: merge issues

* feat: Update k6s executor image (#4516)

* replace image for k6

* feat: improve performance of listing tests/test suites/executions (#4518)

* feat: improve performance of listing tests/test suites/executions

* renamed template crd example name to job-template

Signed-off-by: Satish Kumar Kadarkarai Main <[email protected]>

* feat: add env var for runner

* fix: unit test

* feat: speed up aggregates with projection and _id $lookups (#4524)

* fix: ignore post script error

* fix: return executions for all tests when requested (#4528)

* fix: total number of test suite executions should ignore paging filters (#4530)

* docs: add pro feature badge to pro feature pages (#4529)

* docs: added pro feature badge to pro feature pages

* docs: fix indent

* docs: Getting Started Rework (#4523)

* Getting Started Rework

Add 'Open Source or Cloud' doc to the Overview section at the beginning of the documentation.

* Getting Started Rework

Update testkube-oss.md to refer to table in Open Source or Cloud.

* docs: Fix OSS documentation link (#4538)

* feat: add MongoDB migrations, run it on API start (#4534)

* feat: add MongoDB migrations, run it on API start

* feat: move MongoDB migrations to common directory

* fix typo

* feat: allow disabling MongoDB migrations with environment variable / fix: display migrations planner error

* feat: extract Database wrapper from DbMigrator

* feat: extract logic for getting the migrations from disk out of NewDbMigrator

* chore: delete error from NewDbMigrator

* fix: DbMigrator bugs

* fix: add unit tests for DbMigrator

* fix: order imports

* fix: make the failing MongoDB migrations warning instead of error

* fixup linting

* feat: embed MongoDB migrations in the binary (#4540)

* feat: use fs.FS for DbMigrator
* chore: add unit tests for getting MongoDB migrations from FS
* feat: embed MongoDB migrations in binary

* fix: flaky jmeterd test (#4521)

* propagate env vars to jmeterd slaves (#4541)

* feat: speed up - use covered queries for tests/test suites list (#4536)

* feat: speed up - use covered queries for tests/test suites list
* feat: add compound index for new executions search query

* feat: make optional junit

* fix: print new env var

* fix: remove code duplication

* docs: Clean up and reorganize getting starter pages and redirects (#4551)

* docs: update GH action (#4496)

* update docs for GH action

* fix: optional artillery junit

* fix: optional ginkgo junit

* fix:  optional jmeter junit

* fix: optional junit for jmeterd

* fix: postman optional junit

* fix: obfuscate args

* docs: argocd image updates (#4553)

* updated docs for ArgocdCD sync

* docs: env vars

* fix: typo

* Update docs/docs/articles/running-tests.md

Co-authored-by: Julianne Fermi <[email protected]>

* fix: use `aggregate: 1` for getting latest by test (#4560)

* update executors with curl, openssh, sshpass

* add remove cache

* add sshpass to jmeterd

* fix: ignore empty secret ref

* feat: change executor model

* feat: use data dir as working dir model

* fix: dep update

* fix: unit test

* fix: use data dir as working dir

* docs: cli

* fix: dep update

* feat: pass wartcher event to trigger

* docs: env vars

* fix: remove hint

* build postman

* remove testing branch

* fix: aggregate(1) on test suite results (#4577)

* fix: result line for websockets (#4576)

* feat: download testsuite artifacts

* fix: download conditions

* fix: remove check

* docs: cached test suites (#4580)

* fix: cli disable get config for cload context (#4583)

* fix: dep update

* feat: download artifacts in init container

* fix: field comment

* fix: unittest

* fix: remove namespace

* fix: uri scheme

* fix: dep update

* docs: passed artifacts

* fix: support silent mode

* fix: allow download reports for failed

* fix: test suite err check

* fix: update to outdated cypress images (#4607)

* fix: typo in test run image flag (#4608)

* fix: typo in test run image flag

* fix: typo in test run image flag

* fix: typo in test run image flag

* fix: typo in test run image flag

* add enterprise docs

* fix failing docs

* fix api values

* Update docs/docs/testkube-enterprise/articles/auth.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/auth.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/auth.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/auth.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/auth.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/usage-guide.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/usage-guide.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/usage-guide.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/usage-guide.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/usage-guide.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/usage-guide.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/usage-guide.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/usage-guide.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/usage-guide.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/usage-guide.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/usage-guide.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/usage-guide.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/usage-guide.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/usage-guide.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/usage-guide.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/usage-guide.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/usage-guide.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/testkube-enterprise/articles/usage-guide.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update production setup

* add email examples

* add space

* fix docs

* chore: rename secret label

* fix: dep update

* docs: argocd cron jobs sync

* feat: adding support for tracetest cloud on tracetest executor (#4613)

* feat: adding support for tracetest cloud on tracetest executor

* fix lint issues

* adding integration tests for tracetest executor

* fixing unit test

* adding PR suggestions

* feat: add test name to the download folder

* feat: update test staus after completion

* docs: added gitlab and jenkins cicd docs (#4619)

* added gitlab and jenkins cicd docs

* added example

* Update docs/docs/articles/gitlab.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/articles/gitlab.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/articles/gitlab.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/articles/gitlab.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/articles/gitlab.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/articles/jenkins.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/articles/jenkins.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/articles/jenkins.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/articles/jenkins.md

Co-authored-by: Julianne Fermi <[email protected]>

* Update docs/docs/articles/jenkins.md

Co-authored-by: Julianne Fermi <[email protected]>

* added samples to jenkins and some refinement in gitlab

---------

Co-authored-by: Julianne Fermi <[email protected]>

* fixed cicd review (#4634)

* Update cicd-overview.md

* fix: do not return empty latestExecution with Test/TestSuite (#4636)

* fix: allow terminating CLI while watching test/test suite run (#4638)

* docs: some fixes (#4637)

* some fixes

* used container image instead of default

* fix: table output performance (#4640)

* chore: update tablewriter to the latest version
* feat: truncate the error message for test suites

* feat: Executor tests - Container executor: Playwright - args (#4645)

* executor tests - playwright - args

* playwright testsuite updated

* playwright test updated

* fix scorecard failing on branches which are not default

* fix: use existing file for kubepug test (#4644)

* used existing file for kubepug
* change the data structures and outdated examples to match newer version of kubepug

* Fix editUrl for docs (#4652)

"Edit this page" links on documentation pages were broken because of the change to have the `develop` branch as default.
This PR fixes the editUrl in Docusaurus config.

* fix: Latest image tag for testkube cli (#4653)

* added the latest image tag

* test: update branch name in kubepug tests (#4654)

* fix: dep update

---------

Signed-off-by: hiteshwani <[email protected]>
Signed-off-by: Aman Parauliya <[email protected]>
Signed-off-by: Satish Kumar Kadarkarai Main <[email protected]>
Co-authored-by: hiteshwani <[email protected]>
Co-authored-by: Aman Parauliya <[email protected]>
Co-authored-by: Aman Parauliya <[email protected]>
Co-authored-by: Julianne Fermi <[email protected]>
Co-authored-by: Tomasz Konieczny <[email protected]>
Co-authored-by: Tomasz Konieczny <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: Dejan Zele Pejchev <[email protected]>
Co-authored-by: fivenp <[email protected]>
Co-authored-by: Jacek Wysocki <[email protected]>
Co-authored-by: Povilas Versockas <[email protected]>
Co-authored-by: Ale <[email protected]>
Co-authored-by: nicufk <[email protected]>
Co-authored-by: Lilla Vass <[email protected]>
Co-authored-by: Dawid Rusnak <[email protected]>
Co-authored-by: PepperKick <[email protected]>
Co-authored-by: jmorante-ks <[email protected]>
Co-authored-by: ypoplavs <[email protected]>
Co-authored-by: Satish Kumar Kadarkarai Main <[email protected]>
Co-authored-by: Bogdan Hanea <[email protected]>
Co-authored-by: Javier Morante <[email protected]>
Co-authored-by: Daniel Baptista Dias <[email protected]>
Co-authored-by: Hamid <[email protected]>
Co-authored-by: Catalin <[email protected]>
  • Loading branch information
1 parent ddfa5fa commit 45dc266
Show file tree
Hide file tree
Showing 134 changed files with 4,272 additions and 1,152 deletions.
255 changes: 146 additions & 109 deletions .github/workflows/docker-build-api-executors-tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
with:
destination_container_repo: kubeshop/testkube-api-server
provider: dockerhub
short_description: 'Testkube Kubernetes API Server'
readme_file: './README.md'
short_description: "Testkube Kubernetes API Server"
readme_file: "./README.md"

- name: Release
uses: goreleaser/goreleaser-action@v4
Expand All @@ -71,11 +71,25 @@ jobs:
single_executor:
strategy:
matrix:
executor: [artillery, curl, example, ginkgo, k6, kubepug, postman, soapui, init, scraper, template, tracetest, zap ]
executor:
[
artillery,
curl,
example,
ginkgo,
k6,
kubepug,
postman,
soapui,
init,
scraper,
template,
tracetest,
zap,
]

runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v2

Expand Down Expand Up @@ -113,7 +127,7 @@ jobs:
with:
destination_container_repo: "kubeshop/testkube-${{ matrix.executor }}-executor"
provider: dockerhub
short_description: 'Testkube ${{ matrix.executor }} executor'
short_description: "Testkube ${{ matrix.executor }} executor"
readme_file: "./contrib/executor/${{ matrix.executor }}/README.md"

- name: Release
Expand All @@ -133,7 +147,6 @@ jobs:
executor_jmeter:
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v2

Expand Down Expand Up @@ -171,7 +184,7 @@ jobs:
with:
destination_container_repo: "kubeshop/testkube-jmeter-executor"
provider: dockerhub
short_description: 'Testkube jmeter executor'
short_description: "Testkube jmeter executor"
readme_file: "./contrib/executor/jmeter/README.md"

- name: Release
Expand All @@ -189,7 +202,6 @@ jobs:
executor_jmeterd:
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v2

Expand Down Expand Up @@ -227,7 +239,7 @@ jobs:
with:
destination_container_repo: "kubeshop/testkube-jmeterd-executor"
provider: dockerhub
short_description: 'Testkube jmeterd executor'
short_description: "Testkube jmeterd executor"
readme_file: "./contrib/executor/jmeterd/README.md"

- name: Release
Expand Down Expand Up @@ -324,7 +336,7 @@ jobs:
with:
destination_container_repo: "kubeshop/testkube-maven-executor"
provider: dockerhub
short_description: 'Testkube maven executor'
short_description: "Testkube maven executor"
readme_file: "./contrib/executor/maven/README.md"

- name: Release
Expand All @@ -342,7 +354,6 @@ jobs:
executor_gradle:
runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v2

Expand Down Expand Up @@ -380,7 +391,7 @@ jobs:
with:
destination_container_repo: "kubeshop/testkube-gradle-executor"
provider: dockerhub
short_description: 'Testkube gradle executor'
short_description: "Testkube gradle executor"
readme_file: "./contrib/executor/gradle/README.md"

- name: Release
Expand All @@ -398,11 +409,20 @@ jobs:
executor_cypress:
strategy:
matrix:
version: [ cypress8, cypress9, cypress10, cypress11, cypress12, yarn, npm ]
version:
[
cypress8,
cypress9,
cypress10,
cypress11,
cypress12,
cypress13,
yarn,
npm,
]

runs-on: ubuntu-latest
steps:

- name: Checkout
uses: actions/checkout@v2

Expand Down Expand Up @@ -437,7 +457,7 @@ jobs:
with:
destination_container_repo: "kubeshop/testkube-cypress-executor"
provider: dockerhub
short_description: 'Testkube cypress executor'
short_description: "Testkube cypress executor"
readme_file: "./contrib/executor/cypress/README.md"

- name: Get tag
Expand Down Expand Up @@ -467,124 +487,141 @@ jobs:
docker push kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-${{ matrix.version }}-amd64
docker push kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-${{ matrix.version }}-arm64v8
executor_cypress_manifest:
needs: executor_cypress
strategy:
matrix:
version: [ cypress8, cypress9, cypress10, cypress11, cypress12, yarn, npm ]
version:
[
cypress8,
cypress9,
cypress10,
cypress11,
cypress12,
cypress13,
yarn,
npm,
]

runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- uses: sigstore/[email protected]
- uses: anchore/sbom-action/[email protected]

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- uses: sigstore/[email protected]
- uses: anchore/sbom-action/[email protected]

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1

- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1
with:
strip_v: true
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Use tag
run: echo ${{steps.tag.outputs.tag}}
- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1
with:
strip_v: true

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

docker manifest create kubeshop/testkube-cypress-executor:${{ matrix.version }} --amend kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-${{ matrix.version }}-amd64 --amend kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-${{ matrix.version }}-arm64v8
docker manifest push -p kubeshop/testkube-cypress-executor:${{ matrix.version }}
cosign sign kubeshop/testkube-cypress-executor:${{ matrix.version }} --yes
- name: Create manifests
run: |
docker manifest create kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-${{ matrix.version }} --amend kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-${{ matrix.version }}-amd64 --amend kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-${{ matrix.version }}-arm64v8
docker manifest push -p kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-${{ matrix.version }}
cosign sign kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-${{ matrix.version }}-amd64 --yes
cosign sign kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-${{ matrix.version }}-arm64v8 --yes
cosign sign kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-${{ matrix.version }} --yes
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 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:${{ matrix.version }} --amend kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-${{ matrix.version }}-amd64 --amend kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-${{ matrix.version }}-arm64v8
docker manifest push -p kubeshop/testkube-cypress-executor:${{ matrix.version }}
cosign sign kubeshop/testkube-cypress-executor:${{ matrix.version }} --yes
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 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 push -p kubeshop/testkube-cypress-executor:latest
cosign sign kubeshop/testkube-cypress-executor:latest --yes
docker manifest create kubeshop/testkube-cypress-executor:legacy --amend kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-npm-amd64 --amend kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-npm-arm64v8
docker manifest push -p kubeshop/testkube-cypress-executor:legacy
cosign sign kubeshop/testkube-cypress-executor:legacy --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 push -p kubeshop/testkube-cypress-executor:latest
cosign sign kubeshop/testkube-cypress-executor:latest --yes
docker manifest create kubeshop/testkube-cypress-executor:legacy --amend kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-npm-amd64 --amend kubeshop/testkube-cypress-executor:${{ steps.tag.outputs.tag }}-npm-arm64v8
docker manifest push -p kubeshop/testkube-cypress-executor:legacy
cosign sign kubeshop/testkube-cypress-executor:legacy --yes
executor_playwright:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- uses: sigstore/[email protected]
- uses: anchore/sbom-action/[email protected]

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1

- name: Go Cache
uses: actions/cache@v2
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Push README to Dockerhub
uses: christian-korneck/update-container-description-action@v1
env:
DOCKER_USER: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKER_PASS: ${{ secrets.DOCKERHUB_TOKEN }}
with:
destination_container_repo: "kubeshop/testkube-playwright-executor"
provider: dockerhub
short_description: 'Testkube playwright executor'
readme_file: "./contrib/executor/playwright/README.md"

- name: Release
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release -f goreleaser_files/.goreleaser-docker-build-executor-playwright.yml
env:
GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
DOCKER_BUILDX_BUILDER: "${{ steps.buildx.outputs.name }}"
DOCKER_BUILDX_CACHE_FROM: "type=gha"
DOCKER_BUILDX_CACHE_TO: "type=gha,mode=max"
- name: Checkout
uses: actions/checkout@v2

- uses: sigstore/[email protected]
- uses: anchore/sbom-action/[email protected]

- name: Set up QEMU
uses: docker/setup-qemu-action@v1

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1

- name: Go Cache
uses: actions/cache@v2
with:
path: |
~/go/pkg/mod
~/.cache/go-build
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Push README to Dockerhub
uses: christian-korneck/update-container-description-action@v1
env:
DOCKER_USER: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKER_PASS: ${{ secrets.DOCKERHUB_TOKEN }}
with:
destination_container_repo: "kubeshop/testkube-playwright-executor"
provider: dockerhub
short_description: "Testkube playwright executor"
readme_file: "./contrib/executor/playwright/README.md"

- name: Release
uses: goreleaser/goreleaser-action@v4
with:
distribution: goreleaser
version: latest
args: release -f goreleaser_files/.goreleaser-docker-build-executor-playwright.yml
env:
GITHUB_TOKEN: ${{ secrets.CI_BOT_TOKEN }}
DOCKER_BUILDX_BUILDER: "${{ steps.buildx.outputs.name }}"
DOCKER_BUILDX_CACHE_FROM: "type=gha"
DOCKER_BUILDX_CACHE_TO: "type=gha,mode=max"

update_api_helm_charts:
needs: [api, single_executor, executor_jmeter, executor_maven, executor_gradle, executor_cypress, executor_cypress_manifest, executor_playwright]
needs:
[
api,
single_executor,
executor_jmeter,
executor_maven,
executor_gradle,
executor_cypress,
executor_cypress_manifest,
executor_playwright,
]
runs-on: ubuntu-latest
steps:
- name: Get tag
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
run: |
docker push kubeshop/testkube-cli:${{ steps.github_sha.outputs.sha_short }}-arm64v8
docker push kubeshop/testkube-cli:${{ steps.github_sha.outputs.sha_short }}-amd64
docker push kubeshop/testkube-cli:latest
- name: Upload Artifacts
uses: actions/upload-artifact@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
schedule:
- cron: '35 11 * * 1'
push:
branches: [ "develop", "main" ]
branches: [ "develop" ]

# Declare default permissions as read only.
permissions: read-all
Expand Down
Loading

0 comments on commit 45dc266

Please sign in to comment.