Merge pull request #12612 from appwrite/revert/disable-build-cache

Revert disable build cache
This commit is contained in:
Torsten Dittmann authored and GitHub committed 2026-06-19 14:02:41 +04:00
commit 13058ab045
3 files changed
+4 -5

No files matched your search

+1 -1
View File
@@ -988,7 +988,7 @@ $hostPath = rtrim($this->getParam('hostPath', ''), '/');
<<: *x-logging
restart: unless-stopped
stop_signal: SIGINT
image: openruntimes/executor:0.24.1
image: openruntimes/executor:0.25.1
networks:
- appwrite
- runtimes
+1 -1
View File
@@ -1249,7 +1249,7 @@ services:
hostname: exc1
<<: *x-logging
stop_signal: SIGINT
image: openruntimes/executor:0.24.1
image: openruntimes/executor:0.25.1
restart: unless-stopped
networks:
- appwrite
@@ -704,7 +704,7 @@ class Builds extends Action
$span = Span::current();
Co::join([
Co\go(function () use ($executor, &$response, $project, $deployment, $source, $resource, $runtime, $vars, $command, $cpus, $memory, $timeout, &$err, $version, $span) {
Co\go(function () use ($executor, &$response, $project, $deployment, $source, $resource, $runtime, $vars, $command, $cacheKey, $cpus, $memory, $timeout, &$err, $version, $span) {
try {
if ($version === 'v2') {
$command = 'tar -zxf /tmp/code.tar.gz -C /usr/code && cd /usr/local/src/ && ./build.sh';
@@ -732,8 +732,7 @@ class Builds extends Action
variables: $vars,
command: $command,
outputDirectory: $outputDirectory ?? '',
// temporarily disable build cache
// cacheKey: $cacheKey
cacheKey: $cacheKey
);
} catch (ExecutorTimeout $error) {