dongjoon-hyun opened a new pull request, #653:
URL: https://github.com/apache/spark-kubernetes-operator/pull/653

   ### What changes were proposed in this pull request?
   
   This PR replaces the `script: kubectl apply -f $FILE_NAME` pattern with the 
native chainsaw `apply` operation in four e2e chainsaw tests:
   
   - `tests/e2e/driver-start-timeout/chainsaw-test.yaml`
   - `tests/e2e/resource-retain-on-failure/chainsaw-test.yaml`
   - `tests/e2e/resource-retain-duration/chainsaw-test.yaml`
   - `tests/e2e/state-transition/chainsaw-test.yaml` (two occurrences)
   
   Before:
   ```yaml
   - script:
       env:
         - name: FILE_NAME
           value: ($APPLICATION_FILE_NAME)
       content: kubectl apply -f $FILE_NAME
   ```
   
   After:
   ```yaml
   - apply:
       file: ($APPLICATION_FILE_NAME)
   ```
   
   ### Why are the changes needed?
   
   Other e2e tests in the same directory (`python`, `spark-versions`, 
`resource-selector`, `watched-namespaces`) already use the native chainsaw 
`apply` operator. Aligning the remaining tests with this pattern restores 
consistency, removes the `script.env` indirection, and lets chainsaw track 
applied resources for better lifecycle handling and diagnostics.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   Pass the CIs.
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Generated-by: Claude Code (Opus 4.7)


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