Skip to content

ci: Android E2E via GHCR image#404

Merged
Kobikg78 merged 10 commits into
masterfrom
development
May 19, 2026
Merged

ci: Android E2E via GHCR image#404
Kobikg78 merged 10 commits into
masterfrom
development

Conversation

@Kobikg78
Copy link
Copy Markdown
Collaborator

Summary

  • Mirror Unity Android Docker image to GHCR to avoid 20GB cold pull from Docker Hub
  • Rewrite rc-e2e-android.yml to use GHCR image via game-ci/unity-builder@v4 customImage
  • Saves ~70 min per Android E2E run

Test plan

  • GHCR push workflow ran successfully
  • Android E2E passed on plugins-effort-reduction-workflow1
  • Merged to development

🤖 Generated with Claude Code

Kobikg78 and others added 10 commits May 19, 2026 13:17
Avoids pulling the 20GB unityci/editor Docker image on every cold runner.
Instead downloads the Unity Linux editor once (~4.4GB), caches it at
/opt/unity with actions/cache, and builds directly — same pattern as the
iOS workflow. Uses the Android SDK already pre-installed on ubuntu-latest.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Strip-components assumption was wrong — detect the actual path with find
and fail fast with a directory listing if the binary isn't found.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
On Linux Unity installs as unity-editor, not Unity (macOS name).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Pulls unityci/editor from Docker Hub and pushes to ghcr.io to avoid
the 20GB cold-runner pull on every Android E2E run.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Swap e2e-android-only.yml with the GHCR mirror workflow to push
unityci/editor to ghcr.io. Will be reverted after the image is pushed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Docker requires lowercase repository names; github.repository_owner
returns 'AppsFlyerSDK' which breaks the tag step.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The docker/login-action was timing out connecting to ghcr.io.
Switching to direct docker login command.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Restore e2e-android-only.yml to its original delegate form
- Rewrite rc-e2e-android.yml to pull from GHCR instead of Docker Hub
  using game-ci/unity-builder@v4 customImage — saves ~70 min per run

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@Dani-Koza-AF Dani-Koza-AF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Copy Markdown
Contributor

@al-af al-af left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Kobikg78 Kobikg78 merged commit 5770f65 into master May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants