Skip to content

Commit

Permalink
werft: publish kots release even when not main
Browse files Browse the repository at this point in the history
  • Loading branch information
Pothulapati committed Mar 30, 2022
1 parent 8bd705c commit b66aef4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .werft/jobs/build/publish-kots-unstable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const REPLICATED_YAML_DIR = './install/kots/manifests';
const INSTALLER_JOB_IMAGE = 'spec.template.spec.containers[0].image';

export async function publishKotsUnstable(werft: Werft, config: JobConfig) {
if (config.mainBuild) {
// if (config.mainBuild) {
werft.phase(phases.PUBLISH_KOTS_UNSTABLE, 'Publish unstable release to KOTS');

const imageAndTag = exec(`yq r ${REPLICATED_YAML_DIR}/gitpod-installer-job.yaml ${INSTALLER_JOB_IMAGE}`);
Expand All @@ -35,5 +35,5 @@ export async function publishKotsUnstable(werft: Werft, config: JobConfig) {
--promote ${REPLICATED_CHANNEL}`);

werft.done(phases.PUBLISH_KOTS_UNSTABLE);
}
// }
}

0 comments on commit b66aef4

Please sign in to comment.