Skip to content

Commit

Permalink
0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Place1 committed Mar 21, 2020
1 parent d8d18ae commit f1b38d3
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 38 deletions.
4 changes: 2 additions & 2 deletions deploy/helm/wg-access-server/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
apiVersion: v2
appVersion: 0.0.9
appVersion: 0.1.0
description: A Wireguard VPN Access Server
name: wg-access-server
version: 0.0.9
version: 0.1.0
32 changes: 8 additions & 24 deletions deploy/k8s/quickstart.yaml
Original file line number Diff line number Diff line change
@@ -1,32 +1,15 @@
---
# Source: wg-access-server/templates/config.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: "quickstart-wg-access-server"
labels:
helm.sh/chart: wg-access-server-0.0.9
app: wg-access-server
app.kubernetes.io/name: wg-access-server
app.kubernetes.io/instance: quickstart
app.kubernetes.io/version: "0.0.9"
app.kubernetes.io/managed-by: Helm
data:
'config.yaml': |
wireguard:
privateKey: ""
---
# Source: wg-access-server/templates/service.yaml
apiVersion: v1
kind: Service
metadata:
name: quickstart-wg-access-server-web
labels:
helm.sh/chart: wg-access-server-0.0.9
helm.sh/chart: wg-access-server-0.1.0
app: wg-access-server
app.kubernetes.io/name: wg-access-server
app.kubernetes.io/instance: quickstart
app.kubernetes.io/version: "0.0.9"
app.kubernetes.io/version: "0.1.0"
app.kubernetes.io/managed-by: Helm
spec:
type: ClusterIP
Expand All @@ -46,11 +29,11 @@ kind: Service
metadata:
name: quickstart-wg-access-server-wireguard
labels:
helm.sh/chart: wg-access-server-0.0.9
helm.sh/chart: wg-access-server-0.1.0
app: wg-access-server
app.kubernetes.io/name: wg-access-server
app.kubernetes.io/instance: quickstart
app.kubernetes.io/version: "0.0.9"
app.kubernetes.io/version: "0.1.0"
app.kubernetes.io/managed-by: Helm
spec:
type: ClusterIP
Expand All @@ -70,11 +53,11 @@ kind: Deployment
metadata:
name: quickstart-wg-access-server
labels:
helm.sh/chart: wg-access-server-0.0.9
helm.sh/chart: wg-access-server-0.1.0
app: wg-access-server
app.kubernetes.io/name: wg-access-server
app.kubernetes.io/instance: quickstart
app.kubernetes.io/version: "0.0.9"
app.kubernetes.io/version: "0.1.0"
app.kubernetes.io/managed-by: Helm
spec:
replicas: 1
Expand All @@ -97,7 +80,7 @@ spec:
securityContext:
capabilities:
add: ['NET_ADMIN']
image: "place1/wg-access-server:0.0.9"
image: "place1/wg-access-server:0.1.0"
imagePullPolicy: IfNotPresent
ports:
- name: http
Expand All @@ -106,6 +89,7 @@ spec:
- name: wireguard
containerPort: 51820
protocol: UDP
env:
volumeMounts:
- name: tun
mountPath: /dev/net/tun
Expand Down
Binary file added docs/charts/wg-access-server-0.1.0.tgz
Binary file not shown.
29 changes: 19 additions & 10 deletions docs/index.yaml
Original file line number Diff line number Diff line change
@@ -1,13 +1,22 @@
apiVersion: v1
entries:
wg-access-server:
- apiVersion: v2
appVersion: 0.0.9
created: "2020-03-08T15:27:38.5587792+11:00"
description: A Wireguard VPN Access Server
digest: e8d795290f577d5d5678619dac42e1a667407aa7128a682da30f26db9f383a1c
name: wg-access-server
urls:
- https://place1.github.io/wg-access-server/charts/wg-access-server-0.0.9.tgz
version: 0.0.9
generated: "2020-03-08T15:27:38.5581672+11:00"
- apiVersion: v2
appVersion: 0.1.0
created: "2020-03-21T21:54:54.279310336+11:00"
description: A Wireguard VPN Access Server
digest: ab366ab952e77e031e0c280b80ca0ade1960831fa87acc15a4b6232ab37ef6b3
name: wg-access-server
urls:
- https://place1.github.io/wg-access-server/charts/wg-access-server-0.1.0.tgz
version: 0.1.0
- apiVersion: v2
appVersion: 0.0.9
created: "2020-03-21T21:54:54.278818205+11:00"
description: A Wireguard VPN Access Server
digest: e8d795290f577d5d5678619dac42e1a667407aa7128a682da30f26db9f383a1c
name: wg-access-server
urls:
- https://place1.github.io/wg-access-server/charts/wg-access-server-0.0.9.tgz
version: 0.0.9
generated: "2020-03-21T21:54:54.278186056+11:00"
5 changes: 3 additions & 2 deletions publish.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ def is_release_candidate(version):

# commit changes
if not is_release_candidate(version):
subprocess.run(['git', 'add', 'deploy'])
subprocess.run(['git', 'add', '.'])
subprocess.run(['git', 'commit', '-m', f'{version}'])

# tag the current commit
if not is_release_candidate(version):
subprocess.run(['git', 'tag', '-a', f'v{version}', '-m', f'v{version}'])
subprocess.run(['git', 'tag', '-a', f'{version}', '-m', f'{version}'])

# push everything
subprocess.run(['git', 'push'])
Expand Down

0 comments on commit f1b38d3

Please sign in to comment.