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

Release v2.1.0 #5763

Merged
merged 42 commits into from
Aug 14, 2024
Merged

Release v2.1.0 #5763

merged 42 commits into from
Aug 14, 2024

Conversation

rangoo94
Copy link
Member

Pull request description

Checklist (choose whats happened)

  • breaking change! (describe)
  • tested locally
  • tested on cluster
  • added new dependencies
  • updated the docs
  • added a test

dejanzele and others added 30 commits August 14, 2024 15:20
…ructions (#5676)

* fix(testworkflows): avoid unnecessary empty data in ContainerConfig
* feat(testworkflows): add basic implementation to build list of operations / grouping them, based on the TestWorkflowProcessor's Stages
* feat(testworkflows): migrate basics of container execution for handling multiple steps in single container
* feat: support conditions with new Init Process kind
* feat: encapsulate init process' container state
* chore: rename container to setup
* feat: support dynamic environment variables
* feat: add mock for pause in the Init Process
* feat: discriminate TestWorkflow instructions with ActionType
* chore: rename Paused to PausedOnStart
* chore: change StepData mutations
* chore: extract action.Action to separate package
* feat: move *Stage to separate package
* chore: reorganize action files
* chore: delete unused
* chore: extract lightweight version of actions to avoid increase in Init Process size
* feat: abstract the executions in the Init Process
* fix: aborting Test Workflow processes
* fix: support statuses properly in the Init Process
* fix: parsing container logs
* chore: delete debug information
* feat: make the root operation constant
* feat: support timeout for Test Workflow steps
* feat: add back retry functionality for the Test Workflows
* feat: support pause/resume for Test Workflows
* chore: delete unused code
* fix: watching services
* fix: some unit tests
* chore: add instructions check in unit test
* chore: refactor action unit tests a bit
* fix: build correct conditions when there are grouped steps
* chore: adjust processor tests
* chore: delete unused function
* feat: streamline the output in the Init Process, to allow obfuscating sensitive words
* feat: mask secret environment variables
* chore: extract function to get last step
* chore: unify internal machine for Init Process
* chore: move step timeout logic to the Init Process main switch
* fix: use default ContainerConfig for setup step container
* feat: use /bin/sh instead of /.tktw/bin/sh in case the Init/Toolkit image is used
* chore: fail property accessor in case of nullish value to access
* feat: ensure that aborted step is considered aborted, not skipped
* fix: machine for retry in the Init Process
* chore: rename `instructions` related to Actions to `actions`
* fix: send again toolkit/init image data along with Pod information from Test Workflow
* chore: simplify StepStatusFromCode
* fix: clean up printing in the Init Process
* chore: clean up getting actions in Processor tests
* chore: rename variable in Control Server
* chore: extract control server options to separate file
* chore: expose a bit configuration of sensitive words minimum length
* chore: delete obsolete todos
* fix: avoid copying binaries from the Init image when it's not necessary
* fix: unit tests
* fix: group conditions
* chore: wrap errors
* chore: reduce the size of Init Process
* fix: detect the Toolkit properly
* chore: rename SensitiveReadWriter to Obfuscator
* feat: show last characters in the obfuscated log output
* feat: make some environment variables sensitive by default
* chore: first set of code review fixes
* chore: make the 00 and 01 special groups constants
* chore: log error for mkdir of working directory
* chore: delete commented out code
* fix: handle errors in the setup step
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.3 to 2.4.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](ossf/scorecard-action@dc50aa9...62b2cac)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: change sequence for numbers

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: add line

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: add sequence repository

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: add sequence repository

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: add sequence for test suites

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: rename option method

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: add sequence for test workflows

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: skip crd deletion

Signed-off-by: Vladislav Sukhin <[email protected]>

* fixL use insert instead of update

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: integration test sync

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: intergrattion test

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: parallel integration test

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: use default value

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: typo nil check

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: change prefix

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: test suite prefix

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: new cloud methods

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: dep update

Signed-off-by: Vladislav Sukhin <[email protected]>

---------

Signed-off-by: Vladislav Sukhin <[email protected]>
* fix: cloud ui url, org id, env id vars

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: rename var

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: rename var

Signed-off-by: Vladislav Sukhin <[email protected]>

---------

Signed-off-by: Vladislav Sukhin <[email protected]>
* fix: show test workflow execution uri

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: add uris to test workflow executions

Signed-off-by: Vladislav Sukhin <[email protected]>

---------

