Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-2922

Fix Datadog pipeline's deployment

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      https://ci.jenkins.io/blue/organizations/jenkins/Infra%2Fdatadog/detail/master/28/pipeline show that the terraform projet is broken.

      The PR https://github.com/jenkins-infra/datadog/pull/27 indicates that changes had to be done manually in datadog's UI, and the deployment through Infra as code is broken.

      We have to fix this. Might be done as part of INFRA-2921

        Attachments

          Activity

          Hide
          dduportal Damien Duportal added a comment - - edited

          After some researches and informations from Olivier Vernin:

          • The staging account for Data dog is limited on some resources, which make it hard to use for a "from scratch terraform apply": proposal of removing any steps related to the staging (and removing the associated credentials from ci.jenkins.io)
            • Pipeline: Removing most of the stages related to "staging" datadog
            • Pipeline: Removing all the conditionals and credentials references associated to "staging"
          • The API key use by ci.jenkins.io for this job (`jenkins-prod-dd-api-key`) was invalid: it has been set to the API key named "ci.jenkins.io" in Datadog's API keys list
          • Switching to using Kubernetes pods for faster and cheaper builds
            • Add a kubernetes agent based on the official hashicorp's terraform image as we are constrained to terraform 0.11.8
            • Install make and core-utils during the build to get the expected build tools
            • Cleanup scripts/terraform (to allow using plain terraform CLI)
            • Update Makefile to these changes
            • Add/update version constraints for terraform 0.11.8 and datadog's terraform module latest 1.x
          Show
          dduportal Damien Duportal added a comment - - edited After some researches and informations from Olivier Vernin : The staging account for Data dog is limited on some resources, which make it hard to use for a "from scratch terraform apply": proposal of removing any steps related to the staging (and removing the associated credentials from ci.jenkins.io) Pipeline: Removing most of the stages related to "staging" datadog Pipeline: Removing all the conditionals and credentials references associated to "staging" The API key use by ci.jenkins.io for this job (`jenkins-prod-dd-api-key`) was invalid: it has been set to the API key named "ci.jenkins.io" in Datadog's API keys list Switching to using Kubernetes pods for faster and cheaper builds Add a kubernetes agent based on the official hashicorp's terraform image as we are constrained to terraform 0.11.8 Install make and core-utils during the build to get the expected build tools Cleanup scripts/terraform (to allow using plain terraform CLI) Update Makefile to these changes Add/update version constraints for terraform 0.11.8 and datadog's terraform module latest 1.x
          Show
          dduportal Damien Duportal added a comment - PR opened: https://github.com/jenkins-infra/datadog/pull/28
          Hide
          dduportal Damien Duportal added a comment -

          Second PR to upgrade terraform and allow to have a working pipeline: https://github.com/jenkins-infra/datadog/pull/29

          Show
          dduportal Damien Duportal added a comment - Second PR to upgrade terraform and allow to have a working pipeline: https://github.com/jenkins-infra/datadog/pull/29
          Hide
          dduportal Damien Duportal added a comment -

          Principal branch renamed to `main` : end to end test on a build, and a hotfix pushed directly on master. Looks good and green!

          Show
          dduportal Damien Duportal added a comment - Principal branch renamed to `main` : end to end test on a build, and a hotfix pushed directly on master. Looks good and green!

            People

            Assignee:
            dduportal Damien Duportal
            Reporter:
            dduportal Damien Duportal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: