Skip to content

Commit

Permalink
slack-vitess-r12.0.5: use larger CI runner
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <tim@timvaillancourt.com>
  • Loading branch information
timvaillancourt committed Jul 12, 2023
1 parent 87cb1d3 commit 3cbb122
Show file tree
Hide file tree
Showing 76 changed files with 233 additions and 75 deletions.
37 changes: 37 additions & 0 deletions .github/docker/unit_test_/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# DO NOT MODIFY: THIS FILE IS GENERATED USING "make generate_ci_workflows"

ARG bootstrap_version=3.1
ARG image="vitess/bootstrap:${bootstrap_version}-"

FROM "${image}"

USER root

# Re-copy sources from working tree
RUN rm -rf /vt/src/vitess.io/vitess/*
COPY . /vt/src/vitess.io/vitess

# Set the working directory
WORKDIR /vt/src/vitess.io/vitess

# Fix permissions
RUN chown -R vitess:vitess /vt

USER vitess

# Set environment variables
ENV VTROOT /vt/src/vitess.io/vitess
# Set the vtdataroot such that it uses the volume mount
ENV VTDATAROOT /vt/vtdataroot

# create the vtdataroot directory
RUN mkdir -p $VTDATAROOT

# install goimports
RUN go install golang.org/x/tools/cmd/goimports@latest

# make tools
RUN make tools

# sleep for 50 minutes
CMD sleep 3000
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_11.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (11)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_12.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (12)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_13.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (13)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_14.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (14)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_15.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (15)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_16.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (16)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (17)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_18.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (18)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_19.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (19)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (20)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_21.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (21)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_22.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (22)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_23.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (23)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_24.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (24)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_26.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (26)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_mysql80.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (mysql80)
runs-on: ubuntu-20.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_onlineddl_declarative.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (onlineddl_declarative)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_onlineddl_ghost.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (onlineddl_ghost)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_onlineddl_revert.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (onlineddl_revert)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_onlineddl_singleton.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (onlineddl_singleton)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_onlineddl_vrepl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (onlineddl_vrepl)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (onlineddl_vrepl_stress)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (onlineddl_vrepl_stress_suite)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_onlineddl_vrepl_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (onlineddl_vrepl_suite)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_resharding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (resharding)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_resharding_bytes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (resharding_bytes)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_tabletmanager_consul.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (tabletmanager_consul)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_tabletmanager_tablegc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (tabletmanager_tablegc)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (tabletmanager_throttler)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (tabletmanager_throttler_custom_config)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/cluster_endtoend_upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ jobs:
get_release_matrix:
if: github.repository == 'vitessio/vitess'
name: Get matrix for endtoend tests on Cluster (upgrade)
runs-on: ubuntu-latest
runs-on:
group: vitess-ubuntu22
outputs:
matrix: ${{ steps.set-releases.outputs.matrix }}

Expand Down Expand Up @@ -37,7 +38,8 @@ jobs:
build:
if: github.repository == 'vitessio/vitess'
name: Run endtoend tests on Cluster (upgrade)
runs-on: ubuntu-latest
runs-on:
group: vitess-ubuntu22
needs:
- get_release_matrix
strategy:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_vreplication_basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (vreplication_basic)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (vreplication_cellalias)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/cluster_endtoend_vreplication_migrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (vreplication_migrate)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ concurrency:
jobs:
build:
name: Run endtoend tests on Cluster (vreplication_multicell)
runs-on: ubuntu-18.04
runs-on:
group: vitess-ubuntu22

steps:
- name: Set up Go
Expand Down
Loading

0 comments on commit 3cbb122

Please sign in to comment.