Chart release 0.1.41 #417
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
name: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build-exposer: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Bazel cache | |
id: bazel-cache | |
uses: actions/cache@v3 | |
env: | |
version: 4.2.1 | |
with: | |
path: "~/.cache/bazel" | |
key: ${{ runner.os }}-${{ env.version }}-bazel-cache | |
- name: Install bazelisk | |
run: | | |
curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.1.0/bazelisk-linux-amd64" | |
mkdir -p "${GITHUB_WORKSPACE}/bin/" | |
mv bazelisk-linux-amd64 "${GITHUB_WORKSPACE}/bin/bazel" | |
chmod +x "${GITHUB_WORKSPACE}/bin/bazel" | |
- name: Build exposer | |
run: | | |
bazel build //exposer:exposer | |
build-registry: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Bazel cache | |
id: bazel-cache | |
uses: actions/cache@v3 | |
env: | |
version: 4.2.1 | |
with: | |
path: "~/.cache/bazel" | |
key: ${{ runner.os }}-${{ env.version }}-bazel-cache | |
- name: Install bazelisk | |
run: | | |
curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.1.0/bazelisk-linux-amd64" | |
mkdir -p "${GITHUB_WORKSPACE}/bin/" | |
mv bazelisk-linux-amd64 "${GITHUB_WORKSPACE}/bin/bazel" | |
chmod +x "${GITHUB_WORKSPACE}/bin/bazel" | |
- name: Build registry | |
run: | | |
bazel build //registry:registry | |
build-collector: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Bazel cache | |
id: bazel-cache | |
uses: actions/cache@v3 | |
env: | |
version: 4.2.1 | |
with: | |
path: "~/.cache/bazel" | |
key: ${{ runner.os }}-${{ env.version }}-bazel-cache | |
- name: Install bazelisk | |
run: | | |
curl -LO "https://github.com/bazelbuild/bazelisk/releases/download/v1.1.0/bazelisk-linux-amd64" | |
mkdir -p "${GITHUB_WORKSPACE}/bin/" | |
mv bazelisk-linux-amd64 "${GITHUB_WORKSPACE}/bin/bazel" | |
chmod +x "${GITHUB_WORKSPACE}/bin/bazel" | |
- name: Build collector | |
run: | | |
bazel build //collector:collector |