mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Merge pull request #12612 from appwrite/revert/disable-build-cache
Revert disable build cache
This commit is contained in:
3 files changed
+4
-5
No files matched your search
@@ -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
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user