File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -136,6 +136,9 @@ if [[ "${BUILDKITE_AGENT_ENABLE_GIT_MIRRORS_EXPERIMENT}" == "true" ]] ; then
136
136
if [ " ${BUILDKITE_ENABLE_INSTANCE_STORAGE:- false} " == " true" ]
137
137
then
138
138
BUILDKITE_AGENT_GIT_MIRRORS_PATH=" /mnt/ephemeral/git-mirrors"
139
+
140
+ mkdir -p " ${BUILDKITE_AGENT_GIT_MIRRORS_PATH} "
141
+ chown buildkite-agent: " ${BUILDKITE_AGENT_GIT_MIRRORS_PATH} "
139
142
else
140
143
BUILDKITE_AGENT_GIT_MIRRORS_PATH=" /var/lib/buildkite-agent/git-mirrors"
141
144
fi
144
147
BUILDKITE_AGENT_BUILD_PATH=" /var/lib/buildkite-agent/builds"
145
148
if [ " ${BUILDKITE_ENABLE_INSTANCE_STORAGE:- false} " == " true" ]
146
149
then
147
- BUILDKITE_AGENT_BUILD_PATH=" /mnt/ephemeral/builds"
150
+ BUILDKITE_AGENT_BUILD_PATH=" /mnt/ephemeral/builds"
151
+
152
+ mkdir -p " ${BUILDKITE_AGENT_BUILD_PATH} "
153
+ chown buildkite-agent: " ${BUILDKITE_AGENT_BUILD_PATH} "
148
154
fi
149
155
150
156
BUILDKITE_AGENT_TOKEN=" $( aws ssm get-parameter --name " ${BUILDKITE_AGENT_TOKEN_PATH} " --with-decryption --query Parameter.Value --output text) "
You can’t perform that action at this time.
0 commit comments