ballerina-platform / module-ballerina-c2c

Ballerina Code2Cloud implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement `bal test --cloud` story

xlight05 opened this issue · comments

Description:
$Subject

This feature needs to be implemented for both JVM and GraalVM paths. The main idea of this feature is to ensure that the ballerina application runs just fine in the container as expected.

This has two user categories

  1. Package Developers(Stdlib ...)
  2. End users

This is mostly useful for stdlib teams to verify if all their features work smoothly in containers. We have come across a similar situation where packages rely on os native libraries even in JVM path. This will only get worse in GraalVM approach.

This is further useful when we experiment with smaller graalvm based images(alpine).

Describe your solution(s)
C2C Plugin should generate dockerfiles accordingly to build and run test executables inside docker and do a docker run.

Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

@xlight05 Can we close this issue?