mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Adjust Updater workflow to use max-parallel:1 (#10781)
* Adjust Updater workflow to use max-parallel:1 Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Fix typo in Repology workflow. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Ignore files in .github for container unit tests. Signed-off-by: Satadru Pramanik <satadru@gmail.com> --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
committed by
GitHub
parent
956dc3eb6c
commit
d153f2667f
2
.github/workflows/Repology.yml
vendored
2
.github/workflows/Repology.yml
vendored
@@ -13,7 +13,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ruby-version: '3.3.6'
|
ruby-version: '3.3.6'
|
||||||
- name: Install highline
|
- name: Install highline
|
||||||
run: sudo apt-install -y ruby-highline
|
run: sudo apt install -y ruby-highline
|
||||||
- name: Install activesupport
|
- name: Install activesupport
|
||||||
run: sudo apt install -y ruby-activesupport
|
run: sudo apt install -y ruby-activesupport
|
||||||
- name: Configure git
|
- name: Configure git
|
||||||
|
|||||||
13
.github/workflows/Unit-Test.yml
vendored
13
.github/workflows/Unit-Test.yml
vendored
@@ -54,8 +54,9 @@ jobs:
|
|||||||
uses: tj-actions/changed-files@v45
|
uses: tj-actions/changed-files@v45
|
||||||
with:
|
with:
|
||||||
files_ignore: |
|
files_ignore: |
|
||||||
packages/*.rb
|
.github/**
|
||||||
manifest/**
|
manifest/**
|
||||||
|
packages/*.rb
|
||||||
tools/packages.yaml
|
tools/packages.yaml
|
||||||
- name: Get all changed package files
|
- name: Get all changed package files
|
||||||
id: changed-ruby-files
|
id: changed-ruby-files
|
||||||
@@ -176,3 +177,13 @@ jobs:
|
|||||||
"satmandu/crewbuild:${CONTAINER}" \
|
"satmandu/crewbuild:${CONTAINER}" \
|
||||||
/bin/chromebrewstart /usr/local/lib/crew/tests/unit_test_stub.sh
|
/bin/chromebrewstart /usr/local/lib/crew/tests/unit_test_stub.sh
|
||||||
fi
|
fi
|
||||||
|
container_test_check:
|
||||||
|
runs-on: ubuntu-24.04
|
||||||
|
needs:
|
||||||
|
- container_tests
|
||||||
|
if: ${{ !cancelled() }}
|
||||||
|
steps:
|
||||||
|
- name: fail if container_test jobs failed
|
||||||
|
if: ${{ contains(needs.*.result, 'failure') }}
|
||||||
|
run: exit 1
|
||||||
|
- run: echo "Container test jobs succeeded"
|
||||||
|
|||||||
2
.github/workflows/Updater.yml
vendored
2
.github/workflows/Updater.yml
vendored
@@ -46,10 +46,10 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
generate:
|
generate:
|
||||||
strategy:
|
strategy:
|
||||||
|
max-parallel: 1
|
||||||
matrix:
|
matrix:
|
||||||
arch: [x86_64, armv7l, i686]
|
arch: [x86_64, armv7l, i686]
|
||||||
runner: [self-hosted, ubuntu-24.04]
|
runner: [self-hosted, ubuntu-24.04]
|
||||||
max-parallel: 1
|
|
||||||
exclude:
|
exclude:
|
||||||
- arch: x86_64
|
- arch: x86_64
|
||||||
runner: self-hosted
|
runner: self-hosted
|
||||||
|
|||||||
Reference in New Issue
Block a user