Skip to content
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
12 changes: 1 addition & 11 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,13 @@ jobs:
sudo chmod 755 /usr/bin/zot
which zot
sudo wget --progress=dot:mega -O /usr/bin/stacker \
https://github.com/project-stacker/stacker/releases/download/v1.0.0-rc5/stacker
https://github.com/project-stacker/stacker/releases/download/v1.0.0/stacker
sudo chmod 755 /usr/bin/stacker
which stacker
stacker --version

sudo wget --progress=dot:mega -O /usr/bin/trust \
https://github.com/project-machine/mos/releases/download/v0.0.28/trust-linux-amd64
sudo chmod 755 /usr/bin/trust
trust keyset add snakeoil
- name: build golang
run: |
make go-stacker-build
- name: build layers
run: |
make STACKER_COMMON_OPTS=--debug
- name: Release bin
if: startsWith(github.ref, 'refs/tags/')
uses: softprops/action-gh-release@v1
with:
files: pkg/bkcust
2 changes: 1 addition & 1 deletion go/stacker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ buildenv-pkg:
from:
type: built
tag: minbase
import:
imports:
- https://go.dev/dl/go1.20.8.linux-amd64.tar.gz
run: |
pkgtool install gcc git libc6-dev make pkg-config \
Expand Down
2 changes: 1 addition & 1 deletion layers/bootkit/stacker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ bootkit-assemble:
from:
type: built
tag: build-krd
import:
imports:
- stacker://kernel-build/export/initrd.tar
- stacker://kernel-build/export/kernel.tar
- stacker://mos-build/export/mos.tar
Expand Down
4 changes: 2 additions & 2 deletions layers/build-krd/stacker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ build-krd:
from:
type: built
tag: build-krd-pkg
import:
imports:
- ../../tools/build-initrd
- ../../tools/create-cpio
- dracut/
- dracut
run: |

importd=/stacker/imports
Expand Down
2 changes: 1 addition & 1 deletion layers/custom/custom.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ customized:
from:
type: built
tag: build-customize
import:
imports:
- path: ../../tools/custbk
- path: ../../pkg/bkcust
- path: ${{KEYSET_D}}/
Expand Down
2 changes: 1 addition & 1 deletion layers/minbase/stacker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ minbase:
from:
type: docker
url: ${{DOCKER_BASE}}ubuntu:jammy
import:
imports:
- pkgtool
run: |
mirror=${{UBUNTU_MIRROR}}
Expand Down
2 changes: 1 addition & 1 deletion layers/mos/stacker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ mos-build:
from:
type: built
tag: build-krd
import:
imports:
- path: ${{MOSCTL_BINARY}}
dest: /imports/mosctl/mosctl
- path: ${{ZOT_BINARY}}
Expand Down
2 changes: 1 addition & 1 deletion layers/shim/stacker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ shim-build-env:
from:
type: built
tag: minbase
import:
imports:
- https://github.com/rhboot/shim/releases/download/15.6/shim-15.6.tar.bz2
run: |
pkgtool install libc6-dev openssl \
Expand Down
2 changes: 1 addition & 1 deletion layers/stubby/stacker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ stubby-build:
from:
type: built
tag: stubby-build-env
import:
imports:
- "https://github.com/puzzleos/stubby/archive/refs/tags/v1.0.1.tar.gz"
run: |
#!/bin/bash -ex
Expand Down