Category: Continuous Integration System
-
Post Views: 15 1. Request the container group in the K8s to request the container group error: Could not resolve host: group.cmc; name or service not known. Unable to resolve host: group.cmc; name or service is unknown. as shown in Figure 1 2. Request a static text file in the GROUP container in the container API, and the request is…
-
Post Views: 14 1. Error when building an image in Jenkins: Error checking context:canT stat/dataes/jenkins/workspace/ccp/api/code/vendor/james-heinrich/getid3/demos/demo.mysqli.php. as shown in Figure 1 2. Configure -> Build Environment -> Delete Workspace Before Build Starts (check). Build environment -> Delete the workspace before the build starts. as shown in Figure 2 3. The construction is successful. After the build is successful, you can uncheck…
-
Post Views: 49 1. Build an image in Jenkins and report an error: Error Processing tar file(exit status 1): unexpected EOF. as shown in Figure 1 2. Check the Dockerfile, it should be that the number of the add command is too many, which leads to insufficient space. Reference URL: https://stackoverflow.com/questions/42784396/docker-e rror-error-processing-tar-fileexit-status-1-unexpected-eof . as shown in Figure 2 3. Cut…
-
Post Views: 19 1. Two items, front and back end, two images, two containers. as shown in Figure 1 2. The front-end builds the directory structure. as shown in Figure 2 3. Interface construction directory structure. as shown in Figure 3 4. Relevant configuration of front-end construction. as shown in Figure 4 5. Relevant configuration of interface construction. as shown…
-
Post Views: 15 1. In GitLab, the last commit ID of multiple tags is the same. as shown in Figure 1 2. In Jenkins, set the tag name of the build: pcs_api_1.13.5.0_base. as shown in Figure 2 3. However, the tag name included in the final image name: pcs_api_1.13.5.0. Not in line with expectations (not equal to settings). as shown…
-
Post Views: 13 1. When building an image in jenkins, an error is reported: repository registry-vpc.cn-beijing.aliyuncs.com/cmc/centos-nginx112-php72 Not found: not not exist or no pull access. as shown in Figure 1 2. Adjust the configuration item, build – execute shell – command, the value of the user name and password needs to be modified. as shown in Figure 2 3. Build…
-
Post Views: 14 1. When building an image in Jenkins, an error is reported: fatal: could not read from remote repository. Although the Packagist image address has been switched to Alibaba Cloud:https://mirrors.aliyun.com/composer/. View Dockerfile. as shown in Figure 1 2. I finally decided to add the /vendor directory to the git repository: # /vendor, edit .gitignore 3. Edit the Dockerfile…
-
Post Views: 50 1. The content of the Dockerfile is as follows 2. Since there are directories in the basic image: /sobey/www, and it is a blank directory, it is no longer needed. The basic image cannot be upgraded for a while, so I decided to delete the folder in the Dockerfile: /sobey. as shown in Figure 1 3. Add…
-
Post Views: 16 1. Edit .gitignore and add /vendor to the git warehouse, as shown in Figure 1 2. Failed to build in Jenkins, check Console output. as shown in Figure 2 3. Docker deployment, delete the composer install. Edit Dockerfile. as shown in Figure 3 4. Build successfully in Jenkins. as shown in Figure 4 5. Failed to start…