Skip to content

To do final 2v:

  1. Servers names
    1. road-confidential-instance-nightly-1
    2. road-confidential-instance-nightly-2
  2. AWX
    1. https://github.com/Attracs/adi-camel-additionals/blob/main/docker-compose.nightly.yml
      1. this is preparing the server fftp.
      2. container_name: hashicorp_vault-nightly
        1. (need to be removed, but in config there are some thing ssh, secret configs .. )
    2. https://github.com/Attracs/attracs-linux-playbooks/blob/master/docker/docker-camel-additionals.yml
      1. docker/docker-camel/docker-camel-nightly.yml (start the docker)
    3. docker/docker-camel/docker-camel-nightly-awx-restart.yml (optional same as b.)
      1. tasks:
        name: Restart manually, as current AWX doesn't have all the ansible modules needed
            shell: docker-compose down && docker-compose pull && docker-compose up -d --force-recreate
            args:
              chdir: "/etc/{{docker_instance}}"
        
      2. "/etc/{{docker_instance}}" is:
        1. docker/docker-camel/docker-camel-nightly/docker-compose.yml
          version: '3.0'
          services:
            adi-camel-nightly:
              image: europe-north1-docker.pkg.dev/attracs-devops/adi-container-repository/adi-camel:master
              container_name: adi-camel-nightly
              entrypoint: [ "java","-jar","/apache-camel.jar","--spring.config.location=/config/config-nightly.yml"]
              restart: always         
              volumes:
                - /etc/adi-camel/:/config/
              logging:
                driver: gcplogs
          
        2. this image is created from gcp action.

possible problems: access to docker image.