Skip to content

Commit dc27269

Browse files
authored
Merge pull request #26 from stefanprodan/prep-v2.0.0
Release v2.0.0
2 parents 3c76b54 + eeb1d2b commit dc27269

File tree

8 files changed

+18
-15
lines changed

8 files changed

+18
-15
lines changed

.circleci/config.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ jobs:
4040
else
4141
echo "Not a release! Skip charts publish"
4242
fi
43-
43+
workflows:
44+
version: 2
4445
release:
4546
jobs:
4647
- push-helm-charts:

.goreleaser.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,7 @@ builds:
1010
- amd64
1111
env:
1212
- CGO_ENABLED=0
13-
ignore:
14-
- goos: darwin
15-
goarch: 386
16-
- goos: windows
17-
goarch: 386
18-
archive:
19-
name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
20-
files:
21-
- none*
13+
archives:
14+
- name_template: "{{ .Binary }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
15+
files:
16+
- none*

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,7 @@ version-set:
4040
sed -i '' "s/version: $$current/version: $$next/g" charts/podinfo/Chart.yaml && \
4141
sed -i '' "s/podinfo:$$current/podinfo:$$next/g" kustomize/deployment.yaml && \
4242
echo "Version $$next set in code, deployment, chart and kustomize"
43+
44+
release:
45+
git tag $(VERSION)
46+
git push origin $(VERSION)

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# podinfo
22

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

charts/podinfo/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v1
2-
version: 2.0.0-beta.1
3-
appVersion: 2.0.0-beta.1
2+
version: 2.0.0
3+
appVersion: 2.0.0
44
name: podinfo
55
engine: gotpl
66
description: Podinfo Helm chart for Kubernetes

charts/podinfo/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ faults:
1212

1313
image:
1414
repository: quay.io/stefanprodan/podinfo
15-
tag: 2.0.0-beta.1
15+
tag: 2.0.0
1616
pullPolicy: IfNotPresent
1717

1818
service:

kustomize/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
spec:
2525
containers:
2626
- name: podinfod
27-
image: quay.io/stefanprodan/podinfo:2.0.0-beta.1
27+
image: quay.io/stefanprodan/podinfo:2.0.0
2828
imagePullPolicy: IfNotPresent
2929
ports:
3030
- containerPort: 9898

pkg/version/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
package version
22

3-
var VERSION = "2.0.0-beta.1"
3+
var VERSION = "2.0.0"
44
var REVISION = "unknown"

0 commit comments

Comments
 (0)