adoroszlai opened a new pull request, #9:
URL: https://github.com/apache/ozone-docker-testkrb5/pull/9

   ## What changes were proposed in this pull request?
   
   `ozone-testkrb5` workflow similar to the one for `ozone-runner`: publish 
multi-platform image to GitHub Container Registry.
   
   Since this is an unsecure KDC only for testing, I propose to publish future 
updates only to GitHub Container Registry.  Existing image in Docker Hub needs 
to be retained for use by older Ozone versions.
   
   https://issues.apache.org/jira/browse/HDDS-11632
   
   ## How was this patch tested?
   
   Workflow runs:
   - 
[build](https://github.com/adoroszlai/ozone-docker-testkrb5/actions/runs/11725544027/job/32662099802)
   - 
[tag](https://github.com/adoroszlai/ozone-docker-testkrb5/actions/runs/11725601055/job/32662307834)
   
   Verified the 
[image](https://github.com/adoroszlai/ozone-docker-testkrb5/pkgs/container/ozone-testkrb5/302019868?tag=test-HDDS-11632)
 published by executing a subset of `ozonesecure` tests.
   
   ```diff
   diff --git hadoop-ozone/dist/pom.xml hadoop-ozone/dist/pom.xml
   index b0fd526b80..ca01956939 100644
   --- hadoop-ozone/dist/pom.xml
   +++ hadoop-ozone/dist/pom.xml
   @@ -29,7 +29,7 @@
        <file.encoding>UTF-8</file.encoding>
        <downloadSources>true</downloadSources>
        
<docker.ozone-runner.version>20241104-jdk17-1</docker.ozone-runner.version>
   -    
<docker.ozone-testkr5b.image>apache/ozone-testkrb5:20230318-1</docker.ozone-testkr5b.image>
   +    
<docker.ozone-testkr5b.image>ghcr.io/adoroszlai/ozone-testkrb5:test-HDDS-11632</docker.ozone-testkr5b.image>
        <maven.test.skip>true</maven.test.skip> <!-- no tests in this module so 
far -->
      </properties>
    
   ```
   
   ```bash
   $ hadoop-ozone/dist/src/main/keytabs/update-keytabs.sh
   ...
   $ mvn -DskipTests -DskipShade clean package
   $ cd hadoop-ozone/dist/target/ozone-2.0.0-SNAPSHOT/compose/ozonesecure
   # edit test.sh, remove most tests
   $ ./test.sh
   ...
   Kinit :: Kinit test user                                              | PASS 
|
   1 test, 1 passed, 0 failed
   ...
   Basic Freon smoketest                                                 | PASS 
|
   ...
   2 tests, 2 passed, 0 failed
   ```


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to