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
2c41b5bb
Commit
2c41b5bb
authored
Aug 11, 2020
by
mo khan
Committed by
Nick Gaskill
Aug 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document connecting to Cargo registries
parent
2d896d3e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
doc/user/compliance/license_compliance/index.md
doc/user/compliance/license_compliance/index.md
+24
-0
No files found.
doc/user/compliance/license_compliance/index.md
View file @
2c41b5bb
...
...
@@ -398,6 +398,30 @@ specifying a [`BUNDLE_SSL_CA_CERT`](https://bundler.io/v2.0/man/bundle-config.1.
[
environment variable
](
../../../ci/variables/README.md#custom-environment-variables
)
in the job definition.
### Configuring Cargo projects
#### Using private Cargo registries
If you have a private Cargo registry you can use the
[
`registries`
](
https://doc.rust-lang.org/cargo/reference/registries.html
)
setting to specify its location.
For example:
```
toml
[registries]
my-registry
=
{
index
=
"https://my-intranet:8080/git/index"
}
```
#### Custom root certificates for Cargo
To supply a custom root certificate to complete TLS verification, do one of the following:
-
Use the
`ADDITIONAL_CA_CERT_BUNDLE`
[
environment variable
](
#available-variables
)
.
-
Specify a
[
`CARGO_HTTP_CAINFO`
](
https://doc.rust-lang.org/cargo/reference/environment-variables.html
)
[
environment variable
](
../../../ci/variables/README.md#custom-environment-variables
)
in the job definition.
### Configuring Composer projects
#### Using private Composer registries
...
...
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