Skip to content

[Bug]: Invalid behavior for the cloud build option for the test and run commands #43940

Open
@gayaldassanayake

Description

@gayaldassanayake

Description

There are 2 invalid behaviors.

  1. When doing a bal run with the build option cloud=docker or cloud=k8s, the c2c lifecycle plugin is getting engaged. This is because we pass to the c2c plugin that the bal command is BUILD, in both run and build commands using

    .

  2. During a bal test, we pass the test execution to the c2c module when the cloud flag is available. However, the c2c module only runs the tests when cloud=docker. For the case of cloud=k8s, it doesn't run tests. This causes the tests to not run at all for the cloud=k8s case.

Steps to Reproduce

No response

Affected Version(s)

2201.11.0, 2201.12.0

OS, DB, other environment details and versions

No response

Related area

-> Other Area

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions