Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
herkolategan committed Jan 18, 2025
1 parent 9434611 commit 9c7de39
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/code-cover-gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

jobs:
code-cover-gen:
if: false # This will always skip this job
runs-on: ubuntu-latest
env:
PR: ${{ github.event.pull_request.number }}
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/github-actions-essential-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ concurrency:
cancel-in-progress: true
jobs:
acceptance:
if: false # This will always skip this job
runs-on: [self-hosted, basic_big_runner_group]
timeout-minutes: 30
steps:
Expand All @@ -74,6 +75,7 @@ jobs:
run: ./build/github/cleanup-engflow-keys.sh
if: always()
check_generated_code:
if: false # This will always skip this job
runs-on: [self-hosted, basic_runner_group]
timeout-minutes: 30
steps:
Expand All @@ -89,6 +91,7 @@ jobs:
run: ./build/github/cleanup-engflow-keys.sh
if: always()
docker_image_amd64:
if: false # This will always skip this job
runs-on: [self-hosted, basic_runner_group]
timeout-minutes: 30
steps:
Expand All @@ -110,6 +113,7 @@ jobs:
run: ./build/github/cleanup-engflow-keys.sh
if: always()
examples_orms:
if: false # This will always skip this job
runs-on: [self-hosted, basic_big_runner_group]
timeout-minutes: 40
steps:
Expand All @@ -131,6 +135,7 @@ jobs:
run: ./cockroach/build/github/cleanup-engflow-keys.sh
if: always()
lint:
if: false # This will always skip this job
runs-on: [self-hosted, basic_big_runner_group]
timeout-minutes: 60
steps:
Expand All @@ -155,6 +160,7 @@ jobs:
run: ./build/github/cleanup-engflow-keys.sh
if: always()
local_roachtest:
if: false # This will always skip this job
runs-on: [self-hosted, basic_big_runner_group]
timeout-minutes: 60
steps:
Expand All @@ -176,6 +182,7 @@ jobs:
run: ./build/github/cleanup-engflow-keys.sh
if: always()
local_roachtest_fips:
if: false # This will always skip this job
runs-on: [self-hosted, basic_runner_group_fips]
timeout-minutes: 60
steps:
Expand All @@ -197,6 +204,7 @@ jobs:
run: ./build/github/cleanup-engflow-keys.sh
if: always()
linux_amd64_build:
if: false # This will always skip this job
runs-on: [self-hosted, basic_runner_group]
timeout-minutes: 30
steps:
Expand All @@ -218,6 +226,7 @@ jobs:
run: ./build/github/cleanup-engflow-keys.sh
if: always()
linux_amd64_fips_build:
if: false # This will always skip this job
runs-on: [self-hosted, basic_runner_group]
timeout-minutes: 30
steps:
Expand All @@ -239,6 +248,7 @@ jobs:
run: ./build/github/cleanup-engflow-keys.sh
if: always()
linux_arm64_build:
if: false # This will always skip this job
runs-on: [self-hosted, basic_runner_group]
timeout-minutes: 30
steps:
Expand All @@ -260,6 +270,7 @@ jobs:
run: ./build/github/cleanup-engflow-keys.sh
if: always()
macos_amd64_build:
if: false # This will always skip this job
runs-on: [self-hosted, basic_runner_group]
timeout-minutes: 30
steps:
Expand All @@ -281,6 +292,7 @@ jobs:
run: ./build/github/cleanup-engflow-keys.sh
if: always()
macos_arm64_build:
if: false # This will always skip this job
runs-on: [self-hosted, basic_runner_group]
timeout-minutes: 30
steps:
Expand All @@ -302,6 +314,7 @@ jobs:
run: ./build/github/cleanup-engflow-keys.sh
if: always()
unit_tests:
if: false # This will always skip this job
runs-on: [self-hosted, basic_runner_group]
timeout-minutes: 60
steps:
Expand All @@ -325,6 +338,7 @@ jobs:
run: ./build/github/cleanup-engflow-keys.sh
if: always()
windows_build:
if: false # This will always skip this job
runs-on: [self-hosted, basic_runner_group]
timeout-minutes: 30
steps:
Expand Down
41 changes: 41 additions & 0 deletions .github/workflows/microbenchmarks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Microbenchmarks CI
on:
pull_request:
types: [ opened, reopened, synchronize ]
branches: [ master ]

jobs:
microbench-build-head:
name: Head Binaries
runs-on: [self-hosted, basic_runner_group]
timeout-minutes: 30
steps:
- name: checkout PR head commit
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- run: ./build/github/get-engflow-keys.sh
- name: print commit message
run: git log -1 --pretty=format:"%H %an %s"
- name: build tests
run: ./build/github/microbenchmarks-build.sh
- name: clean up
run: ./build/github/cleanup-engflow-keys.sh
if: always()
microbench-build-base:
name: Base Binaries
runs-on: [self-hosted, basic_runner_group]
timeout-minutes: 30
steps:
- name: checkout PR base commit
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.sha }}
- run: ./build/github/get-engflow-keys.sh
- name: print commit message
run: git log -1 --pretty=format:"%H %an %s"
- name: build tests
run: ./build/github/microbenchmarks-build.sh
- name: clean up
run: ./build/github/cleanup-engflow-keys.sh
if: always()
14 changes: 14 additions & 0 deletions build/github/microbenchmarks-build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/bash

# Copyright 2025 The Cockroach Authors.
#
# Use of this software is governed by the CockroachDB Software License
# included in the /LICENSE file.

set -euxo pipefail

bazel build //pkg/sql/tests:tests_test \
--jobs 100 \
--config=crosslinux \
--remote_download_minimal \
$(./build/github/engflow-args.sh)

0 comments on commit 9c7de39

Please sign in to comment.