• <legend id='cPLuU'><style id='cPLuU'><dir id='cPLuU'><q id='cPLuU'></q></dir></style></legend>
    <tfoot id='cPLuU'></tfoot>

      <bdo id='cPLuU'></bdo><ul id='cPLuU'></ul>

      <small id='cPLuU'></small><noframes id='cPLuU'>

        <i id='cPLuU'><tr id='cPLuU'><dt id='cPLuU'><q id='cPLuU'><span id='cPLuU'><b id='cPLuU'><form id='cPLuU'><ins id='cPLuU'></ins><ul id='cPLuU'></ul><sub id='cPLuU'></sub></form><legend id='cPLuU'></legend><bdo id='cPLuU'><pre id='cPLuU'><center id='cPLuU'></center></pre></bdo></b><th id='cPLuU'></th></span></q></dt></tr></i><div id='cPLuU'><tfoot id='cPLuU'></tfoot><dl id='cPLuU'><fieldset id='cPLuU'></fieldset></dl></div>

        GitLab-CI Multi Runner php 作曲家缓存

        时间:2023-12-01

              <tfoot id='bS6xR'></tfoot>
              <i id='bS6xR'><tr id='bS6xR'><dt id='bS6xR'><q id='bS6xR'><span id='bS6xR'><b id='bS6xR'><form id='bS6xR'><ins id='bS6xR'></ins><ul id='bS6xR'></ul><sub id='bS6xR'></sub></form><legend id='bS6xR'></legend><bdo id='bS6xR'><pre id='bS6xR'><center id='bS6xR'></center></pre></bdo></b><th id='bS6xR'></th></span></q></dt></tr></i><div id='bS6xR'><tfoot id='bS6xR'></tfoot><dl id='bS6xR'><fieldset id='bS6xR'></fieldset></dl></div>
              • <bdo id='bS6xR'></bdo><ul id='bS6xR'></ul>

                <small id='bS6xR'></small><noframes id='bS6xR'>

                • <legend id='bS6xR'><style id='bS6xR'><dir id='bS6xR'><q id='bS6xR'></q></dir></style></legend>

                    <tbody id='bS6xR'></tbody>

                • 本文介绍了GitLab-CI Multi Runner php 作曲家缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我将 gitlab-ci-multi-runner 与 docker 容器一起使用.一切都很顺利,但是 docker 容器不会保留 composer 缓存,因此在每次运行时 composer 都会一次又一次地下载依赖项,这需要很多时间.有没有办法配置 gitlab-ci-runner docker 容器以保持 composer 缓存或在 composer 缓存的每次运行时挂载一个卷保留?

                  I'm using gitlab-ci-multi-runner with docker containers. Everything is going fine, but docker containers don't keep the composer cache so in every run composer downloads dependencies again and again, which takes a lot of time. Is there any way to configure gitlab-ci-runner docker container to keep the composer cache or mount a volume on each run where the composer cache is kept?

                  推荐答案

                  您可以修改 composer 缓存路径并将内容写入 docker 卷.

                  You could modify the composer cache path and write the stuff to a docker volume.

                  该存储是持久的,可以跨容器共享.

                  That storage is persistent and can be shared across containers.

                  参考:

                  • https://gitlab.com/gitlab-org/gitlab-runner/blob/master/docs/configuration/advanced-configuration.md#volumes-in-the-runnersdocker-section
                  • https://docs.docker.com/engine/admin/volumes/volumes/

                  这篇关于GitLab-CI Multi Runner php 作曲家缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:寻找与 php 的 password-verify() 等效的 c# 下一篇:是否可以使用 Composer 从 Gitlab 上的存储库中安装包?

                  相关文章

                      • <bdo id='WampQ'></bdo><ul id='WampQ'></ul>
                    1. <legend id='WampQ'><style id='WampQ'><dir id='WampQ'><q id='WampQ'></q></dir></style></legend>
                    2. <small id='WampQ'></small><noframes id='WampQ'>

                      <tfoot id='WampQ'></tfoot>
                      <i id='WampQ'><tr id='WampQ'><dt id='WampQ'><q id='WampQ'><span id='WampQ'><b id='WampQ'><form id='WampQ'><ins id='WampQ'></ins><ul id='WampQ'></ul><sub id='WampQ'></sub></form><legend id='WampQ'></legend><bdo id='WampQ'><pre id='WampQ'><center id='WampQ'></center></pre></bdo></b><th id='WampQ'></th></span></q></dt></tr></i><div id='WampQ'><tfoot id='WampQ'></tfoot><dl id='WampQ'><fieldset id='WampQ'></fieldset></dl></div>