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

fix: [ASSMT-476]: include Spinnaker credentialsInfo in the payload #126

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

edgarulg
Copy link
Contributor

When migrating Spinnaker pipelines into Harness, there are Spinnaker stages that uses accounts in Spinnaker but the configuration of the stage does not have the cloudProvider type behind the accountName.
To handle those cases, we are sending information about the credentials in Spinnaker in the payload to be able to determinate the cloudProvider type and migrate to the correct cloud provider.

The payload now looks like the following:

{
"credentials": [
    {
      "name": "aws-root",
      "type": "aws"
    }
  ],
  "pipelines": [
    ...pipeline definition
  ]
}

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@edgarulg edgarulg merged commit acacd53 into master Jul 17, 2024
1 check passed
@edgarulg edgarulg deleted the ASSMT-476 branch July 17, 2024 16:03
edgarulg added a commit that referenced this pull request Jul 17, 2024
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.

4 participants