Skip to content

Commit 99f8628

Browse files
authoredJul 22, 2022
Merge pull request accuknox#511 from nyrahul/dev
GH actions; release-guide
2 parents d43cfae + 464d6c2 commit 99f8628

File tree

4 files changed

+18
-5
lines changed

4 files changed

+18
-5
lines changed
 

‎.github/workflows/ci-go.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ name: ci-go
22

33
on:
44
push:
5-
branches: [master,dev,AK-Dev]
5+
branches:
6+
- '**' # matches every branch
67
pull_request:
7-
branches: [master,dev,AK-Dev]
8+
branches:
9+
- '**' # matches every branch
810

911
jobs:
1012
go-fmt:

‎.github/workflows/ci-test.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ name: ci-test
22

33
on:
44
push:
5-
branches: [master, dev, AK-Dev]
5+
branches:
6+
- '**' # matches every branch
67
pull_request:
7-
branches: [master, dev, AK-Dev]
8+
branches:
9+
- '**' # matches every branch
810

911
jobs:
1012
unit-test:

‎deployments/k8s/deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
spec:
1616
serviceAccountName: knoxautopolicy
1717
containers:
18-
- image: accuknox/knoxautopolicy:dev
18+
- image: accuknox/knoxautopolicy:stable
1919
imagePullPolicy: Always
2020
name: knoxautopolicy
2121
ports:

‎getting-started/release-guide.md

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Release Guide for Discovery Engine
2+
3+
### How to create a new stable release for discovery engine?
4+
5+
* create a branch v0.x
6+
* wait for the images to be created for v0.x in [docker hub](https://hub.docker.com/r/accuknox/knoxautopolicy/tags)
7+
* Update [STABLE-RELEASE](../STABLE-RELEASE) to v0.x ... push the updated `STABLE-RELEASE` to `dev` branch
8+
* verify that the `stable` and `v0.x` digests match in the [docker hub](https://hub.docker.com/r/accuknox/knoxautopolicy/tags)
9+

0 commit comments

Comments
 (0)
Please sign in to comment.