CI: switch static-checks-dragonball CI machines to Azure

Previously, static-checks-dragonball is using machines from Alibaba
Cloud to run all the CI jobs.

Currently, we are going through an internal process to apply for the new
machines for Dragonball CI. Before the internal process is over, we will
temporarily use Azure VM to run static-checks-dragonball jobs.

fixes: #7838

Signed-off-by: Chao Wu <chaowu@linux.alibaba.com>
(cherry picked from commit 60f733d301)
This commit is contained in:
Chao Wu 2023-09-05 14:34:38 +08:00 committed by Fabiano Fidêncio
parent 9b6c5eaff1
commit 7fd7186780

View File

@ -14,7 +14,7 @@ concurrency:
name: Static checks dragonball name: Static checks dragonball
jobs: jobs:
test-dragonball: test-dragonball:
runs-on: dragonball runs-on: garm-ubuntu-2004
env: env:
RUST_BACKTRACE: "1" RUST_BACKTRACE: "1"
steps: steps:
@ -23,6 +23,10 @@ jobs:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }} if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
run: | run: |
echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV echo "GOPATH=${{ github.workspace }}" >> $GITHUB_ENV
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends build-essential haveged
- name: Install Rust - name: Install Rust
if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }} if: ${{ !contains(github.event.pull_request.labels.*.name, 'force-skip-ci') }}
run: | run: |