Merge pull request #26 from stefanprodan/prep-v2.0.0

Release v2.0.0
This commit is contained in:
Stefan Prodan
2019-08-06 17:17:45 +03:00
committed by GitHub
8 changed files with 18 additions and 15 deletions

View File

@@ -40,7 +40,8 @@ jobs:
else
echo "Not a release! Skip charts publish"
fi
workflows:
version: 2
release:
jobs:
- push-helm-charts:

View File

@@ -10,12 +10,7 @@ builds:
- amd64
env:
- CGO_ENABLED=0
ignore:
- goos: darwin
goarch: 386
- goos: windows
goarch: 386
archive:
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- none*
archives:
- name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- none*

View File

@@ -40,3 +40,7 @@ version-set:
sed -i '' "s/version: $$current/version: $$next/g" charts/podinfo/Chart.yaml && \
sed -i '' "s/podinfo:$$current/podinfo:$$next/g" kustomize/deployment.yaml && \
echo "Version $$next set in code, deployment, chart and kustomize"
release:
git tag $(VERSION)
git push origin $(VERSION)

View File

@@ -1,5 +1,8 @@
# podinfo
[![Build Status](https://travis-ci.org/stefanprodan/podinfo.svg?branch=master)](https://travis-ci.org/stefanprodan/podinfo)
[![Docker Pulls](https://img.shields.io/docker/pulls/stefanprodan/podinfo)](https://hub.docker.com/r/stefanprodan/podinfo)
Podinfo is a tiny web application made with Go
that showcases best practices of running microservices in Kubernetes.

View File

@@ -1,6 +1,6 @@
apiVersion: v1
version: 2.0.0-beta.1
appVersion: 2.0.0-beta.1
version: 2.0.0
appVersion: 2.0.0
name: podinfo
engine: gotpl
description: Podinfo Helm chart for Kubernetes

View File

@@ -12,7 +12,7 @@ faults:
image:
repository: quay.io/stefanprodan/podinfo
tag: 2.0.0-beta.1
tag: 2.0.0
pullPolicy: IfNotPresent
service:

View File

@@ -24,7 +24,7 @@ spec:
spec:
containers:
- name: podinfod
image: quay.io/stefanprodan/podinfo:2.0.0-beta.1
image: quay.io/stefanprodan/podinfo:2.0.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9898

View File

@@ -1,4 +1,4 @@
package version
var VERSION = "2.0.0-beta.1"
var VERSION = "2.0.0"
var REVISION = "unknown"