Skip to content

temporarily remove serviceMonitor manifest for coredns #985

temporarily remove serviceMonitor manifest for coredns

temporarily remove serviceMonitor manifest for coredns #985

Workflow file for this run

name: Build and test operator images on push to every branch except main and pull requests
on:
pull_request:
branches: [main]
push:
branches-ignore: [main]
workflow_dispatch: {}
jobs:
build-test-operator:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
~/go/bin/
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- uses: actions/setup-go@v2
with:
go-version: '1.17.1'
- name: Build & Test
run: |
echo "/usr/local/kubebuilder/bin" >> $GITHUB_PATH
make toolchain build test
working-directory: operator
build-cli:
strategy:
matrix:
os: ["darwin", "linux"]
arch: ["amd64"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
~/go/bin/
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- uses: actions/setup-go@v2
with:
go-version: '1.17.1'
- name: Build the KIT CLI
run: |
GOOS=${{ matrix.os }} GOARCH=${{ matrix.arch }} go build -o ./bin/kitctl ./cmd/kitctl/
working-directory: substrate