Skip to content

Commit

Permalink
fix: gateway disconnect issue (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
xigongdaEricyang authored May 27, 2022
1 parent 977ecb6 commit 26d54c1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: Dashboard tar Release
on:
push:
branches:
- master
name: Dashboard Mannually Package
on: workflow_dispatch
jobs:
package:
name: build package
Expand All @@ -12,32 +9,33 @@ jobs:
os:
- centos7
container:
image: vesoft/nebula-dev:${{ matrix.os }}
image: reg.vesoft-inc.com/dashboard/dashboard-dev:${{ matrix.os }}
credentials:
username: ${{ secrets.HARBOR_USERNAME }}
password: ${{ secrets.HARBOR_PASSWORD }}
steps:
- name: keep workspace empty
run: |
if [[ -d source ]]; then rm -rf source; fi
if [[ -d nebula-dashboard ]]; then rm -rf nebula-dashboard; fi
rm -rf *
- uses: actions/checkout@v2
with:
ref: 'master'
path: source/nebula-dashboard
- uses: actions/checkout@v2
with:
repository: vesoft-inc/nebula-http-gateway
path: source/nebula-http-gateway

ref: v2.2.1
- uses: actions/setup-go@v2
with:
go-version: '^1.13.1'
- uses: actions/setup-node@v2
with:
node-version: '10'
node-version: '14'
- name: ls
run: ls -a
- name: Package
run: bash ./source/nebula-dashboard/scripts/package.sh ${{ secrets.GA_ID }}
- name: Upload to OSS
run: ls -a & ossutil64 -e ${{ secrets.OSS_ENDPOINT }} -i ${{ secrets.OSS_ID }} -k ${{ secrets.OSS_SECRET }} -f cp ./ ${{ secrets.OSS_TEST_URL }} --include "nebula-dashboard-*.tar.gz" --only-current-dir -r
run: bash ./source/nebula-dashboard/scripts/upload.sh ${{ secrets.OSS_ENDPOINT }} ${{ secrets.OSS_ID }} ${{ secrets.OSS_SECRET }} ${{ secrets.OSS_URL }}


File renamed without changes.

0 comments on commit 26d54c1

Please sign in to comment.