Skip to content

feat: support manage the secrets via UI #591

feat: support manage the secrets via UI

feat: support manage the secrets via UI #591

Workflow file for this run

name: Build
on:
- pull_request
jobs:
Test:
runs-on: ubuntu-20.04
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18.x
- uses: actions/[email protected]
- name: Unit Test
run: |
make test-all-backend test-operator
- name: Report
if: github.actor == 'linuxsuren'
env:
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
run: |
bash <(curl -Ls https://coverage.codacy.com/get.sh) report --partial --force-coverage-parser go -r coverage.out
bash <(curl -Ls https://coverage.codacy.com/get.sh) report --partial --force-coverage-parser go -r collector-coverage.out
bash <(curl -Ls https://coverage.codacy.com/get.sh) report --partial --force-coverage-parser go -r store-orm-coverage.out
bash <(curl -Ls https://coverage.codacy.com/get.sh) report --partial --force-coverage-parser go -r store-s3-coverage.out
bash <(curl -Ls https://coverage.codacy.com/get.sh) report --partial --force-coverage-parser go -r store-git-coverage.out
bash <(curl -Ls https://coverage.codacy.com/get.sh) report --partial --force-coverage-parser go -r operator/cover.out
bash <(curl -Ls https://coverage.codacy.com/get.sh) final
APITest:
runs-on: ubuntu-20.04
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18.x
- uses: actions/[email protected]
- name: API Test
run: |
make build copy
sudo atest service install
sudo atest service restart
sudo atest service status
atest run -p .github/testing/core.yaml --request-ignore-error --report md --report-file .github/workflows/report.md
sudo atest service status
atest convert -p .github/testing/core.yaml --converter jmeter -t sample.jmx
- name: Report API Test
uses: harupy/comment-on-pr@c0522c44600040927a120b9309b531e3cb6f8d48
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
filename: report.md
- name: Run JMeter Tests
uses: rbhadti94/[email protected]
with:
testFilePath: sample.jmx
Build:
runs-on: ubuntu-20.04
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18.x
- uses: actions/[email protected]
- name: Run GoReleaser
uses: goreleaser/[email protected]
with:
github_token: ${{ secrets.GH_PUBLISH_SECRETS }}
version: v1.14.0
args: release --skip-publish --rm-dist --snapshot
- name: Operator
run: cd operator && make build
BuildImage:
runs-on: ubuntu-20.04
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18.x
- uses: actions/[email protected]
- name: Core Image
run: make build-image
- name: Operator Image
run: cd operator && make docker-build
BuildEmbedUI:
runs-on: ubuntu-20.04
steps:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18.x
- uses: actions/[email protected]
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: 'npm'
cache-dependency-path: console/atest-ui/package-lock.json
- name: Build
run: |
make build-embed-ui copy
sudo atest service install
sudo atest service restart
- name: Test
run: make test-ui test-e2e