Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Restrict scenario label changes from the outside #3881

Merged
merged 16 commits into from
May 21, 2024
Merged

Conversation

la4ezar
Copy link
Contributor

@la4ezar la4ezar commented May 17, 2024

Description
With this PR we restrict scenario label changes from the outside. If you try to modify it with a mutation it will result in an error. Also, other improvements around the scenarios label which will help us with its removal.

Changes proposed in this pull request:

  • restrict scenario label changes from outside
  • adapt unit tests
  • adapt e2e tests
  • improvements around scenarios label removal

Related issue(s)

  • ...

Pull Request status

  • Implementation
  • Unit tests
  • Integration tests
  • chart/compass/values.yaml is updated
  • Mocks are regenerated, using the automated script

@la4ezar la4ezar requested review from a team as code owners May 17, 2024 07:56
@kyma-bot kyma-bot added cla: yes Indicates the PR's author has signed the CLA. 🦖 team-raptor Team Raptor Label do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels May 17, 2024
Lachezar Bogomilov added 3 commits May 17, 2024 11:02
# Conflicts:
#	components/director/internal/domain/application/automock/formation_service.go
#	components/director/internal/domain/application/service.go
#	components/director/internal/domain/application/service_test.go
#	components/director/internal/domain/formation/service_test.go
#	components/director/internal/domain/runtime/automock/formation_service.go
#	components/director/internal/domain/runtime/resolver.go
#	components/director/internal/domain/runtime/service.go
#	components/director/internal/domain/runtime/service_test.go
#	components/director/internal/domain/runtime_context/automock/formation_service.go
#	components/director/internal/domain/runtime_context/service.go
#	components/director/internal/domain/runtime_context/service_test.go
@kyma-bot kyma-bot added the 🦅 team-falcon Team Falcon Label label May 17, 2024
@kyma-bot kyma-bot added the lgtm Looks good to me! label May 21, 2024
@kyma-bot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dragobt, ivantenevvasilev

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kyma-bot kyma-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label May 21, 2024
@ognyvrac ognyvrac removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 21, 2024
@kyma-bot kyma-bot merged commit 487dcbc into main May 21, 2024
6 of 7 checks passed
@la4ezar la4ezar deleted the restrict-lebel-change branch May 21, 2024 09:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Indicates the PR's author has signed the CLA. 🦅 team-falcon Team Falcon Label lgtm Looks good to me! size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. 🦖 team-raptor Team Raptor Label 👋 request review Review required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants