Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
6f1135a7
Commit
6f1135a7
authored
Aug 01, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
b8afc7b2
10d8fbdc
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
1 deletion
+37
-1
doc/install/installation.md
doc/install/installation.md
+1
-1
doc/topics/autodevops/index.md
doc/topics/autodevops/index.md
+6
-0
doc/user/project/packages/npm_registry.md
doc/user/project/packages/npm_registry.md
+30
-0
No files found.
doc/install/installation.md
View file @
6f1135a7
...
...
@@ -938,7 +938,7 @@ To use GitLab with Puma:
cd
/home/git/gitlab
# Copy config file for the web server
sudo
-u
git
-H
config/puma.rb.example config/puma.rb
sudo
-u
git
-H
c
p
c
onfig/puma.rb.example config/puma.rb
```
1.
Edit the system
`init.d`
script to use
`EXPERIMENTAL_PUMA=1`
flag. If you have
`/etc/default/gitlab`
, then you should edit it instead.
...
...
doc/topics/autodevops/index.md
View file @
6f1135a7
...
...
@@ -1069,6 +1069,12 @@ Container Registry. **Restarting a pod, scaling a service, or other actions whic
require on-going access to the registry may fail
**
. On-going secure access is
planned for a subsequent release.
### Private registry support
There is no documented way of using private container registry with Auto DevOps.
We strongly advise using GitLab Container Registry with Auto DevOps in order to
simplify configuration and prevent any unforeseen issues.
## Troubleshooting
-
Auto Build and Auto Test may fail in detecting your language/framework. There
...
...
doc/user/project/packages/npm_registry.md
View file @
6f1135a7
...
...
@@ -81,6 +81,10 @@ domain name.
You should now be able to download and upload NPM packages to your project.
NOTE:
**Note:**
If you encounter an error message with
[
Yarn
](
https://yarnpkg.com/en/
)
, see the
[
troubleshooting section
](
#troubleshooting
)
.
## Uploading packages
Before you will be able to upload a package, you need to specify the registry
...
...
@@ -116,3 +120,29 @@ a given scope, you will receive a `403 Forbidden!` error.
If you upload a package with a same name and version twice, GitLab will show
both packages in the UI, but the GitLab NPM Registry will expose the most recent
one as it supports only one package per version for
`npm install`
.
## Troubleshooting
### Error running yarn with NPM registry
If you are using
[
yarn
](
https://yarnpkg.com/en/
)
with the NPM registry, you may get
an error message like:
```
sh
yarn
install
v1.15.2
warning package.json: No license field
info No lockfile found.
warning XXX: No license field
[
1/4] 🔍 Resolving packages...
[
2/4] 🚚 Fetching packages...
error An unexpected error occurred:
"https://gitlab.com/api/v4/projects/XXX/packages/npm/XXX/XXX/-/XXX/XXX-X.X.X.tgz: Request failed
\"
404 Not Found
\"
"
.
info If you think this is a bug, please open a bug report with the information provided
in
"/Users/XXX/gitlab-migration/module-util/yarn-error.log"
.
info Visit https://yarnpkg.com/en/docs/cli/install
for
documentation about this
command
```
In this case, try adding this to your
`.npmrc`
file (and replace
`<your_oauth_token>`
with your with your OAuth or personal access token):
```
text
//gitlab.com/api/v4/projects/:_authToken=<your_oauth_token>
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment