Skip to content

Commit

Permalink
feat: add yx console build
Browse files Browse the repository at this point in the history
Signed-off-by: Qi Zhang <smallqi1@163.com>
  • Loading branch information
zzzhangqi committed Apr 28, 2024
1 parent d60b8f6 commit c5bb4f0
Show file tree
Hide file tree
Showing 2 changed files with 58 additions and 43 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
name: yanxiang-V6-amd64
name: yanxiang-console-V6-amd64
on:
workflow_dispatch:
inputs:
branch:
description: 'branch'
required: true
default: 'yanxiang-new'
version:
description: 'version'
default: 'yanxiang-new'
required: true
version_user:
description: 'version_user'
required: true
Expand All @@ -26,12 +22,10 @@ on:
- yx
- test
env:
VERSION: ${{ github.event.inputs.version }}
DOMESTIC_DOCKER_USERNAME: zhangq@goodrain
DOMESTIC_DOCKER_PASSWORD: ${{ secrets.DOMESTIC_DOCKER_PASSWORD }}
DOMESTIC_BASE_NAME: registry.ap-southeast-1.aliyuncs.com
DOMESTIC_NAMESPACE: goodrain-ee
BUILD_ARCH: amd64

jobs:
build-allinone-user:
Expand Down Expand Up @@ -88,39 +82,4 @@ jobs:
run: |
git clone -b ${{ github.event.inputs.branch }} --depth=1 https://pull-code:gr123465!!@git.goodrain.com/goodrain/rainbond-console-cloud.git && cd rainbond-console-cloud
chmod +x ./release.sh
./release.sh allinone
build-rainbond-region:
runs-on: ubuntu-22.04
strategy:
matrix:
component: [api, chaos, mq, webcli, worker, eventlog, init-probe, mesh-data-panel, resource-proxy]
steps:
- name: Pull code and Build the Docker image
env:
DISABLE_GOPROXY: true
run: |
git clone -b ${{ github.event.inputs.branch }} --depth=1 https://pull-code:gr123465!!@git.goodrain.com/goodrain/rainbond.git && cd rainbond
chmod +x ./release.sh
./release.sh ${{ matrix.component }} push
build-rainbond-region-grctl-shell:
runs-on: ubuntu-22.04
steps:
- name: Pull code and Build the Docker image
env:
DISABLE_GOPROXY: true
run: |
git clone -b ${{ github.event.inputs.branch }} --depth=1 https://pull-code:gr123465!!@git.goodrain.com/goodrain/rainbond.git && cd rainbond
chmod +x ./release.sh
./release.sh grctl push
./release.sh shell push
build-operator:
runs-on: ubuntu-22.04
steps:
- name: Build and push
run: |
git clone -b yanxiang-new --depth=1 https://github.com/goodrain/rainbond-operator.git && cd rainbond-operator
chmod +x ./release.sh
./release.sh
./release.sh allinone
56 changes: 56 additions & 0 deletions .github/workflows/yanxiang-region-V6-amd64.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: yanxiang-region-V6-amd64
on:
workflow_dispatch:
inputs:
branch:
description: 'branch'
required: true
default: 'yanxiang-new'
version:
description: 'version'
default: 'yanxiang-new'
required: true

env:
VERSION: ${{ github.event.inputs.version }}
DOMESTIC_DOCKER_USERNAME: zhangq@goodrain
DOMESTIC_DOCKER_PASSWORD: ${{ secrets.DOMESTIC_DOCKER_PASSWORD }}
DOMESTIC_BASE_NAME: registry.ap-southeast-1.aliyuncs.com
DOMESTIC_NAMESPACE: goodrain-ee
BUILD_ARCH: amd64

jobs:
build-rainbond-region:
runs-on: ubuntu-22.04
strategy:
matrix:
component: [api, chaos, mq, webcli, worker, eventlog, init-probe, mesh-data-panel, resource-proxy]
steps:
- name: Pull code and Build the Docker image
env:
DISABLE_GOPROXY: true
run: |
git clone -b ${{ github.event.inputs.branch }} --depth=1 https://pull-code:gr123465!!@git.goodrain.com/goodrain/rainbond.git && cd rainbond
chmod +x ./release.sh
./release.sh ${{ matrix.component }} push
build-rainbond-region-grctl-shell:
runs-on: ubuntu-22.04
steps:
- name: Pull code and Build the Docker image
env:
DISABLE_GOPROXY: true
run: |
git clone -b ${{ github.event.inputs.branch }} --depth=1 https://pull-code:gr123465!!@git.goodrain.com/goodrain/rainbond.git && cd rainbond
chmod +x ./release.sh
./release.sh grctl push
./release.sh shell push
build-operator:
runs-on: ubuntu-22.04
steps:
- name: Build and push
run: |
git clone -b yanxiang-new --depth=1 https://github.com/goodrain/rainbond-operator.git && cd rainbond-operator
chmod +x ./release.sh
./release.sh

0 comments on commit c5bb4f0

Please sign in to comment.