Skip to content

Commit be157f4

Browse files
committed
Remove lifecycled
1 parent 3fca7f3 commit be157f4

File tree

7 files changed

+0
-69
lines changed

7 files changed

+0
-69
lines changed

goss.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@ service:
4444
enabled: true
4545
running: true
4646

47-
lifecycled:
48-
enabled: true
49-
running: true
50-
5147
sshd:
5248
enabled: true
5349
running: true
@@ -93,9 +89,6 @@ process:
9389
buildkite-agent:
9490
running: true
9591

96-
lifecycled:
97-
running: true
98-
9992
sshd:
10093
running: true
10194

packer/linux/buildkite-ami.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,6 @@
4545
"type": "shell",
4646
"script": "scripts/install-cloudwatch-agent.sh"
4747
},
48-
{
49-
"type": "shell",
50-
"script": "scripts/install-lifecycled.sh"
51-
},
5248
{
5349
"type": "shell",
5450
"script": "scripts/install-docker.sh"

packer/linux/conf/bin/bk-install-elastic-stack.sh

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -202,15 +202,6 @@ if [[ -n "${BUILDKITE_ELASTIC_BOOTSTRAP_SCRIPT}" ]] ; then
202202
rm /tmp/elastic_bootstrap
203203
fi
204204

205-
cat << EOF > /etc/lifecycled
206-
AWS_REGION=${AWS_REGION}
207-
LIFECYCLED_HANDLER=/usr/local/bin/stop-agent-gracefully
208-
LIFECYCLED_CLOUDWATCH_GROUP=/buildkite/lifecycled
209-
EOF
210-
211-
systemctl enable lifecycled.service
212-
systemctl start lifecycled
213-
214205
# wait for docker to start
215206
next_wait_time=0
216207
until docker ps || [ $next_wait_time -eq 5 ]; do

packer/linux/scripts/install-lifecycled.sh

Lines changed: 0 additions & 22 deletions
This file was deleted.

packer/windows/buildkite-ami.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,6 @@
4444
"type": "powershell",
4545
"script": "scripts/install-cloudwatch-agent.ps1"
4646
},
47-
{
48-
"type": "powershell",
49-
"script": "scripts/install-lifecycled.ps1"
50-
},
5147
{
5248
"type": "powershell",
5349
"script": "scripts/install-docker.ps1"

packer/windows/conf/bin/bk-install-elastic-stack.ps1

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,6 @@ disconnect-after-job=${Env:BUILDKITE_TERMINATE_INSTANCE_AFTER_JOB}
139139
"@
140140
$OFS=" "
141141

142-
nssm set lifecycled AppEnvironmentExtra :AWS_REGION=$Env:AWS_REGION
143-
nssm set lifecycled AppEnvironmentExtra +LIFECYCLED_HANDLER="C:\buildkite-agent\bin\stop-agent-gracefully.ps1"
144-
Restart-Service lifecycled
145-
146142
# wait for docker to start
147143
$next_wait_time=0
148144
do {

packer/windows/scripts/install-lifecycled.ps1

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)