Skip to content

Commit

Permalink
Add support for s390x
Browse files Browse the repository at this point in the history
Signed-off-by: Sascha Grunert <[email protected]>
  • Loading branch information
saschagrunert committed Mar 1, 2024
1 parent 74c69b1 commit b9e70dd
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/obs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ jobs:
- amd64
- arm64
- ppc64le
- s390x
name: bundle / build / ${{ inputs.revision || 'main' }} / ${{ matrix.arch }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -143,6 +144,11 @@ jobs:
with:
name: bundles-ppc64le
path: build/bundle
- uses: actions/download-artifact@v4
if: ${{ inputs.skip-bundles == false && github.event_name != 'pull_request' }}
with:
name: bundles-s390x
path: build/bundle
- run: scripts/sign-artifacts
if: ${{ inputs.skip-bundles == false && github.event_name != 'pull_request' }}
- uses: google-github-actions/upload-cloud-storage@v2
Expand Down Expand Up @@ -239,6 +245,7 @@ jobs:
- amd64
- arm64
- ppc64le
# - s390x # TODO: enable when first packages are built
exclude:
- run:
image: fedora:38
Expand Down
2 changes: 1 addition & 1 deletion dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ dependencies:
match: runc

- name: crun (latest)
version: 1.14.1
version: 1.14.4
refPaths:
- path: templates/latest/cri-o/bundle/versions
match: crun
3 changes: 3 additions & 0 deletions scripts/bundle/build
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ source "$TEMPLATES_DIR/versions"
ARCH_AMD64=amd64
ARCH_ARM64=arm64
ARCH_PPC64LE=ppc64le
ARCH_S390X=s390x
ARCH=${ARCH:-$ARCH_AMD64}

ARCHIVE_ID=$COMMIT
Expand Down Expand Up @@ -126,6 +127,8 @@ if [[ $ARCH == "$ARCH_ARM64" ]]; then
ELF_ARCH=aarch64
elif [[ $ARCH == "$ARCH_PPC64LE" ]]; then
ELF_ARCH=PowerPC
elif [[ $ARCH == "$ARCH_S390X" ]]; then
ELF_ARCH=S/390
else
ELF_ARCH=x86-64
fi
Expand Down
1 change: 0 additions & 1 deletion scripts/obs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ obs_stage() {
--packages "$PACKAGE" \
--project "$PROJECT" \
--version "$VERSION" \
--architectures amd64,arm64,ppc64le \
--submit=false \
--nomock
}
Expand Down
2 changes: 1 addition & 1 deletion templates/latest/cri-o/bundle/versions
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ declare -A VERSIONS=(
["conmon"]=v2.1.10
["conmon-rs"]=v0.6.1
["cri-tools"]=v1.29.0
["crun"]=1.14.1
["crun"]=1.14.4
["runc"]=v1.1.12
)
export VERSIONS

0 comments on commit b9e70dd

Please sign in to comment.