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
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Cecylia Bocovich
Wiki Replica
Commits
a76a4043
Verified
Commit
a76a4043
authored
3 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
clarify what the SITE_URL is for (
tpo/tpa/ci-templates#1
)
... and it's not for nothing! :)
parent
6f85f8c9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
service/static-shim.md
+6
-0
6 additions, 0 deletions
service/static-shim.md
with
6 additions
and
0 deletions
service/static-shim.md
+
6
−
0
View file @
a76a4043
...
...
@@ -427,6 +427,12 @@ to only a *specific* site update, with a wrapper that will call
`rsync`
but limited to a specific directory. We also allow connections
only from GitLab over SSH.
This implies that the
`SITE_URL`
provided by the GitLab CI job over
SSH, whether it is for the
`rsync`
or
`static-update-component`
commands, is actually ignored by the backend. It is used in the job
definition solely to avoid doing two deploys in parallel to the same
site, through the GitLab
[
`resource_group`
](
https://docs.gitlab.com/ee/ci/resource_groups/
)
mechanism.
The public part of that key should be set in the GitLab project, as a
File variable called
`STATIC_GITLAB_SHIM_SSH_PRIVATE_KEY`
. This way
the GitLab runners get access to the private key and can deploy those
...
...
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