Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
TPA
Wiki Replica
Commits
1cce2d0d
Unverified
Commit
1cce2d0d
authored
3 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
improve gitlab pages docs, thanks juga
See
gitlab#97
parent
b3755657
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
howto/gitlab.md
+14
-4
14 additions, 4 deletions
howto/gitlab.md
with
14 additions
and
4 deletions
howto/gitlab.md
+
14
−
4
View file @
1cce2d0d
...
...
@@ -387,7 +387,7 @@ this will be implemented, if ever.
## Publishing GitLab pages
GitLab features a way to publish websites directly from the continuous
integration pipelines, called
[
GitLab pages
](
https://gitlab.com/
gitlab-org/gitlab-
pages
)
. Complete
integration pipelines, called
[
GitLab pages
](
https://
docs.
gitlab.com/
ee/user/project/
pages
/
)
. Complete
documentation on how to publish such pages is better served by the
official documentation, but creating a
`.gitlab-ci.yml`
should get you
rolling. For example, this will publish a
`hugo`
site:
...
...
@@ -402,9 +402,17 @@ rolling. For example, this will publish a `hugo` site:
only:
- main
If this file is committed in a project called
`tpo/team/project`
, the
pages will be published to
<https://tpo.pages.torproject.net/team/project/>
.
GitLab pages are published under the
`*.pages.torproject.org`
wildcard
domain. There are two types of projects hosted at the TPO GitLab:
sub-group projects, usually under the
`tpo/`
super-group, and user
projects, for example
`anarcat/myproject`
. You can also publish a page
specifically for a user. The URLs will look something like this:
| Type of GitLab page | Name of the project created in GitLab | Website URL |
|---------------------|---------------------------------------|------------------------------------------------------|
| User pages |
`username.pages.torproject.net`
|
`https://username.pages.torproject.net`
|
| User projects |
`user/projectname`
|
`https://username.pages.torproject.net/projectname`
|
| Group projects |
`tpo/group/projectname`
|
`https://tpo.pages.torproject.net/group/projectname`
|
## Accepting merge requests on wikis
...
...
@@ -599,6 +607,7 @@ The virtual host for the `pages.torproject.org` domain was configured
through the
`profile::gitlab::web`
class.
## SLA
<!-- this describes an acceptable level of service for this service -->
## Migration from Trac
...
...
@@ -607,6 +616,7 @@ GitLab was put online as part of a migration from [Trac](howto/trac),
see the
[
Trac documentation for details on the migration
](
howto/trac#gitlab-migration
)
.
## Design
<!-- how this is built -->
<!-- should reuse and expand on the "proposed solution", it's a -->
<!-- "as-built" documented, whereas the "Proposed solution" is an -->
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment