Skip to content

Optimize CLI image building #648

Open
@viktoriia-fomina

Description

@viktoriia-fomina

Description

Now it takes many steps to build Java CLI image:

CLI: publish image workflow builds Java CLI image with the following steps:

  • It gets the URL to download the latest published Java CLI using Python script
  • It downloads Java CLI zip file from the URL
  • It unzips the file

Expected behavior

CLI: publish image is not a separate workflow anymore. This is a step in UTBot Java: build and run tests workflow triggered only on push to the main branch.

Thus, steps to build Java CLI can be simplified to the following:

  • Getting the Java CLI JAR file (that is already build by the current workflow) and copying it to Docker image

Environment

GitHub Actions, Docker

Potential alternatives

No alternatives.

Context

Not applicable.

Metadata

Metadata

Labels

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions