File tree Expand file tree Collapse file tree 3 files changed +32
-3
lines changed Expand file tree Collapse file tree 3 files changed +32
-3
lines changed Original file line number Diff line number Diff line change 2525 - run : |
2626 PROBE_VERSION="$(python setup.py --version)"
2727 echo "SPP_PROBE_VERSION=$PROBE_VERSION" >> $GITHUB_ENV
28- - run : python setup.py sdist
29- - run : cp dist/sourceplusplus-${{ env.SPP_PROBE_VERSION }}.tar.gz e2e
30- - run : cd e2e && docker-compose up -d
28+
29+ - run : ./gradlew assembleUp
30+
3131 - name : Docker IPs
3232 run : docker inspect --format='{{.Name}} - {{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' $(docker ps -aq)
3333 - name : Set E2E_APP_HOST
Original file line number Diff line number Diff line change 11plugins {
22 id(" ru.vyarus.use-python" ) version " 2.3.0"
3+ id(" com.avast.gradle.docker-compose" )
34}
45
56python {
67 pip(" apache-skywalking:0.7.0" )
78 pip(" vertx-eventbus-client:1.0.0" )
89}
10+
11+ tasks {
12+ register<Exec >(" buildDist" ) {
13+ commandLine(" sh" , " -c" , " python setup.py sdist" )
14+ }
15+
16+ register<Copy >(" updateDockerFiles" ) {
17+ dependsOn(" buildDist" )
18+ from(" dist/" )
19+ into(" e2e/" )
20+ }
21+
22+ register(" assembleUp" ) {
23+ dependsOn(" updateDockerFiles" , " composeUp" )
24+ }
25+ getByName(" composeUp" ).mustRunAfter(" updateDockerFiles" )
26+ }
27+
28+ dockerCompose {
29+ dockerComposeWorkingDirectory.set(File (" ./e2e" ))
30+ removeVolumes.set(true )
31+ waitForTcpPorts.set(false )
32+ }
Original file line number Diff line number Diff line change 1+ pluginManagement {
2+ plugins {
3+ id ' com.avast.gradle.docker-compose' version " 0.14.9" apply false
4+ }
5+ }
You can’t perform that action at this time.
0 commit comments