Skip to content

Commit

Permalink
chore(ci): only build amd64 for extensions e2e
Browse files Browse the repository at this point in the history
We only test extensions with amd64 machines, this allows us to get rid
of the beefy CI arm64 node used with drone.

Signed-off-by: Noel Georgi <git@frezbo.dev>
  • Loading branch information
frezbo committed Apr 26, 2024
1 parent 69fe96c commit 4df073a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .drone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,15 @@ steps:
commands:
- git fetch --tags
- install-ci-key
- setup-buildx-amd64-arm64
- setup-ci
environment:
SSH_KEY:
from_secret: ssh_key
DOCKER_CLI_EXPERIMENTAL: enabled
volumes:
- name: outer-docker-socket
path: /var/outer-run
- name: docker-socket
path: /var/run
- name: ssh
path: /root/.ssh
Expand All @@ -36,7 +38,7 @@ steps:
from_secret: 'az_tenant'
commands:
- az login --service-principal -u "$${AZURE_STORAGE_USER}" -p "$${AZURE_STORAGE_PASS}" --tenant "$${AZURE_TENANT}"
- make all extensions-metadata PUSH=true
- make all extensions-metadata PUSH=true PLATFORM=linux/amd64
- az storage blob upload --overwrite -f _out/extensions-metadata -n extensions-metadata -c "$${BUCKET_PATH}"
when:
event:
Expand All @@ -45,6 +47,8 @@ steps:
- e2e-talos
volumes:
- name: outer-docker-socket
path: /var/outer-run
- name: docker-socket
path: /var/run
- name: ssh
path: /root/.ssh
Expand All @@ -67,6 +71,8 @@ services:
volumes:
- name: docker-socket
path: /var/run
- name: outer-docker-socket
path: /var/outer-run
- name: buildx
path: /root/.docker/buildx
- name: ssh
Expand Down

0 comments on commit 4df073a

Please sign in to comment.