Tag: Gitlab
-
Post Views: 17 1. View the directory structure in GitLab, there are directories: ThemeStoreDB, TheMeStoreDB, this is because the directory ThemeStoreDB is renamed to ThemeStoreDb, and the old-based The code of ThemeStoreDB is caused by the code. as shown in Figure 1 2. On the disk of the local Windows 10, only the directory ThemeStoreDB exists. After the code is…
-
Post Views: 18 1. In the CI/CD Pipelines of GitLab, the build composer fails. as shown in Figure 1 2. Search the class in the local environmentFaker\Factory, to confirm that /vendor/fzaninotto/faker/src/faker/factory.php exists. Execute in the local environment: php artisan key:generate succeeds. as shown in Figure 2 3. Check the log in gitlab-runner, if[ ! -x “vendor” ];then echoVendor not exists;…
-
Post Views: 16 1. In Windows 10, Git 2.34, and TortoiseGit 2.13, after the directory is renamed (the lowercase letters are changed to uppercase letters), there is no change when submitting. as shown in Figure 1 2. Manually rename it to small letters first, enter the directory after renaming, right-click – change the name, and then modify it to uppercase.…
-
Post Views: 16 1. Click the anchor point in the Markdown document to jump to the corresponding position. as shown in Figure 1 2. In phpstorm, open the editor. When the mouse is placed on #1-overview, it prompts: The targeting tag #1-overview cannot be resolved. as shown in Figure 2 3. When entering #1, the IDE will be completed automatically,…
-
Post Views: 68 1. Refer to Creating Merge requests: https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html 2. Enter the project, select Merge requests in the left menu, and then select New Merge request in the upper right corner. as shown in Figure 1 3. Select Source Branch, for your current branch: feature/theme-store-wangqiang, select target Branch, for the target branch that is expected to be merged: feature/theme-store,…
-
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: 49 1. Force push on GitLab, and report an error: Remote GitLab you are not allowed to push code to a protected branch on this project. as shown in Figure 1 2. Check GitLab – Members – Existing Members and Groups. Master, in theory, has permissions. as shown in Figure 2 3. Repository settings – protected branches –…
-
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…