Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-20123

camel-test-infra: externalize container information

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Novice

    Description

      Currently, our test-infra code refers to containers in code. For instance:

      public static final String DEFAULT_ELASTIC_SEARCH_CONTAINER = "docker.elastic.co/elasticsearch/elasticsearch:8.11.1";
      
      ...
      ElasticsearchContainer elasticsearchContainer = new ElasticsearchContainer(DEFAULT_ELASTIC_SEARCH_CONTAINER)
      

      The challenge with this approach is that we have to verify file by file if there is an upgrade to the containers.

      Ideally, we should keep this information in a properties file named `containers.properties`. This could allow us to automate checking if there is an updated version of those containers and reduce the maintenance effort.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            orpiske Otavio Rodolfo Piske
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment