Skip to content

Commit

Permalink
Fix podman
Browse files Browse the repository at this point in the history
  • Loading branch information
tytan652 committed Feb 12, 2024
1 parent f4e0ddb commit f0ccd47
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/bst-build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
runs-on: ubuntu-22.04

steps:
# This action maximize the space provided by the runner which makes more viable for BuildStream
- uses: easimon/maximize-build-space@v10
with:
remove-dotnet: true
Expand All @@ -40,7 +41,7 @@ jobs:
sudo apt-get install python3-{arpy,dulwich,requests,tomli}
pip3 install --user BuildStream==2.1.0
- name: Write BuildStream config
run: |
mkdir -p ~/.config
Expand Down
14 changes: 11 additions & 3 deletions .github/workflows/bst-push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
runs-on: ubuntu-22.04

steps:
# This action maximize the space provided by the runner which makes more viable for BuildStream
- uses: easimon/maximize-build-space@v10
with:
remove-dotnet: true
Expand All @@ -39,16 +40,23 @@ jobs:
sudo apt-get install python3-{arpy,dulwich,requests,tomli}
pip3 install --user BuildStream==2.1.0
- name: Write BuildStream config
- name: Write BuildStream and Podman configurations
run: |
mkdir -p ~/.config
mkdir -p ~/.config/containers
cat >> ~/.config/buildstream2.conf << EOF
sourcedir: ${GITHUB_WORKSPACE}/.bst/sources
cachedir: ${GITHUB_WORKSPACE}/.bst
logdir: ${GITHUB_WORKSPACE}/.bst/logs
EOF
cat >> ~/.config/containers/storage.conf << EOF
[storage]
driver = "overlay"
graphroot = "$GITHUB_WORKSPACE/.containers/storage"
EOF
- uses: actions/checkout@v4

- name: Create ${{ env.bst-filename }} if not present
Expand Down

0 comments on commit f0ccd47

Please sign in to comment.