Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: Enable ccruntime-e2e and makefile test on arm64 #484

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

seungukshin
Copy link

This changes enables e2e and makefile test on arm64 runner. There are some prerequisite.

Ther operator's CI is as following: (${\color{red}red}$ parts are added by this change)

  • ccruntime-nightly (executed at 02:00 everyday)
    • call ccruntime-e2e (e2e test on amd64, s390x, ${\color{red}arm64}$)
  • ccruntime-pr (exectued at pull request)
    • call ccruntime-e2e (e2e test on amd64, s390x, ${\color{red}arm64}$)
  • docker-publish-latest-on-merge (build images on amd64)
  • docker-publish-on-tag (build images on amd64)
  • enclave-cc-cicd (sgx specific test on amd64)
  • enclave-cc-e2e (sgx specific test on amd64)
  • gofmt (lint on amd64)
  • golangci-lint (lint on amd64)
  • makefile
    • build test on amd64, ${\color{red}arm64}$
    • lib-codeql (static analysis on amd64)
    • envtest on amd64, ${\color{red}arm64}$

@seungukshin
Copy link
Author

e2e test on ubuntu-20.04 failed because of DiskPressure which required 15% of free space (14% on ubunut-20.04). So I added a commit to move GOPATH to /mnt fo free more space on / (now 16% on ubuntu-20.04). I confirmed e2e test passed on ubunut-20.04 after this change. (https://github.com/seungukshin/operator/actions/runs/12866737850/job/35871382480)

@seungukshin
Copy link
Author

Now GitHub arm runner is available (https://github.blog/changelog/2025-01-16-linux-arm64-hosted-runners-now-available-for-free-in-public-repositories-public-preview/), so I tested ccruntime-e2e and makefile on them and fix some issue. The test results are following:

@seungukshin
Copy link
Author

Some part of change is merged as a part of this PR, so resolved the merge conflict.

Test results on ubuntu-22.04, ubuntu-20.04 and ubuntu-22.04-arm: https://github.com/seungukshin/operator/actions/runs/12932473305

Signed-off-by: Seunguk Shin <[email protected]>
Reviewed-by: Nick Connolly <[email protected]>
Reviewed-by: Tao Xu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants