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
d07169c8
Commit
d07169c8
authored
Dec 04, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add latest changes from gitlab-org/gitlab@master
parent
6377f3e2
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
6 deletions
+22
-6
doc/ci/docker/using_docker_images.md
doc/ci/docker/using_docker_images.md
+14
-2
doc/development/testing_guide/end_to_end/resources.md
doc/development/testing_guide/end_to_end/resources.md
+3
-0
spec/features/groups/settings/group_badges_spec.rb
spec/features/groups/settings/group_badges_spec.rb
+3
-2
spec/features/projects/settings/project_badges_spec.rb
spec/features/projects/settings/project_badges_spec.rb
+2
-2
No files found.
doc/ci/docker/using_docker_images.md
View file @
d07169c8
...
...
@@ -576,8 +576,8 @@ There are two ways to determine the value of `DOCKER_AUTH_CONFIG`:
will use the available system keystore to store the result of
`docker
login`
. In that case, it's impossible to read
`~/.docker/config.json`
,
so you will need to prepare the required base64-encoded version of
`${username}:${password}`
manually. Open a terminal and execute the
following command:
`${username}:${password}`
and create the Docker configuration JSON manually.
Open a terminal and execute the
following command:
```
bash
echo
-n
"my_username:my_password"
|
base64
...
...
@@ -586,6 +586,18 @@ There are two ways to determine the value of `DOCKER_AUTH_CONFIG`:
bXlfdXNlcm5hbWU6bXlfcGFzc3dvcmQ
=
```
Create the Docker JSON configuration content as follows:
```
json
{
"auths"
:
{
"registry.example.com:5000"
:
{
"auth"
:
"(Base64 content from above)"
}
}
}
```
#### Configuring a job
To configure a single job with access for
`registry.example.com:5000`
,
...
...
doc/development/testing_guide/end_to_end/resources.md
View file @
d07169c8
...
...
@@ -44,6 +44,9 @@ create the resource via the public GitLab API:
-
`#api_post_path`
: The
`POST`
path to create a new resource.
-
`#api_post_body`
: The
`POST`
body (as a Ruby hash) to create a new resource.
> Be aware that many API resources are [paginated](../../../api/README.md#pagination).
> If you don't find the results you expect, check if there is more that one page of results.
Let's take the
`Shirt`
resource class, and add these three API methods:
```
ruby
...
...
spec/features/groups/settings/group_badges_spec.rb
View file @
d07169c8
...
...
@@ -7,8 +7,9 @@ describe 'Group Badges' do
let
(
:user
)
{
create
(
:user
)
}
let
(
:group
)
{
create
(
:group
)
}
let
(
:badge_link_url
)
{
'https://gitlab.com/gitlab-org/gitlab/commits/master'
}
let
(
:badge_image_url
)
{
'https://gitlab.com/gitlab-org/gitlab/badges/master/build.svg'
}
let
(
:project
)
{
create
(
:project
,
namespace:
group
)
}
let
(
:badge_link_url
)
{
"http://
#{
page
.
server
.
host
}
:
#{
page
.
server
.
port
}
/
#{
project
.
full_path
}
/commits/master"
}
let
(
:badge_image_url
)
{
"http://
#{
page
.
server
.
host
}
:
#{
page
.
server
.
port
}
/
#{
project
.
full_path
}
/badges/master/pipeline.svg"
}
let!
(
:badge_1
)
{
create
(
:group_badge
,
group:
group
)
}
let!
(
:badge_2
)
{
create
(
:group_badge
,
group:
group
)
}
...
...
spec/features/projects/settings/project_badges_spec.rb
View file @
d07169c8
...
...
@@ -8,8 +8,8 @@ describe 'Project Badges' do
let
(
:user
)
{
create
(
:user
)
}
let
(
:group
)
{
create
(
:group
)
}
let
(
:project
)
{
create
(
:project
,
namespace:
group
)
}
let
(
:badge_link_url
)
{
'https://gitlab.com/gitlab-org/gitlab/commits/master'
}
let
(
:badge_image_url
)
{
'https://gitlab.com/gitlab-org/gitlab/badges/master/build.svg'
}
let
(
:badge_link_url
)
{
"http://
#{
page
.
server
.
host
}
:
#{
page
.
server
.
port
}
/
#{
project
.
full_path
}
/commits/master"
}
let
(
:badge_image_url
)
{
"http://
#{
page
.
server
.
host
}
:
#{
page
.
server
.
port
}
/
#{
project
.
full_path
}
/badges/master/pipeline.svg"
}
let!
(
:project_badge
)
{
create
(
:project_badge
,
project:
project
)
}
let!
(
:group_badge
)
{
create
(
:group_badge
,
group:
group
)
}
...
...
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