Skip to content

Conversation

mdroll
Copy link
Contributor

@mdroll mdroll commented Sep 26, 2025

How to test:

Option 1: Jenkins replay

Force Jenkins to replay a build in the Deployment.class with the modified method under:
http://jenkins.localhost/job/example-apps/job/petclinic-plain/job/main/

Option 2: Local testing

  1. Pull the changes from this PR into your local scmm repo of the gitop-build-library.
  2. Modify the following Jenkinsfile to use a tag or branch:
    http://scmm.localhost/scm/repo/argocd/nginx-helm-jenkins/code/sources/main/Jenkinsfile#L12
  3. Commit the changes.
  4. Check the result in the built Argo CD repo:
    `http://scmm.localhost/scm/repo/argocd/example-apps/code/sources/main/apps/nginx-helm-jenkins/staging/generatedResources/index-nginx.yaml

You should see the generated ConfigMap:

apiVersion: v1
kind: ConfigMap
metadata:
  name: index-nginx
  namespace: example-apps-staging
data:
  index.html: |-
    <!DOCTYPE html>
    <html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
        <title>cloudogu/gitops-playground2</title>
    </head>
    <body>
    <h2>Hello cloudogu gitops playground!</h2>
    </body>
    </html>

@ThomasMichael1811 ThomasMichael1811 merged commit 3ad8905 into main Oct 7, 2025
2 checks passed
@ThomasMichael1811 ThomasMichael1811 deleted the feature/kubectl-dependency-replacement branch October 7, 2025 04:27
@schnatterer schnatterer changed the title Replaced the dependency for the kubectl call. / The functionality can be tested inside the GOP. Replace kubectl image with native implemenation Oct 7, 2025
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