Skip to content

Commit

Permalink
rename arch
Browse files Browse the repository at this point in the history
  • Loading branch information
dmironov-wallarm committed Apr 24, 2024
1 parent 7a6983c commit 14a3f38
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
include:
- PLATFORM: amd64
RUNNER: self-hosted-amd64-1cpu
- PLATFORM: aarch64
- PLATFORM: arm64
RUNNER: self-hosted-arm64-1cpu
outputs:
helm_args: ${{ steps.compute_helm_args.outputs.helm_args }}
Expand All @@ -47,8 +47,8 @@ jobs:
- name: Save artifact
uses: actions/upload-artifact@v3
with:
name: docker-image-${{ matrix.PLATFORM }}.tar
path: artifacts/docker-image-${{ matrix.PLATFORM }}.tar
name: sidecar-${{ matrix.PLATFORM }}.tar
path: artifacts/sidecar-${{ matrix.PLATFORM }}.tar
retention-days: 1

- name: Compute Helm arguments
Expand Down Expand Up @@ -124,10 +124,10 @@ jobs:
- name: Load cache
uses: actions/download-artifact@eaceaf801fd36c7dee90939fad912460b18a1ffe
with:
name: docker-image-${{ matrix.ARCH }}.tar
name: sidecar-${{ matrix.ARCH }}.tar

- name: Load images
run: docker load -i controller-${{ env.ARCH }}.tar
run: docker load -i sidecar-${{ env.ARCH }}.tar

- name: Create cluster
run: kind create cluster --image=kindest/node:${{ matrix.k8s }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@ jobs:
PLATFORM: [ amd64 ]
RUNNER: [ self-hosted-amd64-1cpu ]
include:
- { kubeVersion: 1.19.16, PLATFORM: aarch64, RUNNER: self-hosted-arm64-1cpu }
- { kubeVersion: 1.25.3, PLATFORM: aarch64, RUNNER: self-hosted-arm64-1cpu }
- { kubeVersion: 1.19.16, PLATFORM: arm64, RUNNER: self-hosted-arm64-1cpu }
- { kubeVersion: 1.25.3, PLATFORM: arm64, RUNNER: self-hosted-arm64-1cpu }
steps:
- name: Import secrets
uses: hashicorp/vault-action@130d1f5f4fe645bb6c83e4225c04d64cfb62de6e # v2.5.0
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ifndef CI
PLATFORMS?=linux/amd64
BUILDX_ARGS?=--load
else
PLATFORMS?=linux/amd64,linux/aarch64
PLATFORMS?=linux/amd64,linux/arm64
BUILDX_ARGS?=--push
endif

Expand Down

0 comments on commit 14a3f38

Please sign in to comment.