Skip to content

Don't add previewctl to our dev image #14149

Closed
@mads-hartmann

Description

@mads-hartmann

Currently we add previewctl to our dev image (source).

This means that whenever we update previewctl we'll have to build a new Docker image and update all jobs. This is tedious and slow. See example PR here.

We should see if we can remove previewctl from the image and instead use the binary built by Leeway in the different environments

  1. For Gitpod Workspaces we can build previewctl as part of our prebuild configuration. We have to ensure it's on the PATH. We'd also have to install bash completions there and remove it from the Dockerfile (source)
  2. For the Werft build job we should be able to use the previewctl that we create as part of the build

If we use previewctl in other Werft jobs we'll have to figure out solutions there too.

Note: This is also true for kubecdl and gpctl - if it makes sense we could do the same for them.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions