Category: Continuous Integration System
-
Post Views: 55 1. Reference website: https://www.shuijingwanwq.com/en/2020/04/09/9889/ , adjust the group and name of the project in gitlab. 2. After configuring in jenkins, an error is reported: repositoryhttps://gitlab.chinamcloud.com/pcs/pcs_api.git/not found, as shown in Figure 1 3. The user list under the analysis group PHP, there is a user: JenkinsIntegration, as shown in Figure 2 4. In the user list under the…
-
Post Views: 14 1. Docker deployment, when building an image on Jenkins, an error is reported: composer install returned a non-zero code: 255, as shown in Figure 1 2. The code for the failure of the dockerfile to execute the command is as follows 3. Edit Dockerfile, the build is successful, the reason for the visible failure is: composer install…
-
Post Views: 49 1. Since the yiisoft/yii2-composer (2.0.7) cannot be downloaded from dist, now try to download from the source code, the process class depends on proc_open , which is not available in php installation, as shown in Figure 1 2. Edit Dockerfile, delete proc_open, proc_close in disable_functions 3. The previous proc_open and proc_close were also disabled and can be…
-
Post Views: 14 1. The upgrade fails in Rancher, and Rolling-Back (Expected State Running But Got Stopped) appears when rolling back, as shown in Figure 1 2. Click the link to view the log, as shown in Figure 2 3. Log: WebTV-PCS-1, prompt: pcs_api_cfg_db_host, unbound variables (it can be clear that the environment variables were bound before, the reason has…
-
Post Views: 50 1. The code of the Dockerfile is as follows: 2. When building based on Jenkins, the details of the error are as follows, as shown in Figure 1 3. Edit the dockerfile, temporarily cancel the composer related, after the build is successful, run composer -v in the docker container, no response, as shown in Figure 2 4.…
-
Post Views: 12 1. The image is successfully built in Jenkins, as shown in Figure 1 2. Execute the upgrade in Rancher and report an error: sed: -e expression #1, char 36: unknownd option toS, as shown in Figure 2 3. Replace the / in the .sh file with @, as shown in Figure 3 sed -i “s/cmcp_api_cfg_yii_debug/$cmcp_api_cfg_yii_debug/g” /sobey/www/cmcp-api/.env; be…