Skip to content

Conversation

@kevinjqliu
Copy link
Contributor

Rationale for this change

This PR optimizes the integration test workflow by adding Docker layer caching. The Spark and Hive images are pre-built and cached using GitHub Actions' built-in cache, significantly reducing build times on subsequent runs.

Notes

  • Uses type=gha cache which stores layers in GitHub's built-in cache service
  • No external registry or secrets required
  • Works with forks (can read cache from base repo)

Are these changes tested?

Are there any user-facing changes?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

same logic, just reordered

ARG ICEBERG_VERSION=1.10.1
ARG ICEBERG_SPARK_RUNTIME_VERSION=4.0_2.13
ARG HADOOP_VERSION=3.4.1
ARG SCALA_VERSION=2.13
Copy link
Contributor Author

Choose a reason for hiding this comment

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

unreferenced, so removing

Copy link
Contributor Author

Choose a reason for hiding this comment

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

same logic, just reordered

Comment on lines +97 to +98
cache-from: type=gha,scope=spark
cache-to: type=gha,mode=max,scope=spark
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@kevinjqliu
Copy link
Contributor Author

the docker image cache is negligible compare to the time the integration test takes...

i'll just create a separate pr with the Dockerfile and docker-compose file improvements

@kevinjqliu kevinjqliu closed this Jan 20, 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.

1 participant