Skip to content

Commit

Permalink
[ci] Only selectel runner for build deckhouse
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolay Mitrofanov <[email protected]>
  • Loading branch information
name212 committed Aug 14, 2024
1 parent 711d960 commit c46535a
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 47 deletions.
6 changes: 3 additions & 3 deletions .github/ci_templates/build.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{!{ define "go_generate_template" }!}
# <template: go_generate_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:
{!{ tmpl.Exec "started_at_output" . | strings.Indent 2 }!}
{!{ tmpl.Exec "checkout_step" . | strings.Indent 2 }!}
Expand All @@ -26,7 +26,7 @@ steps:

{!{ define "workflow_render_template" }!}
# <template: workflow_render_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:
{!{ tmpl.Exec "started_at_output" . | strings.Indent 2 }!}
{!{ tmpl.Exec "checkout_step" . | strings.Indent 2 }!}
Expand All @@ -47,7 +47,7 @@ steps:
{!{- $ctx := index . 0 -}!}
{!{- $buildType := index . 1 -}!}
# <template: build_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
outputs:
tests_image_name: ${{ steps.build.outputs.tests_image_name }}
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/ci_templates/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ docker_options: '-w /deckhouse -v ~/go-pkg-cache:/go/pkg'
{!{- $args_tmpl := printf "%s_run_args" $args_name }!}
{!{- $default := dict "image" "tests" "args" "echo no args" "docker_options" "" }!}
{!{- $run := coll.Merge (tmpl.Exec $args_tmpl | yaml) $default }!}
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:
{!{ tmpl.Exec "started_at_output" $ctx | strings.Indent 2 }!}
{!{ tmpl.Exec "checkout_full_step" $ctx | strings.Indent 2 }!}
Expand Down Expand Up @@ -83,7 +83,7 @@ steps:
{!{- $args_tmpl := printf "%s_run_args" $args_name }!}
{!{- $default := dict "image" "tests" "args" "echo no args" "docker_options" "" }!}
{!{- $run := coll.Merge (tmpl.Exec $args_tmpl | yaml) $default }!}
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:
{!{ tmpl.Exec "started_at_output" $ctx | strings.Indent 2 }!}
{!{ tmpl.Exec "checkout_full_step" $ctx | strings.Indent 2 }!}
Expand Down
4 changes: 2 additions & 2 deletions .github/ci_templates/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{!{- $buildType := index . 2 -}!}

# <template: web_build_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:
{!{ tmpl.Exec "started_at_output" $ctx | strings.Indent 2 }!}
{!{ tmpl.Exec "checkout_full_step" $ctx | strings.Indent 2 }!}
Expand Down Expand Up @@ -42,7 +42,7 @@ steps:
# <template: web_links_test_template>
{!{- $ctx := index . 0 }!}
{!{- $mode := index . 1 }!}
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:
{!{ tmpl.Exec "started_at_output" $ctx | strings.Indent 2 }!}
{!{ tmpl.Exec "checkout_full_step" $ctx | strings.Indent 2 }!}
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/build-and-test_dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ jobs:
- pull_request_info

# <template: go_generate_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down Expand Up @@ -484,7 +484,7 @@ jobs:
- pull_request_info

# <template: workflow_render_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down Expand Up @@ -543,7 +543,7 @@ jobs:
env:
WERF_ENV: ${{ needs.pull_request_info.outputs.edition }}
# <template: build_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
outputs:
tests_image_name: ${{ steps.build.outputs.tests_image_name }}
steps:
Expand Down Expand Up @@ -770,7 +770,7 @@ jobs:
- git_info
- pull_request_info
# <template: web_build_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down Expand Up @@ -829,7 +829,7 @@ jobs:
- git_info
- pull_request_info
# <template: web_build_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down Expand Up @@ -890,7 +890,7 @@ jobs:
- pull_request_info

# <template: tests_before_build_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down Expand Up @@ -976,7 +976,7 @@ jobs:
- pull_request_info

# <template: tests_before_build_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down Expand Up @@ -1063,7 +1063,7 @@ jobs:
- build_deckhouse

# <template: tests_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down Expand Up @@ -1158,7 +1158,7 @@ jobs:
- build_deckhouse

# <template: tests_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down Expand Up @@ -1253,7 +1253,7 @@ jobs:
- build_deckhouse

# <template: tests_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down Expand Up @@ -1349,7 +1349,7 @@ jobs:
- main_web_build
continue-on-error: true
# <template: web_links_test_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down Expand Up @@ -1509,7 +1509,7 @@ jobs:
- build_deckhouse

# <template: tests_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down
24 changes: 12 additions & 12 deletions .github/workflows/build-and-test_pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
- git_info

# <template: go_generate_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down Expand Up @@ -200,7 +200,7 @@ jobs:
- git_info

# <template: workflow_render_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down Expand Up @@ -257,7 +257,7 @@ jobs:
env:
WERF_ENV: "FE"
# <template: build_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
outputs:
tests_image_name: ${{ steps.build.outputs.tests_image_name }}
steps:
Expand Down Expand Up @@ -482,7 +482,7 @@ jobs:
needs:
- git_info
# <template: web_build_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down Expand Up @@ -569,7 +569,7 @@ jobs:
needs:
- git_info
# <template: web_build_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down Expand Up @@ -627,7 +627,7 @@ jobs:
- git_info

# <template: tests_before_build_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down Expand Up @@ -710,7 +710,7 @@ jobs:
- git_info

# <template: tests_before_build_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down Expand Up @@ -794,7 +794,7 @@ jobs:
- build_deckhouse

# <template: tests_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down Expand Up @@ -886,7 +886,7 @@ jobs:
- build_deckhouse

# <template: tests_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down Expand Up @@ -978,7 +978,7 @@ jobs:
- build_deckhouse

# <template: tests_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down Expand Up @@ -1072,7 +1072,7 @@ jobs:
- main_web_build
continue-on-error: true
# <template: web_links_test_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down Expand Up @@ -1237,7 +1237,7 @@ jobs:
- build_deckhouse

# <template: tests_template>
runs-on: [self-hosted, regular, selectel]
runs-on: [self-hosted, regular]
steps:

# <template: started_at_output>
Expand Down
Loading

0 comments on commit c46535a

Please sign in to comment.