Skip to content

Commit

Permalink
ci: fixup plugin installation
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler committed Dec 6, 2021
1 parent 742f553 commit ae14fc7
Show file tree
Hide file tree
Showing 26 changed files with 202 additions and 129 deletions.
7 changes: 4 additions & 3 deletions .github/build.yaml.gomplate
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
{{{- end }}}
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
{{{ end }}}

{{{define "prepare_build" }}}
Expand Down Expand Up @@ -50,9 +53,7 @@
sudo apt-get update
sudo apt-get install -y make
{{{- end }}}
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/

{{{ end }}}

{{{define "make"}}}
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/build-examples-green-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ jobs:
run: |
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: '^1.16'
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Run make deps
run: |
sudo -E make deps
Expand Down Expand Up @@ -61,13 +61,13 @@ jobs:
run: |
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: '^1.16'
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Run make deps
run: |
sudo -E make deps
Expand Down Expand Up @@ -96,13 +96,13 @@ jobs:
run: |
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: '^1.16'
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Run make deps
run: |
sudo -E make deps
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build-master-blue-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y make
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Login to Quay Registry
run: echo ${{ secrets.QUAY_PASSWORD }} | docker login -u ${{ secrets.QUAY_USERNAME }} --password-stdin quay.io
- name: Run make deps
Expand Down Expand Up @@ -136,12 +136,12 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y make
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/build-master-blue-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
run: |
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Build 🔧
shell: 'script -q -e -c "bash {0}"'
run: |
Expand All @@ -41,16 +44,16 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: '^1.16'
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow
- name: Release space from worker
run: |
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Login to Quay Registry
run: echo ${{ secrets.QUAY_PASSWORD }} | docker login -u ${{ secrets.QUAY_USERNAME }} --password-stdin quay.io
- name: Run make deps
Expand Down Expand Up @@ -133,16 +136,16 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: '^1.16'
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow
- name: Release space from worker
run: |
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/build-master-green-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,12 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y make
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Login to Quay Registry
run: echo ${{ secrets.QUAY_PASSWORD }} | docker login -u ${{ secrets.QUAY_USERNAME }} --password-stdin quay.io
- name: Run make deps
Expand Down Expand Up @@ -95,6 +95,9 @@ jobs:
- uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Download result for build
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -245,6 +248,9 @@ jobs:
- uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Download result for build
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -439,12 +445,12 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y make
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
Expand Down
30 changes: 21 additions & 9 deletions .github/workflows/build-master-green-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
run: |
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Build 🔧
shell: 'script -q -e -c "bash {0}"'
run: |
Expand All @@ -41,16 +44,16 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: '^1.16'
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow
- name: Release space from worker
run: |
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Login to Quay Registry
run: echo ${{ secrets.QUAY_PASSWORD }} | docker login -u ${{ secrets.QUAY_USERNAME }} --password-stdin quay.io
- name: Run make deps
Expand Down Expand Up @@ -107,6 +110,9 @@ jobs:
run: |
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Download result for build
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -374,6 +380,9 @@ jobs:
run: |
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Download result for build
uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -670,16 +679,16 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: '^1.16'
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow
- name: Release space from worker
run: |
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
Expand Down Expand Up @@ -774,9 +783,6 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: '^1.16'
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- uses: actions/checkout@v2
- name: Install deps
run: brew install yq cdrtools
Expand Down Expand Up @@ -835,6 +841,9 @@ jobs:
run: |
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Run make deps
run: |
sudo -E make deps
Expand Down Expand Up @@ -863,6 +872,9 @@ jobs:
run: |
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Run make deps
run: |
sudo -E make deps
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/build-master-orange-arm64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y make
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Login to Quay Registry
run: echo ${{ secrets.QUAY_PASSWORD }} | docker login -u ${{ secrets.QUAY_USERNAME }} --password-stdin quay.io
- name: Run make deps
Expand Down Expand Up @@ -138,12 +138,12 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install -y make
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/build-master-orange-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
run: |
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Build 🔧
shell: 'script -q -e -c "bash {0}"'
run: |
Expand All @@ -41,16 +44,16 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: '^1.16'
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow
- name: Release space from worker
run: |
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Login to Quay Registry
run: echo ${{ secrets.QUAY_PASSWORD }} | docker login -u ${{ secrets.QUAY_USERNAME }} --password-stdin quay.io
- name: Run make deps
Expand Down Expand Up @@ -133,16 +136,16 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: '^1.16'
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- uses: actions/checkout@v2
- run: |
git fetch --prune --unshallow
- name: Release space from worker
run: |
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
- name: Install CI plugins
run: |
sudo cp -rfv .github/plugins/* /usr/bin/
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
Expand Down
Loading

0 comments on commit ae14fc7

Please sign in to comment.