forked from StepicOrg/epicbox-images
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a 15-minute timeout to individual image build jobs and a 30-minute timeout to the composite build job in the CI workflow file. This ensures that builds do not run indefinitely, potentially saving resources and improving overall CI pipeline efficiency.
- Loading branch information
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ jobs: | |
build_debian_image: | ||
name: Build epicbox/debian image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -28,6 +29,7 @@ jobs: | |
build_clojure_image: | ||
name: Build epicbox-clojure image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -43,6 +45,7 @@ jobs: | |
name: Build epicbox-gcc image | ||
needs: build_debian_image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -57,6 +60,7 @@ jobs: | |
build_go_image: | ||
name: Build epicbox-go image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -71,6 +75,7 @@ jobs: | |
build_haskell_image: | ||
name: Build epicbox-haskell image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -85,6 +90,7 @@ jobs: | |
build_hyperskill_go_image: | ||
name: Build epicbox-hyperskill/go image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -100,6 +106,7 @@ jobs: | |
name: Build epicbox-hyperskill/gcc image | ||
needs: build_debian_image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -114,6 +121,7 @@ jobs: | |
build_hyperskill_gradle_image: | ||
name: Build epicbox-hyperskill/gradle image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -128,6 +136,7 @@ jobs: | |
build_hyperskill_gradle_spring_image: | ||
name: Build epicbox-hyperskill/gradle-spring image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -142,6 +151,7 @@ jobs: | |
build_hyperskill_java_image: | ||
name: Build epicbox-hyperskill/java image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -156,6 +166,7 @@ jobs: | |
build_hyperskill_node_image: | ||
name: Build epicbox-hyperskill/node image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -170,6 +181,7 @@ jobs: | |
build_hyperskill_node_javascript_image: | ||
name: Build epicbox-hyperskill/node-javascript image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -184,6 +196,7 @@ jobs: | |
build_hyperskill_python_image: | ||
name: Build epicbox-hyperskill/python image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -198,6 +211,7 @@ jobs: | |
build_java_image: | ||
name: Build epicbox/java image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -212,6 +226,7 @@ jobs: | |
build_kotlin_image: | ||
name: Build epicbox/kotlin image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -227,6 +242,7 @@ jobs: | |
name: Build epicbox/mono image | ||
needs: build_debian_image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -241,6 +257,7 @@ jobs: | |
build_node_image: | ||
name: Build epicbox/node image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -255,6 +272,7 @@ jobs: | |
build_php_image: | ||
name: Build epicbox/php image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -269,6 +287,7 @@ jobs: | |
build_pmd_image: | ||
name: Build epicbox/pmd image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -283,6 +302,7 @@ jobs: | |
build_python_310_image: | ||
name: Build epicbox/python 3.10 image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -297,6 +317,7 @@ jobs: | |
build_python_311_image: | ||
name: Build epicbox/python 3.11 image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -311,6 +332,7 @@ jobs: | |
build_ruby_image: | ||
name: Build epicbox/ruby image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -325,6 +347,7 @@ jobs: | |
build_scala2_image: | ||
name: Build epicbox/scala2 image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -339,6 +362,7 @@ jobs: | |
build_scala3_image: | ||
name: Build epicbox/scala3 image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -353,6 +377,7 @@ jobs: | |
build_typescript_image: | ||
name: Build epicbox/typescript image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -367,6 +392,7 @@ jobs: | |
build_hyperstyle_image: | ||
name: Build epicbox/hyperstyle image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 15 | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
@@ -409,6 +435,7 @@ jobs: | |
- build_typescript_image | ||
- build_hyperstyle_image | ||
runs-on: [ self-hosted, small ] | ||
timeout-minutes: 30 | ||
steps: | ||
- uses: hyperskill/[email protected] | ||
with: | ||
|