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
0ad633d0
Commit
0ad633d0
authored
Aug 07, 2020
by
Andrew Winata
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify conan package creation example
parent
1c8ff093
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
doc/user/packages/conan_repository/index.md
doc/user/packages/conan_repository/index.md
+5
-3
No files found.
doc/user/packages/conan_repository/index.md
View file @
0ad633d0
...
...
@@ -284,7 +284,7 @@ To work with Conan commands within [GitLab CI/CD](./../../../ci/README.md), you
`CI_JOB_TOKEN`
in place of the personal access token in your commands.
It is easiest to provide the
`CONAN_LOGIN_USERNAME`
and
`CONAN_PASSWORD`
with each
Conan command in your
`.gitlab-ci.yml`
file:
Conan command in your
`.gitlab-ci.yml`
file
. For example
:
```
yaml
image
:
conanio/gcc7
...
...
@@ -293,8 +293,10 @@ create_package:
stage
:
deploy
script
:
-
conan remote add gitlab https://gitlab.example.com/api/v4/packages/conan
-
conan create . my-group+my-project/beta
-
CONAN_LOGIN_USERNAME=ci_user CONAN_PASSWORD=${CI_JOB_TOKEN} conan upload Hello/0.1@root+ci-conan/beta1 --all --remote=gitlab
-
conan new <package-name>/0.1 -t
-
conan create . <group-name>+<project-name>/stable
-
CONAN_LOGIN_USERNAME=ci_user CONAN_PASSWORD=${CI_JOB_TOKEN} conan upload <package-name>/0.1@<group-name>+<project-name>/stable --all --remote=gitlab
```
You can find additional Conan images to use as the base of your CI file
...
...
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