blob: 2c02ed166effacd6d8fc42b33f5fa4caadb09a15 [file] [log] [blame]
Bartek Grzybowski7a1612e2020-03-31 07:04:53 -07001---
2- project:
3 name: integration-docker-compose
Andrew Grimbergfc7a9bb2023-05-03 09:20:21 -07004 project-name: "integration"
5 project: "integration"
Bartek Grzybowski7a1612e2020-03-31 07:04:53 -07006 stream:
Andrew Grimbergfc7a9bb2023-05-03 09:20:21 -07007 - "master":
8 branch: "master"
Bartek Grzybowski7a1612e2020-03-31 07:04:53 -07009 jobs:
Bartek Grzybowski59083542020-04-09 06:35:50 -070010 - integration-docker-compose-verify
Bartek Grzybowski7a1612e2020-03-31 07:04:53 -070011 subproject:
Andrew Grimbergfc7a9bb2023-05-03 09:20:21 -070012 - "netconf-pnp-simulator":
13 pattern: "test/mocks/netconf-pnp-simulator/modules/**"
14 docker_root: "test/mocks/netconf-pnp-simulator/modules"
15 netconf_sim_service_name: "netconf-pnp-simulator"
Bartek Grzybowski2d969782020-04-06 13:14:22 -070016 script: |
17 #!/bin/bash
18 cd $DOCKER_ROOT
19 docker-compose up -d
Bartek Grzybowski98e4bff2020-04-03 02:54:16 -070020 post_script: !include-raw-escape: netconf-pnp-simulator-verify.sh
Andrew Grimbergfc7a9bb2023-05-03 09:20:21 -070021 - "emssimulator-swm-netconf":
22 pattern: "test/mocks/emssimulator/swm-netconf/**"
23 docker_root: "test/mocks/emssimulator/swm-netconf"
24 netconf_sim_service_name: "ems-netconf-swm"
Bartek Grzybowski2d969782020-04-06 13:14:22 -070025 script: |
26 #!/bin/bash
27 cd $DOCKER_ROOT
28 docker-compose up -d
Bartek Grzybowski4d63be52020-04-02 07:40:59 -070029 post_script: !include-raw-escape: netconf-pnp-simulator-verify.sh
Andrew Grimbergfc7a9bb2023-05-03 09:20:21 -070030 - "pmsh-pnf-sim":
31 pattern: "test/mocks/pmsh-pnf-sim/docker-compose/**"
32 docker_root: "test/mocks/pmsh-pnf-sim/docker-compose"
33 netconf_sim_service_name: "netopeer2"
Bartek Grzybowski2d969782020-04-06 13:14:22 -070034 script: |
35 #!/bin/bash
36 cd $DOCKER_ROOT
37 docker-compose up -d
Bartek Grzybowskic5744392020-04-03 03:47:09 -070038 post_script: !include-raw-escape: netconf-pnp-simulator-verify.sh
Andrew Grimbergfc7a9bb2023-05-03 09:20:21 -070039 - "datafilecollector-testharness":
40 pattern: "test/mocks/datafilecollector-testharness/**"
41 docker_root: "test/mocks/datafilecollector-testharness/simulator-group"
Bartek Grzybowski2d969782020-04-06 13:14:22 -070042 script: |
43 #!/bin/bash
44 cd $DOCKER_ROOT
45 ./prepare-images.sh
46 ./docker-compose-setup.sh
Andrew Grimbergfc7a9bb2023-05-03 09:20:21 -070047 - "prov-mns-provider":
48 pattern: "test/mocks/prov-mns-provider/**"
49 docker_root: "test/mocks/prov-mns-provider"
Bartek Grzybowskie78cbde2020-04-10 04:44:07 -070050 script: |
51 #!/bin/bash
52 cd $DOCKER_ROOT
53 docker build . -t prov-mns-provider
54 docker-compose up -d
Bartek Grzybowski16ee2ab2020-04-15 05:54:56 -070055 cd src
56 tox