Skip to content

Commit

Permalink
Update to rc2 and add release iamge (#394)
Browse files Browse the repository at this point in the history
  • Loading branch information
piiswrong authored Oct 29, 2020
1 parent df0acc0 commit e85d9db
Show file tree
Hide file tree
Showing 8 changed files with 92 additions and 6 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/tag-apiserver.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Tag Fedlearner APIServer

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set Short Commit Sha
id: vars
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- uses: whoan/docker-build-with-cache-action@v5
with:
username: fedlearner
password: "${{ secrets.DOCKER_REGISTRY }}"
image_name: fedlearner/fedlearner-apiserver
image_tag: ${{ github.event.release.tag_name }}
context: ./deploy/kubernetes_operator
build_extra_args: --build-arg=WHAT=cmd/apiserver/main.go
21 changes: 21 additions & 0 deletions .github/workflows/tag-fedlearner.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Tag Fedlearner

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set Short Commit Sha
id: vars
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- uses: whoan/docker-build-with-cache-action@v5
with:
username: fedlearner
password: "${{ secrets.DOCKER_REGISTRY }}"
image_name: fedlearner
image_tag: ${{ github.event.release.tag_name }}
context: ./
22 changes: 22 additions & 0 deletions .github/workflows/tag-operator.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Tag Kubernetes Operator

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set Short Commit Sha
id: vars
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- uses: whoan/docker-build-with-cache-action@v5
with:
username: fedlearner
password: "${{ secrets.DOCKER_REGISTRY }}"
image_name: fedlearner/fedlearner-operator
image_tag: ${{ github.event.release.tag_name }}
context: ./deploy/kubernetes_operator
build_extra_args: --build-arg=WHAT=cmd/operator/main.go
21 changes: 21 additions & 0 deletions .github/workflows/tag-web-console.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Tag Web Console

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set Short Commit Sha
id: vars
run: echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
- uses: whoan/docker-build-with-cache-action@v5
with:
context: ./web_console
image_name: fedlearner/fedlearner-web-console
image_tag: ${{ github.event.release.tag_name }}
username: fedlearner
password: "${{ secrets.DOCKER_REGISTRY }}"
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ replicaCount: 1

image:
repository: fedlearner/fedlearner-apiserver
tag: "v1.5-rc1"
tag: "v1.5-rc2"
pullPolicy: IfNotPresent


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ replicaCount: 1

image:
repository: fedlearner/fedlearner-operator
tag: "v1.5-rc1"
tag: "v1.5-rc2"
pullPolicy: IfNotPresent

imagePullSecrets: []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ image:
repository: fedlearner/fedlearner-web-console
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: "v1.5-rc1"
tag: "v1.5-rc2"

imagePullSecrets: []
nameOverride: ""
Expand Down
6 changes: 3 additions & 3 deletions deploy/charts/fedlearner/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ replicaCount: 1
fedlearner-operator:
image:
repository: fedlearner/fedlearner-operator
tag: "v1.5-rc1"
tag: "v1.5-rc2"
pullPolicy: IfNotPresent

ingress:
Expand All @@ -18,13 +18,13 @@ fedlearner-operator:
fedlearner-apiserver:
image:
repository: fedlearner/fedlearner-apiserver
tag: "v1.5-rc1"
tag: "v1.5-rc2"
pullPolicy: IfNotPresent

fedlearner-web-console:
image:
repository: fedlearner/fedlearner-web-console
tag: "v1.5-rc1"
tag: "v1.5-rc2"
pullPolicy: IfNotPresent

ingress:
Expand Down

0 comments on commit e85d9db

Please sign in to comment.