Signed-off-by: Vladislav Sukhin <[email protected]>
Bumps [github.com/docker/docker](https://github.com/docker/docker) from 24.0.0+incompatible to 25.0.6+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](moby/moby@v24.0.0...v25.0.6)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.25.3 to 3.25.15.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Commits](github/codeql-action@v2.25.3...v3.25.15)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [peter-evans/repository-dispatch](https://github.com/peter-evans/repository-dispatch) from 2 to 3.
- [Release notes](https://github.com/peter-evans/repository-dispatch/releases)
- [Commits](peter-evans/repository-dispatch@v2...v3)

---
updated-dependencies:
- dependency-name: peter-evans/repository-dispatch
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [anchore/sbom-action](https://github.com/anchore/sbom-action) from 0.16.1 to 0.17.0.
- [Release notes](https://github.com/anchore/sbom-action/releases)
- [Commits](anchore/sbom-action@v0.16.1...v0.17.0)

---
updated-dependencies:
- dependency-name: anchore/sbom-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…5624)

Bumps [github.com/gofiber/fiber/v2](https://github.com/gofiber/fiber) from 2.52.1 to 2.52.5.
- [Release notes](https://github.com/gofiber/fiber/releases)
- [Commits](gofiber/fiber@v2.52.1...v2.52.5)

---
updated-dependencies:
- dependency-name: github.com/gofiber/fiber/v2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* add outputs for sandbox
* workflow examples - expected failures extended

* test

* test-suite like workflow - edge cases - updated

---------

Co-authored-by: ypoplavs <[email protected]>
* feat: include Init Process in the Toolkit image
* feat: copy the Toolkit binary to the volume
* feat: copy only the Busybox binaries from Toolkit image
* chore: clean up actions optimization code a bit
* chore: don't process setup step in action optimizations
* feat: add `pure` flag for the ContainerStage to define if it can be combined with other container
* feat: fit pure operations in TestWorkflow into other containers
* fix: ensure timestamps for step results in case of aborting
* feat: make `fetch` operation pure too
* chore: delete obsolete comments
* fix: unit tests and bugfixes
* fix: use proper image for setup step
dependabot bot and others added 11 commits August 14, 2024 15:21
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.15 to 3.26.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Commits](github/codeql-action@v3.25.15...v3.26.0)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

* fix: matrix test for Cypress with artifacts
* fix: update Golang version for Integration tests
* feat: add parameters to control the TestWorkflow containers isolation to DTO
* feat: use system.pureByDefault/system.isolatedContainers/step.pure
* fix: make TestWorkflowSystem variables optional for better merging
* fix: nested conditions
* fix: computing the nested conditions
* fix: void groups
* fix: groups
* fix: mounting in transfer containers
* fix: computing pause periods
* chore: use testkube-operator from develop
* chore: add method to check if TestWorkflowStepStatus is a finished one
* fix: panic: sync: WaitGroup is reused before previous Wait has returned
* fix: fatal error: concurrent map read and map write
* fix: continue paused container, when the abort is requested

* fix: ensure the lightweight container watcher will get `finishedAt` timestamp

* chore: add minor todos

* fix: configure no preemption policy by default for Test Workflows

* fix: allow Test Workflow status notifier to update "Aborted" status with details

* fix: ensure the parallel workers will not end without result

* fix: properly build timestamps and detect finished resul in the TestWorkflowResult model

* fix: use Pod/Job StatusConditions for detecting the status, make watching more resilient to external problems, expose more Kubernetes error details

* chore: do not require job/pod events when fetching logs of parallel workers and services

* fixup unit tests

* fix: delete preemption policy setup

* fixup unit tests

* fix: adjust resume time to avoid negative duration

* fix: calibrate clocks

* chore: use consts

* fixup unit tests
Bumps [chuhlomin/render-template](https://github.com/chuhlomin/render-template) from 1.4 to 1.10.
- [Release notes](https://github.com/chuhlomin/render-template/releases)
- [Commits](chuhlomin/render-template@v1.4...v1.10)

---
updated-dependencies:
- dependency-name: chuhlomin/render-template
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](sigstore/cosign-installer@v3.5.0...v3.6.0)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix: propagate aborted status correctly on GKE's OOMKilled
* fix: don't trust step statuses in Test Workflow after it's aborted
* fix: show abort information about pod/job timeout
* fix: isolate abort error to single step
* fix: change sequence for numbers

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: add line

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: add sequence repository

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: add sequence repository

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: add sequence for test suites

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: rename option method

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: add sequence for test workflows

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: skip crd deletion

Signed-off-by: Vladislav Sukhin <[email protected]>

* fixL use insert instead of update

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: integration test sync

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: intergrattion test

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: parallel integration test

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: use default value

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: typo nil check

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: change prefix

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: test suite prefix

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: new cloud methods

Signed-off-by: Vladislav Sukhin <[email protected]>

* fix: dep update

Signed-off-by: Vladislav Sukhin <[email protected]>

---------

Signed-off-by: Vladislav Sukhin <[email protected]>
@rangoo94 rangoo94 requested review from a team as code owners August 14, 2024 13:21
Copy link
Member

@olensmar olensmar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yay!

@ed382
Copy link
Contributor

ed382 commented Aug 14, 2024

I added myself to the QA team to approve, as CODEOWNERS was changed here anyway.

@rangoo94 rangoo94 merged commit f32235c into main Aug 14, 2024
32 of 34 checks passed
@rangoo94 rangoo94 deleted the release/v2.1.0 branch August 14, 2024 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants