-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from Bio-OS/develop
feat: add github action to update web and apiserver image tag
- Loading branch information
Showing
6 changed files
with
75 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
permissions: write-all | ||
|
||
jobs: | ||
build: | ||
name: Create Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set up Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.19 | ||
check-latest: true | ||
cache: true | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
- name: Make changes to pull request | ||
run: | | ||
RELEASE_VERSION=${GITHUB_REF#refs/*/} | ||
echo ${RELEASE_VERSION} | ||
sed -i "s/web_name.*/web_name: web:${RELEASE_VERSION}/g" charts/bioos/values.yaml | ||
sed -i "s/apiserver_name.*/apiserver_name: apiserver:${RELEASE_VERSION}/g" charts/bioos/values.yaml | ||
- name: Create Pull Request | ||
id: cpr | ||
uses: peter-evans/create-pull-request@v4 | ||
with: | ||
add-paths: | | ||
*.yaml | ||
token: ${{ secrets.REPOSITORYDISPATCH }} | ||
commit-message: "feat: update bioos web and apiserver image tag to ${{ github.ref }}" | ||
committer: GitHub <[email protected]> | ||
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | ||
signoff: false | ||
branch: feat/update-bioos-web-and-apiserver-image-tag-to-${{ github.ref }} | ||
base: main | ||
delete-branch: true | ||
title: 'feat: update bioos web and apiserver image tag to ${{ github.ref }}' | ||
body: | | ||
update report | ||
- update with *today's* date | ||
- update bioos image web and apiserver tag to ${{ github.ref }} | ||
labels: | | ||
report | ||
automated pr | ||
draft: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
.vscode | ||
.vagrant | ||
.idea/ | ||
nacos-k8s | ||
mysql-schema.sql | ||
nacos.yaml | ||
nacos-sdk-go | ||
csi_values.yaml | ||
nginx.yaml | ||
nacos-bot | ||
ask | ||
ask |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: v1 | ||
entries: | ||
bioos: | ||
- apiVersion: v2 | ||
appVersion: v1 | ||
created: "2023-10-26T11:07:53.790554+08:00" | ||
description: BioOS UI 前端 | ||
digest: 11b44895cb9c9efe3bd7693ef7de43c979b3841d684257b70aad78a106669a3f | ||
name: bioos | ||
type: application | ||
urls: | ||
- https://https:/bio-os.github.io/helm-charts/bioos-0.1.0.tgz | ||
version: 0.1.0 | ||
generated: "2023-10-26T11:07:53.7897+08:00" |