Hello , everybody here.
I’m trying to analize this great project and how could I migrate from drone a simple pipeline.
The fact is I’m trying to read some pipeline documentations but I can not see how to lauch docker images than can comunicate themself in paralel with usual docker parameters (priveleged,shm_mem) defined as services like in docker-composer, and after in each pipeline step I will conect with these services to do test or any other thing.
Supose this use case testing a webapp previously built and deployed on myregistry, I need test in this way like defined in this drone pipeline.
kind: pipeline type: docker name: default services: - name: database_test_endpoint pull: always image: myregistry/mydatabase:0.1 privileged: true shm_size: 2g ports: - 1234 environment: DB_ENV: false DB_ENV2: ok DB_ENV3: supervar - name: frontent_web pull: always image: myregistry/myfrontend_web:0.1 ports: - 80 - 443 environment: WEB_DB_BACKEND_HOST: database_test_endpoint WEB_DB_BACKEND_PORT: 1234 steps: - name: check_images_ok image: alpine commands: - ping -c 4 database_test_endpoint - ping -c 4 frontent_web - name: check_webapp_ok image: myregistry/alpine-with-curl commands: - curl -k 'https://frontent_web:443/' - name: check_webapp_api image: myregistry/alpine-with-curl commands: - curl -k 'https://frontent_web:443/myapi/'
How could I trigger the same images inside concouse pipelines/jobs/resources? Could you show me examples with concouse syntax similar to this drone pipeline?