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
74e55190
Commit
74e55190
authored
Mar 10, 2016
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into gitlab-geo-documentation
parents
8ca3a2f3
579370be
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
421 additions
and
99 deletions
+421
-99
doc/ci/yaml/README.md
doc/ci/yaml/README.md
+29
-0
doc/pages/README.md
doc/pages/README.md
+392
-77
doc/pages/img/pages_create_project.png
doc/pages/img/pages_create_project.png
+0
-0
doc/pages/img/pages_create_user_page.png
doc/pages/img/pages_create_user_page.png
+0
-0
doc/pages/img/pages_dns_details.png
doc/pages/img/pages_dns_details.png
+0
-0
doc/pages/img/pages_multiple_domains.png
doc/pages/img/pages_multiple_domains.png
+0
-0
doc/pages/img/pages_new_domain_button.png
doc/pages/img/pages_new_domain_button.png
+0
-0
doc/pages/img/pages_remove.png
doc/pages/img/pages_remove.png
+0
-0
doc/pages/img/pages_upload_cert.png
doc/pages/img/pages_upload_cert.png
+0
-0
lib/elastic/projects_search.rb
lib/elastic/projects_search.rb
+0
-22
No files found.
doc/ci/yaml/README.md
View file @
74e55190
...
@@ -509,6 +509,35 @@ rspec:
...
@@ -509,6 +509,35 @@ rspec:
The cache is provided on best effort basis, so don't expect that cache will be
The cache is provided on best effort basis, so don't expect that cache will be
always present. For implementation details please check GitLab Runner.
always present. For implementation details please check GitLab Runner.
### pages
`pages`
is a special job that is used to upload static content to GitLab that
can be used to serve your website. It has a special syntax, so the two
requirements below must be met:
1.
Any static content must be placed under a
`public/`
directory
1.
`artifacts`
with a path to the
`public/`
directory must be defined
The example below simply moves all files from the root of the project to the
`public/`
directory. The
`.public`
workaround is so
`cp`
doesn't also copy
`public/`
to itself in an infinite loop:
```
pages:
stage: deploy
script:
- mkdir .public
- cp -r * .public
- mv .public public
artifacts:
paths:
- public
only:
- master
```
Read more on
[
GitLab Pages user documentation
](
../../pages/README.md
)
.
## Validate the .gitlab-ci.yml
## Validate the .gitlab-ci.yml
Each instance of GitLab CI has an embedded debug tool called Lint.
Each instance of GitLab CI has an embedded debug tool called Lint.
...
...
doc/pages/README.md
View file @
74e55190
This diff is collapsed.
Click to expand it.
doc/pages/img/pages_create_project.png
0 → 100644
View file @
74e55190
32.8 KB
doc/pages/img/pages_create_user_page.png
0 → 100644
View file @
74e55190
85 KB
doc/pages/img/pages_dns_details.png
0 → 100644
View file @
74e55190
33.9 KB
doc/pages/img/pages_multiple_domains.png
0 → 100644
View file @
74e55190
62.2 KB
doc/pages/img/pages_new_domain_button.png
0 → 100644
View file @
74e55190
49.9 KB
doc/pages/img/pages_remove.png
0 → 100644
View file @
74e55190
26.6 KB
doc/pages/img/pages_upload_cert.png
0 → 100644
View file @
74e55190
101 KB
lib/elastic/projects_search.rb
View file @
74e55190
...
@@ -59,28 +59,6 @@ module Elastic
...
@@ -59,28 +59,6 @@ module Elastic
filters
=
[]
filters
=
[]
if
options
[
:abandoned
]
filters
<<
{
range:
{
last_pushed_at:
{
lte:
"now-6M/m"
}
}
}
end
if
options
[
:with_push
]
filters
<<
{
not:
{
missing:
{
field: :last_pushed_at
,
existence:
true
,
null_value:
true
}
}
}
end
if
options
[
:namespace_id
]
if
options
[
:namespace_id
]
filters
<<
{
filters
<<
{
terms:
{
terms:
{
...
...
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