mumrah commented on code in PR #17654:
URL: https://github.com/apache/kafka/pull/17654#discussion_r1825894217
##########
.github/workflows/build.yml:
##########
@@ -35,6 +35,50 @@ on:
type: boolean
jobs:
+ load-catalog:
+ runs-on: ubuntu-latest
+ name: Load Test Catalog
+ steps:
+ - name: Checkout branch
+ uses: actions/checkout@v4
+ with:
+ ref: 'test-catalog'
+ persist-credentials: false
+ fetch-depth: 100 # Needs to be large enough to ensure we can fetch
N days ago
+
+ - name: Checkout catalog at earlier date
+ run: |
+ SHA=$(git rev-list -1 --before 7.days.ago origin/test-catalog)
+ echo $SHA
+ git switch --detach $SHA
+
+ - name: Checkout trunk
+ uses: actions/checkout@v4
+ with:
+ persist-credentials: false
+ path: trunk
+
+ - name: Setup Python
+ uses: ./trunk/.github/actions/setup-python
Review Comment:
Ok, looks like this worked. `test-catalog` is now checked out into its own
directory and the main repo is checked out in the usual working directory.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]