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
a34593b0
Commit
a34593b0
authored
Jul 19, 2021
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: Deploy pages in the 2-hourly scheduled pipelines only
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
5db22c5d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
7 deletions
+4
-7
.gitlab/ci/pages.gitlab-ci.yml
.gitlab/ci/pages.gitlab-ci.yml
+0
-1
.gitlab/ci/rules.gitlab-ci.yml
.gitlab/ci/rules.gitlab-ci.yml
+4
-6
No files found.
.gitlab/ci/pages.gitlab-ci.yml
View file @
a34593b0
...
...
@@ -19,7 +19,6 @@ pages:
# while `pages` runs for all the 2-hourly schedules.
-
job
:
"
update-tests-metadata"
optional
:
true
before_script
:
-
apt-get update && apt-get -y install brotli gzip
script
:
...
...
.gitlab/ci/rules.gitlab-ci.yml
View file @
a34593b0
...
...
@@ -64,8 +64,8 @@
.if-dot-com-gitlab-org-and-security-tag
:
&if-dot-com-gitlab-org-and-security-tag
if
:
'
$CI_SERVER_HOST
==
"gitlab.com"
&&
$CI_PROJECT_NAMESPACE
=~
/^gitlab-org($|\/security$)/
&&
$CI_COMMIT_TAG'
.if-dot-com-ee-
schedule
:
&if-dot-com-ee
-schedule
if
:
'
$CI_SERVER_HOST
==
"gitlab.com"
&&
$CI_PROJECT_PATH
==
"gitlab-org/gitlab"
&&
$CI_PIPELINE_SOURCE
==
"schedule"'
.if-dot-com-ee-
2-hourly-schedule
:
&if-dot-com-ee-2-hourly
-schedule
if
:
'
$CI_SERVER_HOST
==
"gitlab.com"
&&
$CI_PROJECT_PATH
==
"gitlab-org/gitlab"
&&
$CI_PIPELINE_SOURCE
==
"schedule"
&&
$FREQUENCY
==
"2-hourly"
'
.if-cache-credentials-schedule
:
&if-cache-credentials-schedule
if
:
'
$CI_REPO_CACHE_CREDENTIALS
&&
$CI_PIPELINE_SOURCE
==
"schedule"'
...
...
@@ -551,9 +551,7 @@
###############
.pages:rules:
rules
:
-
<<
:
*if-not-ee
when
:
never
-
<<
:
*if-default-branch-schedule-2-hourly
-
<<
:
*if-dot-com-ee-2-hourly-schedule
############
# QA rules #
...
...
@@ -1354,10 +1352,10 @@
rules
:
-
<<
:
*if-not-ee
when
:
never
-
<<
:
*if-dot-com-ee-2-hourly-schedule
-
changes
:
-
"
.gitlab/ci/test-metadata.gitlab-ci.yml"
-
"
scripts/rspec_helpers.sh"
-
<<
:
*if-dot-com-ee-schedule
###################
# workhorse rules #
...
...
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