Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PoC] Add support for Jenkins #12489

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

KacperMalachowski
Copy link
Contributor

@KacperMalachowski KacperMalachowski commented Jan 2, 2025

Description

Changes proposed in this pull request:

  • Add support for Jenkins
  • Get needed env variables

Related issue(s)

https://github.tools.sap/kyma/oci-image-builder/issues/141

@kyma-bot kyma-bot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. cla: yes Indicates the PR's author has signed the CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 2, 2025
@kyma-bot kyma-bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 2, 2025
@kyma-bot kyma-bot added size/L Denotes a PR that changes 100-499 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jan 2, 2025
@Sawthis Sawthis marked this pull request as ready for review January 7, 2025 09:53
@Sawthis Sawthis requested review from neighbors-dev-bot and a team as code owners January 7, 2025 09:53
@Sawthis Sawthis requested review from akiioto and Sawthis January 7, 2025 09:53
@kyma-bot kyma-bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jan 7, 2025
@Sawthis Sawthis requested review from dekiel and gczuczy January 7, 2025 09:54
@Sawthis Sawthis changed the title Add support for Jenkins [PoC] Add support for Jenkins Jan 7, 2025
@kyma-bot

This comment has been minimized.

@kyma-bot
Copy link
Contributor

kyma-bot commented Jan 7, 2025

Plan Result

CI link

Only Outputs will be changed.
Change Result (Click me)
Changes to Outputs:
  ~ service_account_keys_cleaner                   = {
      ~ service_account_keys_cleaner_cloud_run_service = {
            id                         = "locations/europe-west4/namespaces/sap-kyma-prow/services/service-account-keys-cleaner"
          ~ metadata                   = [
              ~ {
                  ~ effective_annotations = {
                      ~ "run.googleapis.com/operation-id"   = "369f82e5-6dbc-459b-abec-413ec44fd450" -> "874ebb01-f05f-4fd8-bb59-77cb5be8938d"
                        # (5 unchanged attributes hidden)
                    }
                  ~ generation            = 146 -> 147
                  ~ resource_version      = "AAYq0ccvpMg" -> "AAYrDwAeDIk"
                    # (7 unchanged attributes hidden)
                },
            ]
            name                       = "service-account-keys-cleaner"
          ~ status                     = [
              ~ {
                  ~ latest_created_revision_name = "service-account-keys-cleaner-00146-tsj" -> "service-account-keys-cleaner-00147-wks"
                  ~ latest_ready_revision_name   = "service-account-keys-cleaner-00146-tsj" -> "service-account-keys-cleaner-00147-wks"
                  ~ observed_generation          = 146 -> 147
                  ~ traffic                      = [
                      ~ {
                          ~ revision_name   = "service-account-keys-cleaner-00146-tsj" -> "service-account-keys-cleaner-00147-wks"
                            # (4 unchanged attributes hidden)
                        },
                    ]
                    # (2 unchanged attributes hidden)
                },
            ]
            # (6 unchanged attributes hidden)
        }
        # (2 unchanged attributes hidden)
    }
  ~ service_account_keys_rotator                   = {
      ~ service_account_keys_rotator_cloud_run_service   = {
            id                         = "locations/europe-west4/namespaces/sap-kyma-prow/services/service-account-keys-rotator"
          ~ metadata                   = [
              ~ {
                  ~ effective_annotations = {
                      ~ "run.googleapis.com/operation-id"   = "20e203e0-c95f-412f-8a17-837bec38b3f3" -> "587b1feb-3a2c-4bea-bc7b-997102fc89b1"
                        # (5 unchanged attributes hidden)
                    }
                  ~ generation            = 146 -> 147
                  ~ resource_version      = "AAYq0cdJyWM" -> "AAYrDwBDjuI"
                    # (7 unchanged attributes hidden)
                },
            ]
            name                       = "service-account-keys-rotator"
          ~ status                     = [
              ~ {
                  ~ latest_created_revision_name = "service-account-keys-rotator-00146-rx2" -> "service-account-keys-rotator-00147-9cs"
                  ~ latest_ready_revision_name   = "service-account-keys-rotator-00146-rx2" -> "service-account-keys-rotator-00147-9cs"
                  ~ observed_generation          = 146 -> 147
                  ~ traffic                      = [
                      ~ {
                          ~ revision_name   = "service-account-keys-rotator-00146-rx2" -> "service-account-keys-rotator-00147-9cs"
                            # (4 unchanged attributes hidden)
                        },
                    ]
                    # (2 unchanged attributes hidden)
                },
            ]
            # (6 unchanged attributes hidden)
        }
        # (3 unchanged attributes hidden)
    }

You can apply this plan to save these new output values to the OpenTofu
state, without changing any real infrastructure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add-or-update cla: yes Indicates the PR's author has signed the CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants