Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-17164

Use ENV variables for services definitions

    XMLWordPrintable

Details

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Hello!

      I very like pipelines and I want to thank the team for that useful service.

      I have a suggestion to use ENV variables for definitions section.
      I'm developing laravel project and I think that using ENV vars for services credentials would be very convenient.

      #!yml
      
      definitions:
        services:
          mysql:
            image: mysql:8
            environment:
              MYSQL_DATABASE: ${DB_DATABASE}
              MYSQL_USER: ${DB_USERNAME}
              MYSQL_PASSWORD: ${DB_PASSWORD}
              MYSQL_RANDOM_ROOT_PASSWORD: yes
      

      I know that for test env it is not critical, but I think that specifying services credentials in one place would be more convenient.

      Thanks!

      Attachments

        Activity

          People

            Unassigned Unassigned
            c7e914d2c9d8 dpayareli
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: