Uploaded image for project: 'MariaDB Foundation Development'
  1. MariaDB Foundation Development
  2. MDBF-876

Remove BuildBot configuration code needed for systemd setup

    XMLWordPrintable

Details

    Description

      Previously when Production was running on systemd services, we couldn't use the .env files defined in the project tree because they were specifically designed for usage in docker-compose.

      This led to hard coding variable defaults in the buildbot code, in the form of os.getenv(#env_variable_for_containers#, default=#default_for_systemd#)

      In this task:

      • > switch to a fail proof approach of loading variables using os.environ which will raise a key error exception if the environment variable is not defined
        -> adapt the GitHub CI script validate_masters to load the environment variables for each environment << dev , prod >>
        -> remove "systemd" approach of loading PORTS for masters.

      Attachments

        Issue Links

          Activity

            People

              rvarzaru Varzaru Razvan-Liviu
              rvarzaru Varzaru Razvan-Liviu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0d
                  0d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 5h
                  5h