Skip to content

Commit 210d3fa

Browse files
committed
Several fixes
1 parent 480b725 commit 210d3fa

File tree

6 files changed

+27
-24
lines changed

6 files changed

+27
-24
lines changed

docker-compose.yml

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,7 @@ services:
1717
- SQL_SERVER_USER=talendsam
1818
- SQL_SERVER_PASSWORD=talendsam1234
1919
- TALEND_SAM_USER_PASSWORD=HeyHoLetsGO!
20-
- TALEND_ADMIN_USER_PASSWORD=WeAreGoingToIbiza
21-
healthcheck:
22-
test: ["CMD", "curl", "-f", "http://localhost:8040/services"]
23-
interval: 30s
24-
timeout: 10s
25-
retries: 5
20+
- TALEND_ADMIN_USER_PASSWORD=WeAreGoingToIbiza
2621

2722
serviceruntime01:
2823
image: paultegelaar/talend74service:20201015_1726-V7.4.1M3
@@ -42,11 +37,6 @@ services:
4237
- TALEND_SAM_USER_PASSWORD=HeyHoLetsGO!
4338
- TALEND_ADMIN_USER_PASSWORD=WeAreGoingToIbiza
4439
- START_DELAY=15
45-
healthcheck:
46-
test: ["CMD", "curl", "-f", "http://localhost:8043/services"]
47-
interval: 30s
48-
timeout: 10s
49-
retries: 5
5040

5141
processruntime01:
5242
image: paultegelaar/talend74process:20201015_1726-V7.4.1M3
@@ -66,11 +56,6 @@ services:
6656
- TALEND_SAM_USER_PASSWORD=HeyHoLetsGO!
6757
- TALEND_ADMIN_USER_PASSWORD=WeAreGoingToIbiza
6858
- START_DELAY=30
69-
healthcheck:
70-
test: ["CMD", "curl", "-f", "http://localhost:8042/services"]
71-
interval: 30s
72-
timeout: 10s
73-
retries: 5
7459

7560
apiruntime01:
7661
image: paultegelaar/talend74api:20201015_1726-V7.4.1M3
@@ -90,12 +75,7 @@ services:
9075
- TALEND_SAM_USER_PASSWORD=HeyHoLetsGO!
9176
- TALEND_ADMIN_USER_PASSWORD=WeAreGoingToIbiza
9277
- START_DELAY=30
93-
healthcheck:
94-
test: ["CMD", "curl", "-f", "http://localhost:8041/services"]
95-
interval: 30s
96-
timeout: 10s
97-
retries: 5
98-
78+
9979
networks:
10080
talend_network:
10181
driver: bridge

talend-infra-sqlserver/src/main/assembly/talend-deps.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<assembly>
2-
<id>liquid</id>
2+
<id>talend-infra</id>
33
<formats>
44
<format>zip</format>
55
</formats>

talend-runtime-connected/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ COPY scripts/configureSAM.sh $TALEND_CONTAINER_HOME/scripts
4343
COPY scripts/addUsers.sh $TALEND_CONTAINER_HOME/scripts
4444
COPY scripts/configureAndStartTalend.sh /opt/scripts
4545
COPY scripts/wait-centos.sh /opt/scripts
46+
COPY scripts/copyConfigsAndKars.sh /opt/scripts
4647
COPY scripts/startAndSwitchPorts.sh /opt/scripts
4748
COPY scripts/setenv $TALEND_CONTAINER_HOME/bin
4849

talend-runtime-connected/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<parent>
44
<groupId>nl.paultegelaar.talend.docker</groupId>
55
<artifactId>talend74docker</artifactId>
6-
<version>0.0.1-SNAPSHOT</version>
6+
<version>0.0.2-SNAPSHOT</version>
77
</parent>
88
<artifactId>talend-runtime-connected</artifactId>
99
<packaging>pom</packaging>

talend-runtime-connected/scripts/configureAndStartTalend.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ echo "Stopping runtime"
2020
./trun stop
2121
sleep 30
2222
echo "Stopped."
23+
echo "Deploying Talend logic."
24+
/opt/scripts/copyConfigsAndKars.sh
25+
echo "Deployed Talend logic."
2326
echo "Randomize passwords"
2427
sed -i "s/^[#]*\s*tadmin=.*/tadmin=`pwgen -Bs1 36`,_g_:admingroup,sl_admin,ssh/" $TALEND_CONTAINER_HOME/etc/users.properties
2528
sed -i "s/^[#]*\s*karaf =.*/karaf = `pwgen -Bs1 36`,_g_:admingroup/" $TALEND_CONTAINER_HOME/etc/users.properties
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/sh
2+
3+
#Unzip deployment package
4+
unzip /opt/talend.zip -d /opt 2>/dev/null
5+
6+
#Move configs silently
7+
mv /opt/talend/config/*.cfg $TALEND_CONTAINER_HOME/etc 2>/dev/null
8+
9+
#Sleep after configs
10+
sleep 2
11+
12+
#Move jars silently
13+
mv /opt/talend/kars/*.jar $TALEND_CONTAINER_HOME/deploy 2>/dev/null
14+
15+
#Sleep after jars
16+
sleep 2
17+
18+
#Move kars silently
19+
mv /opt/talend/kars/*.kar $TALEND_CONTAINER_HOME/deploy 2>/dev/null

0 commit comments

Comments
 (0)