Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
omnibus-heptapod
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
heptapod
omnibus-heptapod
Commits
f74fdc22c0ae
Commit
f74fdc22c0ae
authored
3 months ago
by
Evan Read
Browse files
Options
Downloads
Patches
Plain Diff
Add ability to create review apps by using the GitLab Docs Hugo project
parent
0bc753bb86b0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!170
Merge upstream Omnibus GitLab into Omnibus Heptapod
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/build/index.md
+4
-5
4 additions, 5 deletions
doc/build/index.md
gitlab-ci-config/gitlab-com.yml
+25
-1
25 additions, 1 deletion
gitlab-ci-config/gitlab-com.yml
with
29 additions
and
6 deletions
doc/build/index.md
+
4
−
5
View file @
f74fdc22
...
...
@@ -13,11 +13,10 @@
## `omnibus-gitlab` packages
`omnibus-gitlab`
uses the
[
omnibus
](
https://github.com/chef/omnibus
)
tool for
building packages for the supported operating systems. The omnibus tool will detect
the OS where it is being used and build packages for that OS. It is recommended
to use a Docker container corresponding to the OS as the environment for building
packages.
`omnibus-gitlab`
uses
[
Omnibus
](
https://github.com/chef/omnibus
)
for
building packages for the supported operating systems. Omnibus detects
the OS where it is being used and build packages for that OS. You should use a
Docker container corresponding to the OS as the environment for building packages.
How to build a custom package locally is described in the
[
dedicated document
](
build_package.md
)
.
...
...
This diff is collapsed.
Click to expand it.
gitlab-ci-config/gitlab-com.yml
+
25
−
1
View file @
f74fdc22
...
...
@@ -142,7 +142,7 @@
before_script
:
-
gem install gitlab --no-doc
# We need to download the script rather than clone the repo since the
# review-docs-cleanup job will not be able to run when the branch gets
# review-docs-cleanup
and review-docs-hugo-cleanup
job will not be able to run when the branch gets
# deleted (when merging the MR).
-
apk add --update openssl
-
wget https://gitlab.com/gitlab-org/gitlab/-/raw/master/scripts/trigger-build.rb
...
...
@@ -327,6 +327,30 @@
script
:
-
./trigger-build.rb docs cleanup
# Trigger a docs build in gitlab-docs-hugo
# Useful to preview the docs changes live
# https://docs.gitlab.com/ee/development/documentation/review_apps.html
review-docs-hugo-deploy
:
extends
:
-
.review-docs
environment
:
name
:
review-docs/mr-${CI_MERGE_REQUEST_IID}-hugo
url
:
https://new.docs.gitlab.com/upstream-review-mr-${DOCS_GITLAB_REPO_SUFFIX}-${CI_MERGE_REQUEST_IID}/${DOCS_GITLAB_REPO_SUFFIX}
auto_stop_in
:
2 weeks
on_stop
:
review-docs-hugo-cleanup
script
:
-
./trigger-build.rb docs-hugo deploy
# Cleanup remote environment of gitlab-docs-hugo
review-docs-hugo-cleanup
:
extends
:
-
.review-docs
environment
:
name
:
review-docs/mr-${CI_MERGE_REQUEST_IID}-hugo
action
:
stop
script
:
-
./trigger-build.rb docs-hugo cleanup
include
:
-
component
:
${CI_SERVER_FQDN}/gitlab-org/components/danger-review/danger-review@2.0.0
inputs
:
...
...
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