Skip to content

Commit 9138d8e

Browse files
committed
Remove heredoc indentation for GitHub Actions compatibility
1 parent 9336907 commit 9138d8e

9 files changed

Lines changed: 32 additions & 32 deletions

.github/workflows/install-db-batched.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ jobs:
6565
chmod 600 ~/.ssh/id_rsa_$HOST
6666
6767
if ssh -i ~/.ssh/id_rsa_$HOST -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=30 "${SSH_USER}@${HOST}" << 'EOF'
68-
cd /opt/appdynamics/appdsmartagent
69-
sudo ./smartagentctl install db
70-
EOF
68+
cd /opt/appdynamics/appdsmartagent
69+
sudo ./smartagentctl install db
70+
EOF
7171
then
7272
echo "✅ Completed DB agent installation on $HOST"
7373
else

.github/workflows/install-java-batched.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ jobs:
6565
chmod 600 ~/.ssh/id_rsa_$HOST
6666
6767
if ssh -i ~/.ssh/id_rsa_$HOST -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=30 "${SSH_USER}@${HOST}" << 'EOF'
68-
cd /opt/appdynamics/appdsmartagent
69-
sudo ./smartagentctl install java
70-
EOF
68+
cd /opt/appdynamics/appdsmartagent
69+
sudo ./smartagentctl install java
70+
EOF
7171
then
7272
echo "✅ Completed Java agent installation on $HOST"
7373
else

.github/workflows/install-machine-batched.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ jobs:
6565
chmod 600 ~/.ssh/id_rsa_$HOST
6666
6767
if ssh -i ~/.ssh/id_rsa_$HOST -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=30 "${SSH_USER}@${HOST}" << 'EOF'
68-
cd /opt/appdynamics/appdsmartagent
69-
sudo ./smartagentctl install machine
70-
EOF
68+
cd /opt/appdynamics/appdsmartagent
69+
sudo ./smartagentctl install machine
70+
EOF
7171
then
7272
echo "✅ Completed Machine agent installation on $HOST"
7373
else

.github/workflows/install-node-batched.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ jobs:
8585
-o UserKnownHostsFile=/dev/null \
8686
-o ConnectTimeout=30 \
8787
"${SSH_USER}@${HOST}" << 'EOF'
88-
cd /opt/appdynamics/appdsmartagent
89-
sudo ./smartagentctl install node
90-
EOF
88+
cd /opt/appdynamics/appdsmartagent
89+
sudo ./smartagentctl install node
90+
EOF
9191
then
9292
echo "✅ Completed Node agent installation on $HOST"
9393
else

.github/workflows/stop-clean-smartagent-batched.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,14 @@ jobs:
6565
chmod 600 ~/.ssh/id_rsa_$HOST
6666
6767
if ssh -i ~/.ssh/id_rsa_$HOST -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=30 "${SSH_USER}@${HOST}" << 'EOF'
68-
cd /opt/appdynamics/appdsmartagent
69-
70-
# Stop Smart Agent
71-
sudo ./smartagentctl stop
72-
73-
# Clean environment and purge data
74-
sudo ./smartagentctl clean
75-
EOF
68+
cd /opt/appdynamics/appdsmartagent
69+
70+
# Stop Smart Agent
71+
sudo ./smartagentctl stop
72+
73+
# Clean environment and purge data
74+
sudo ./smartagentctl clean
75+
EOF
7676
then
7777
echo "✅ Completed stop and clean on $HOST"
7878
else

.github/workflows/uninstall-db-batched.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ jobs:
6565
chmod 600 ~/.ssh/id_rsa_$HOST
6666
6767
if ssh -i ~/.ssh/id_rsa_$HOST -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=30 "${SSH_USER}@${HOST}" << 'EOF'
68-
cd /opt/appdynamics/appdsmartagent
69-
sudo ./smartagentctl uninstall db
70-
EOF
68+
cd /opt/appdynamics/appdsmartagent
69+
sudo ./smartagentctl uninstall db
70+
EOF
7171
then
7272
echo "✅ Completed DB agent uninstall on $HOST"
7373
else

.github/workflows/uninstall-java-batched.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ jobs:
6565
chmod 600 ~/.ssh/id_rsa_$HOST
6666
6767
if ssh -i ~/.ssh/id_rsa_$HOST -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=30 "${SSH_USER}@${HOST}" << 'EOF'
68-
cd /opt/appdynamics/appdsmartagent
69-
sudo ./smartagentctl uninstall java
70-
EOF
68+
cd /opt/appdynamics/appdsmartagent
69+
sudo ./smartagentctl uninstall java
70+
EOF
7171
then
7272
echo "✅ Completed Java agent uninstall on $HOST"
7373
else

.github/workflows/uninstall-machine-batched.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ jobs:
6565
chmod 600 ~/.ssh/id_rsa_$HOST
6666
6767
if ssh -i ~/.ssh/id_rsa_$HOST -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=30 "${SSH_USER}@${HOST}" << 'EOF'
68-
cd /opt/appdynamics/appdsmartagent
69-
sudo ./smartagentctl uninstall machine
70-
EOF
68+
cd /opt/appdynamics/appdsmartagent
69+
sudo ./smartagentctl uninstall machine
70+
EOF
7171
then
7272
echo "✅ Completed Machine agent uninstall on $HOST"
7373
else

.github/workflows/uninstall-node-batched.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ jobs:
6565
chmod 600 ~/.ssh/id_rsa_$HOST
6666
6767
if ssh -i ~/.ssh/id_rsa_$HOST -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=30 "${SSH_USER}@${HOST}" << 'EOF'
68-
cd /opt/appdynamics/appdsmartagent
69-
sudo ./smartagentctl uninstall node
70-
EOF
68+
cd /opt/appdynamics/appdsmartagent
69+
sudo ./smartagentctl uninstall node
70+
EOF
7171
then
7272
echo "✅ Completed Node agent uninstall on $HOST"
7373
else

0 commit comments

Comments
 (0)