Skip to content

Commit

Permalink
Change image upload in CI to use a single thread (#6965)
Browse files Browse the repository at this point in the history
This is a test to see how a different oxide cli with a single thread
works with CI

---------

Co-authored-by: Alan Hanson <[email protected]>
  • Loading branch information
leftwo and Alan Hanson authored Oct 31, 2024
1 parent 512730a commit 95e84c7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/buildomat/jobs/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ E2E_TLS_CERT="/opt/oxide/sled-agent/pkg/initial-tls-cert.pem"
#
pfexec mkdir -p /usr/oxide
pfexec curl -sSfL -o /usr/oxide/oxide \
http://catacomb.eng.oxide.computer:12346/oxide-v0.1.0
http://catacomb.eng.oxide.computer:12346/oxide-v0.1.1
pfexec chmod +x /usr/oxide/oxide

curl -sSfL -o debian-11-genericcloud-amd64.raw \
Expand Down Expand Up @@ -418,11 +418,9 @@ done

/usr/oxide/oxide --resolve "$OXIDE_RESOLVE" --cacert "$E2E_TLS_CERT" \
project create --name images --description "some images"
# NOTE: Use a relatively large timeout on this call, to avoid #6771
/usr/oxide/oxide \
--resolve "$OXIDE_RESOLVE" \
--cacert "$E2E_TLS_CERT" \
--timeout 60 \
disk import \
--path debian-11-genericcloud-amd64.raw \
--disk debian11-boot \
Expand All @@ -432,7 +430,8 @@ done
--image debian11 \
--image-description "debian 11 original base image" \
--image-os debian \
--image-version "11"
--image-version "11" \
--parallelism 1
/usr/oxide/oxide --resolve "$OXIDE_RESOLVE" --cacert "$E2E_TLS_CERT" \
image promote --project images --image debian11

Expand Down

0 comments on commit 95e84c7

Please sign in to comment.