Category: GitLab
-
Post Views: 17 1. Deploy the code to the container on GitLab, and report an error: Error: job failed: command terminated with exit code 1. as shown in Figure 1 2. This COMMIT 4439826E is considered a pure number, using similar ${CI_COMMIT_SHORT_SHA} in the GitLab CI/CD configuration Variables to get the short hash value of the commit without quotation marks,…
-
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. After enabling 2FA two-factor authentication, git.exe pull –progress -v –no-rebase “origin” Remote: HTTP Basic: Access Denied Remote: You must use a personal access token withREAD_REpositoryOrwrite_repositoryScope for git over http. Remote: You can generate one athttps://xxx.com/-/profile/personal_access_tokens Fatal: Authentication failed forhttps://xxx.com/xgrit/object.git/ Git failed to end smoothly (exit code 1) (5344 ms @ 2022/6/29 10:42:11). as shown in Figure…
-
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. In the Git-based operation, branch A is behind B, and A will advance to B quickly. Click the button to start (fast forward). as shown in Figure 1 2. When changing the base again, it prompts: no need to change the base, A is equivalent to B. as shown in Figure 2 3. Check the git…
-
Post Views: 17 1. The form on the URL: #11-page, template type, and template, which cannot be jumped to the corresponding position. as shown in Figure 1 2. Decide to view the rendered HTML statement. Check: 1.1 The difference between the page, the template type, and the template. id=”user-content-11 – difference between page template type templates”. as shown in Figure…
-
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,…