Uploaded image for project: 'GPII - Global Public Inclusive Infrastructure'
  1. GPII - Global Public Inclusive Infrastructure
  2. GPII-1884

Changes in how components are configured broke CI/CD

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      This is the current configuration used in production

      {
          "typeName": "rawPreferencesServer.production",
          "options": {
              "gradeNames": ["autoInit", "fluid.littleComponent"],
              "components": {
                  "server": {
                      "type": "kettle.server",
                      "options": {
                          "logging": false,
                          "components": {
                              "rawPreferencesServer": {
                                  "type": "gpii.rawPreferencesServer",
                                  "options": {
                                      "rawPreferencesSourceUrl": "http://couchdb:5984/preferences/%userToken"
                                  }
                              }
                          }
                      }
                  }
              }
          },
          "includes": [
              "./base.json"
          ]
      }
      

      It's modified by the preferences-server Ansible role: https://github.com/gpii-ops/ansible-preferences-server/blob/master/tasks/deploy.yml

      It seems the location and format has been changed recently: https://github.com/GPII/universal/blob/master/gpii/node_modules/rawPreferencesServer/configs/gpii.rawPreferencesServer.production.config.json

      The Ansible roles needs to be updated to reflect these changes.

        Attachments

          Activity

            People

            • Assignee:
              kasper Kasper Markus
              Reporter:
              gtirloni Giovanni Tirloni
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: