Skip to content

Commit

Permalink
Revert "ci: test self-hosted"
Browse files Browse the repository at this point in the history
This reverts commit dabbcfa.
  • Loading branch information
honjow committed Feb 24, 2025
1 parent dabbcfa commit 52924fb
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 39 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/build-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,9 @@ on:
jobs:
build:
name: Build base docker image
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
-
# Add support for more platforms with QEMU (optional)
# https://github.com/docker/setup-qemu-action
name: Set up QEMU
uses: docker/setup-qemu-action@v3
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
Expand Down
52 changes: 26 additions & 26 deletions .github/workflows/build-system-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
build-system-image:
runs-on: self-hosted
runs-on: ubuntu-latest
permissions:
contents: write
outputs:
Expand All @@ -22,32 +22,32 @@ jobs:
display_version: ${{ steps.build_image.outputs.display_version }}
image_filename: ${{ steps.build_image.outputs.image_filename }}
steps:
# - name: Free Disk Space (Ubuntu)
# uses: jlumbroso/free-disk-space@main
# with:
# # this might remove tools that are actually needed,
# # if set to "true" but frees about 6 GB
# tool-cache: false
- name: Free Disk Space (Ubuntu)
uses: jlumbroso/free-disk-space@main
with:
# this might remove tools that are actually needed,
# if set to "true" but frees about 6 GB
tool-cache: false

# # all of these default to true, but feel free to set to
# # "false" if necessary for your workflow
# android: true
# dotnet: true
# haskell: true
# large-packages: true
# docker-images: true
# swap-storage: true
- name: Maximize build space
run: |
df -h
sudo rm -rf /usr/share/dotnet || true
sudo rm -rf /usr/share/swift || true
sudo rm -rf /usr/share/java || true
sudo rm -rf /usr/local/lib/android || true
sudo rm -rf /opt/ghc || true
sudo rm -rf /opt/hostedtoolcache || true
sudo rm -rf /opt/az || true
df -h
# all of these default to true, but feel free to set to
# "false" if necessary for your workflow
android: true
dotnet: true
haskell: true
large-packages: true
docker-images: true
swap-storage: true
# - name: Maximize build space
# run: |
# df -h
# sudo rm -rf /usr/share/dotnet
# sudo rm -rf /usr/share/swift
# sudo rm -rf /usr/share/java
# sudo rm -rf /usr/local/lib/android
# sudo rm -rf /opt/ghc
# sudo rm -rf /opt/hostedtoolcache
# sudo rm -rf /opt/az
# df -h

- uses: actions/checkout@v4
- name: Extract metadata (tags, labels) for Docker
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ jobs:

list-pkgbuilds:
name: List Packages
runs-on: self-hosted
runs-on: ubuntu-latest
outputs:
aur-pkgs: ${{ steps.set-aur-pkgs.outputs.matrix }}
pkgs: ${{ steps.set-pkgs.outputs.matrix }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
# - run: git submodule update --recursive --remote aur-pkgs
- run: git submodule update --recursive --remote aur-pkgs
- id: set-aur-pkgs
run: echo "matrix=$(ls -d aur-pkgs/*/ | jq -R -s -c 'split("\n")[:-1]')" >> $GITHUB_OUTPUT
shell: bash
Expand All @@ -38,7 +38,7 @@ jobs:
- build-docker-image
- list-pkgbuilds
name: Build AUR package
runs-on: self-hosted
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
- build-docker-image
- list-pkgbuilds
name: Build package
runs-on: self-hosted
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
Expand Down

0 comments on commit 52924fb

Please sign in to comment.