Commit ac851f1b authored by Shinya Maeda's avatar Shinya Maeda 💡 Committed by Marcel Amirault
Browse files

Document when to add a latest version of CI/CD Template

This commit documents when to add a latest version of template.
Also, add comments to some of the zero include usage templates.
parent 7e2e787f
  • mentioned in issue #368260 (closed)

    Toggle commit list
  • mentioned in issue #368259 (closed)

    Toggle commit list
  • m not able to install npm

    getting this error message

    Running with gitlab-runner 15.3.0~beta.42.gdb7789ca (db7789ca) on blue-2.shared.runners-manager.gitlab.com/default XxUrkriX Preparing the "docker+machine" executor 01:04 Using Docker executor with image node:latest ... Starting service mysql:latest ... Pulling docker image mysql:latest ... Using docker image sha256:ff3b5098b416cc4294d8d5c43c2f0f8251e91711347318e73cb290ffe2783bcb for mysql:latest with digest mysql@sha256:cdf3b62d78d1bbb1d2bd6716895a84014e00716177cbb7e90f6c6a37a21dc796 ... Starting service redis:latest ... Pulling docker image redis:latest ... Using docker image sha256:dc7b40a0b05d1975384eb9d3e001fe152344d4c1a4563cd39cfe152d0bb0d73b for redis:latest with digest redis@sha256:495732ba570db6a3626370a1fb949e98273a13d41eb3e26f7ecb1f6e31ad4041 ... Starting service postgres:latest ... Pulling docker image postgres:latest ... Using docker image sha256:b37c2a6c1506f32995fc6958c3642b1ccdf783b48d0add5027a3c3b884f41c0c for postgres:latest with digest postgres@sha256:befb4cdc1d944bd89784b9caa287cf025f0720f9a02436038124163accd177dc ... Waiting for services to be up and running (timeout 30 seconds)... *** WARNING: Service runner-xxurkrix-project-39043318-concurrent-0-729fe1ca311c76d8-mysql-0 probably didn't start properly. Health check error: start service container: Error response from daemon: Cannot link to a non running container: /runner-xxurkrix-project-39043318-concurrent-0-729fe1ca311c76d8-mysql-0 AS /runner-xxurkrix-project-39043318-concurrent-0-729fe1ca311c76d8-mysql-0-wait-for-service/service (docker.go:1177:0s) Service container logs: 2022-08-31T22:38:47.847589803Z 2022-08-31 22:38:47+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.30-1.el8 started. 2022-08-31T22:38:48.154748147Z 2022-08-31 22:38:48+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql' 2022-08-31T22:38:48.201260408Z 2022-08-31 22:38:48+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 8.0.30-1.el8 started. 2022-08-31T22:38:48.659047523Z 2022-08-31 22:38:48+00:00 [ERROR] [Entrypoint]: Database is uninitialized and password option is not specified 2022-08-31T22:38:48.659064556Z You need to specify one of the following: 2022-08-31T22:38:48.659068611Z - MYSQL_ROOT_PASSWORD 2022-08-31T22:38:48.659072001Z - MYSQL_ALLOW_EMPTY_PASSWORD 2022-08-31T22:38:48.659075242Z - MYSQL_RANDOM_ROOT_PASSWORD


    *** WARNING: Service runner-xxurkrix-project-39043318-concurrent-0-729fe1ca311c76d8-postgres-2 probably didn't start properly. Health check error: start service container: Error response from daemon: Cannot link to a non running container: /runner-xxurkrix-project-39043318-concurrent-0-729fe1ca311c76d8-postgres-2 AS /runner-xxurkrix-project-39043318-concurrent-0-729fe1ca311c76d8-postgres-2-wait-for-service/service (docker.go:1177:0s) Service container logs: 2022-08-31T22:39:03.289557579Z Error: Database is uninitialized and superuser password is not specified. 2022-08-31T22:39:03.289599649Z You must specify POSTGRES_PASSWORD to a non-empty value for the 2022-08-31T22:39:03.289605319Z superuser. For example, "-e POSTGRES_PASSWORD=password" on "docker run". 2022-08-31T22:39:03.289609299Z 2022-08-31T22:39:03.289612551Z You may also use "POSTGRES_HOST_AUTH_METHOD=trust" to allow all 2022-08-31T22:39:03.289616021Z connections without a password. This is not recommended. 2022-08-31T22:39:03.289619283Z 2022-08-31T22:39:03.289622441Z See PostgreSQL documentation about "trust": 2022-08-31T22:39:03.289625803Z https://www.postgresql.org/docs/current/auth-trust.html


    Pulling docker image node:latest ... Using docker image sha256:ac3dcfe39c7e20f85479935fc56f7b59ce270289fac6de229a3e48bf697e0438 for node:latest with digest node@sha256:a0a2fc4435b0c9ae7bec0a69b1279323a4a41c5a005581fbf30d39cd5777db37 ... Preparing environment 00:03 Running on runner-xxurkrix-project-39043318-concurrent-0 via runner-xxurkrix-shared-1661985463-5a356eed... Getting source from Git repository 00:01 $ eval "$CI_PRE_CLONE_SCRIPT" Fetching changes with git depth set to 20... Initialized empty Git repository in /builds/ersharad717/kiber/.git/ Created fresh repository. Checking out 24c5135f as main... Skipping Git submodules setup Restoring cache 00:01 Checking cache for default-protected... WARNING: file does not exist
    Failed to extract cache Executing "step_script" stage of the job script 00:01 Using docker image sha256:ac3dcfe39c7e20f85479935fc56f7b59ce270289fac6de229a3e48bf697e0438 for node:latest with digest node@sha256:a0a2fc4435b0c9ae7bec0a69b1279323a4a41c5a005581fbf30d39cd5777db37 ... $ npm install npm ERR! code ENOENT npm ERR! syscall open npm ERR! path /builds/ersharad717/kiber/package.json npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, open '/builds/ersharad717/kiber/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: npm ERR! /root/.npm/_logs/2022-08-31T22_39_35_072Z-debug-0.log Cleaning up project directory and file based variables 00:01 ERROR: Job failed: exit code 1

Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment