Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unflaky ci tests #1204

Merged
merged 5 commits into from
Mar 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/build.yaml.gomplate
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@
{{{ $target := . }}}
- name: Run make {{{ $target }}}
run: |
{{{ if eq $target "deps" }}}export DOCKER_INSTALL=true{{{end}}}
sudo -E make {{{ $target }}}
{{{ if eq $target "deps" }}}
{{{- if ne $config.luet_override "" }}}
Expand Down
1 change: 1 addition & 0 deletions .github/config/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ flavors:
paths:
- 'conf/**'
- 'packages/**'
- 'tests/**'
- 'make/**'
- '.github/**'
- 'Makefile'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-examples-green-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
go-version: '^1.16'
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Build cos-official 🔧
shell: 'script -q -e -c "bash {0}"'
Expand Down Expand Up @@ -81,6 +82,7 @@ jobs:
go-version: '^1.16'
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Build scratch 🔧
shell: 'script -q -e -c "bash {0}"'
Expand Down Expand Up @@ -121,6 +123,7 @@ jobs:
go-version: '^1.16'
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Build standard 🔧
shell: 'script -q -e -c "bash {0}"'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-master-blue-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
run: echo ${{ secrets.QUAY_PASSWORD }} | docker login -u ${{ secrets.QUAY_USERNAME }} --password-stdin quay.io
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Run make validate
run: |
Expand Down Expand Up @@ -115,6 +116,7 @@ jobs:
- uses: actions/checkout@v2
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Generate link for blue
run: |
Expand Down Expand Up @@ -194,6 +196,7 @@ jobs:
password: ${{ secrets.QUAY_PASSWORD }}
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Download result for build
uses: actions/download-artifact@v2
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-master-blue-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
run: echo ${{ secrets.QUAY_PASSWORD }} | docker login -u ${{ secrets.QUAY_USERNAME }} --password-stdin quay.io
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Run make validate
run: |
Expand Down Expand Up @@ -113,6 +114,7 @@ jobs:
- uses: actions/checkout@v2
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Generate link for blue
run: |
Expand Down Expand Up @@ -192,6 +194,7 @@ jobs:
password: ${{ secrets.QUAY_PASSWORD }}
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Download result for build
uses: actions/download-artifact@v2
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/build-master-green-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
run: echo ${{ secrets.QUAY_PASSWORD }} | docker login -u ${{ secrets.QUAY_USERNAME }} --password-stdin quay.io
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Run make validate
run: |
Expand Down Expand Up @@ -144,6 +145,7 @@ jobs:
sudo apt-get install -y xorriso squashfs-tools mtools
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Export cos version
run: |
Expand Down Expand Up @@ -309,6 +311,7 @@ jobs:
sudo apt-get install -y xorriso squashfs-tools mtools
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Tweak manifest and drop squashfs recovery
run: |
Expand Down Expand Up @@ -449,6 +452,7 @@ jobs:
- uses: actions/checkout@v2
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Generate link for green
run: |
Expand Down Expand Up @@ -527,6 +531,7 @@ jobs:
password: ${{ secrets.QUAY_PASSWORD }}
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Download result for build
uses: actions/download-artifact@v2
Expand Down Expand Up @@ -581,6 +586,7 @@ jobs:
path: build
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Export cos version
run: |
Expand Down
10 changes: 10 additions & 0 deletions .github/workflows/build-master-green-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
run: echo ${{ secrets.QUAY_PASSWORD }} | docker login -u ${{ secrets.QUAY_USERNAME }} --password-stdin quay.io
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Run make validate
run: |
Expand Down Expand Up @@ -142,6 +143,7 @@ jobs:
sudo apt-get install -y xorriso squashfs-tools mtools
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Export cos version
run: |
Expand Down Expand Up @@ -420,6 +422,7 @@ jobs:
sudo apt-get install -y xorriso squashfs-tools mtools
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Tweak manifest and drop squashfs recovery
run: |
Expand Down Expand Up @@ -673,6 +676,7 @@ jobs:
- uses: actions/checkout@v2
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Generate link for green
run: |
Expand Down Expand Up @@ -751,6 +755,7 @@ jobs:
password: ${{ secrets.QUAY_PASSWORD }}
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Download result for build
uses: actions/download-artifact@v2
Expand Down Expand Up @@ -805,6 +810,7 @@ jobs:
path: build
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Export cos version
run: |
Expand Down Expand Up @@ -923,6 +929,7 @@ jobs:
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Export cos version
run: |
Expand Down Expand Up @@ -960,6 +967,7 @@ jobs:
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Export cos version
run: |
Expand Down Expand Up @@ -997,6 +1005,7 @@ jobs:
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Export cos version
run: |
Expand Down Expand Up @@ -1051,6 +1060,7 @@ jobs:
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Export cos version
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-master-orange-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
run: echo ${{ secrets.QUAY_PASSWORD }} | docker login -u ${{ secrets.QUAY_USERNAME }} --password-stdin quay.io
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Run make validate
run: |
Expand Down Expand Up @@ -117,6 +118,7 @@ jobs:
- uses: actions/checkout@v2
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Generate link for orange
run: |
Expand Down Expand Up @@ -196,6 +198,7 @@ jobs:
password: ${{ secrets.QUAY_PASSWORD }}
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Download result for build
uses: actions/download-artifact@v2
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-master-orange-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ jobs:
run: echo ${{ secrets.QUAY_PASSWORD }} | docker login -u ${{ secrets.QUAY_USERNAME }} --password-stdin quay.io
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Run make validate
run: |
Expand Down Expand Up @@ -113,6 +114,7 @@ jobs:
- uses: actions/checkout@v2
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Generate link for orange
run: |
Expand Down Expand Up @@ -192,6 +194,7 @@ jobs:
password: ${{ secrets.QUAY_PASSWORD }}
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Download result for build
uses: actions/download-artifact@v2
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-nightly-blue-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Run make validate
run: |
Expand Down Expand Up @@ -113,6 +114,7 @@ jobs:
path: build
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Export cos version
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-nightly-green-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Run make validate
run: |
Expand Down Expand Up @@ -119,6 +120,7 @@ jobs:
sudo apt-get install -y xorriso squashfs-tools mtools
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Export cos version
run: |
Expand Down Expand Up @@ -391,6 +393,7 @@ jobs:
sudo apt-get install -y xorriso squashfs-tools mtools
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Tweak manifest and drop squashfs recovery
run: |
Expand Down Expand Up @@ -661,6 +664,7 @@ jobs:
path: build
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Export cos version
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-nightly-orange-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ jobs:
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Run make validate
run: |
Expand Down Expand Up @@ -113,6 +114,7 @@ jobs:
path: build
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Export cos version
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-pr-blue-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Run make validate
run: |
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-pr-blue-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
paths:
- conf/**
- packages/**
- tests/**
- make/**
- .github/**
- Makefile
Expand Down Expand Up @@ -62,6 +63,7 @@ jobs:
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Run make validate
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build-pr-green-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Run make validate
run: |
Expand Down Expand Up @@ -130,6 +131,7 @@ jobs:
sudo apt-get install -y xorriso squashfs-tools mtools
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Export cos version
run: |
Expand Down Expand Up @@ -295,6 +297,7 @@ jobs:
sudo apt-get install -y xorriso squashfs-tools mtools
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Tweak manifest and drop squashfs recovery
run: |
Expand Down Expand Up @@ -458,6 +461,7 @@ jobs:
path: build
- name: Run make deps
run: |
export DOCKER_INSTALL=true
sudo -E make deps
- name: Export cos version
run: |
Expand Down
Loading