Skip to content

Commit

Permalink
chore: release chart to github
Browse files Browse the repository at this point in the history
  • Loading branch information
rawlingsj authored Aug 25, 2021
1 parent cbce4ba commit a83660a
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions .lighthouse/jenkins-x/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,22 @@ spec:
resources: {}
- name: chart-docs
resources: {}
- image: gcr.io/jenkinsxio/jx-boot:3.0.773
name: release-chart
- image: gcr.io/jenkinsxio/jx-changelog:0.0.36
name: changelog
resources: {}
script: |
#!/usr/bin/env sh
if [ -d "/workspace/source/charts/$REPO_NAME" ]; then source .jx/variables.sh
cd /workspace/source/charts/$REPO_NAME
make release; else echo no charts; fi
- name: changelog
source .jx/variables.sh
if [ -d "charts/$REPO_NAME" ]; then
sed -i -e "s/^version:.*/version: $VERSION/" ./charts/$REPO_NAME/Chart.yaml
sed -i -e "s/repository:.*/repository: $DOCKER_REGISTRY\/$DOCKER_REGISTRY_ORG\/$APP_NAME/" ./charts/$REPO_NAME/values.yaml
sed -i -e "s/tag:.*/tag: $VERSION/" ./charts/$REPO_NAME/values.yaml;
else echo no charts; fi
jx changelog create --verbose --header-file=hack/changelog-header.md --version=$VERSION --rev=$PULL_BASE_SHA --output-markdown=changelog.md --update-release=false
- name: release-chart
resources: {}
- name: upload-binaries
resources: {}
- image: gcr.io/jenkinsxio/builder-go:2.1.142-761
name: promote-release
resources: {}
script: |
#!/bin/bash
source .jx/variables.sh
./promote.sh
podTemplate: {}
serviceAccountName: tekton-bot
timeout: 240h0m0s
Expand Down

0 comments on commit a83660a

Please sign in to comment.