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
52e72cb7
Commit
52e72cb7
authored
May 05, 2020
by
Albert Salim
Committed by
Rémy Coutable
May 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove review apps from gitlab-foss pipelines
parent
9d870883
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
11 deletions
+19
-11
.gitlab/ci/review.gitlab-ci.yml
.gitlab/ci/review.gitlab-ci.yml
+2
-5
.gitlab/ci/rules.gitlab-ci.yml
.gitlab/ci/rules.gitlab-ci.yml
+12
-0
scripts/review_apps/review-apps.sh
scripts/review_apps/review-apps.sh
+5
-6
No files found.
.gitlab/ci/review.gitlab-ci.yml
View file @
52e72cb7
...
...
@@ -5,8 +5,7 @@ build-qa-image:
-
.review:rules:mr-and-schedule-auto
stage
:
prepare
script
:
-
'
[[
-d
"ee/"
]]
||
export
GITLAB_EDITION="ce"'
-
export QA_IMAGE="${CI_REGISTRY}/${CI_PROJECT_PATH}/gitlab-${GITLAB_EDITION:-ee}-qa:${CI_COMMIT_REF_SLUG}"
-
export QA_IMAGE="${CI_REGISTRY}/${CI_PROJECT_PATH}/gitlab-ee-qa:${CI_COMMIT_REF_SLUG}"
-
/kaniko/executor --context=${CI_PROJECT_DIR} --dockerfile=${CI_PROJECT_DIR}/qa/Dockerfile --destination=${QA_IMAGE} --cache=true
review-cleanup
:
...
...
@@ -70,7 +69,6 @@ review-deploy:
resource_group
:
"
review/${CI_COMMIT_REF_NAME}"
allow_failure
:
true
before_script
:
-
'
[[
-d
"ee/"
]]
||
export
GITLAB_EDITION="ce"'
-
export GITLAB_SHELL_VERSION=$(<GITLAB_SHELL_VERSION)
-
export GITALY_VERSION=$(<GITALY_SERVER_VERSION)
-
export GITLAB_WORKHORSE_VERSION=$(<GITLAB_WORKHORSE_VERSION)
...
...
@@ -147,8 +145,7 @@ review-stop:
GITHUB_ACCESS_TOKEN
:
"
${REVIEW_APPS_QA_GITHUB_ACCESS_TOKEN}"
EE_LICENSE
:
"
${REVIEW_APPS_EE_LICENSE}"
before_script
:
-
'
[[
-d
"ee/"
]]
||
export
GITLAB_EDITION="ce"'
-
export QA_IMAGE="${CI_REGISTRY}/${CI_PROJECT_PATH}/gitlab-${GITLAB_EDITION:-ee}-qa:${CI_COMMIT_REF_SLUG}"
-
export QA_IMAGE="${CI_REGISTRY}/${CI_PROJECT_PATH}/gitlab-ee-qa:${CI_COMMIT_REF_SLUG}"
-
export CI_ENVIRONMENT_URL="$(cat environment_url.txt)"
-
echo "${CI_ENVIRONMENT_URL}"
-
echo "${QA_IMAGE}"
...
...
.gitlab/ci/rules.gitlab-ci.yml
View file @
52e72cb7
...
...
@@ -474,6 +474,8 @@
################
.review:rules:mr-and-schedule-auto:
rules
:
-
<<
:
*if-not-ee
when
:
never
-
<<
:
*if-dot-com-gitlab-org-merge-request
changes
:
*code-qa-patterns
when
:
on_success
...
...
@@ -482,6 +484,8 @@
.review:rules:mr-and-schedule-auto-if-frontend-manual-otherwise:
rules
:
-
<<
:
*if-not-ee
when
:
never
-
<<
:
*if-dot-com-gitlab-org-merge-request
changes
:
*frontend-patterns
when
:
on_success
...
...
@@ -494,12 +498,16 @@
.review:rules:mr-only-auto:
rules
:
-
<<
:
*if-not-ee
when
:
never
-
<<
:
*if-dot-com-gitlab-org-merge-request
changes
:
*code-qa-patterns
when
:
on_success
.review:rules:mr-only-auto-if-frontend-manual-otherwise:
rules
:
-
<<
:
*if-not-ee
when
:
never
-
<<
:
*if-dot-com-gitlab-org-merge-request
changes
:
*frontend-patterns
when
:
on_success
...
...
@@ -509,12 +517,16 @@
.review:rules:mr-only-manual:
rules
:
-
<<
:
*if-not-ee
when
:
never
-
<<
:
*if-dot-com-gitlab-org-merge-request
changes
:
*code-qa-patterns
when
:
manual
.review:rules:review-cleanup:
rules
:
-
<<
:
*if-not-ee
when
:
never
-
<<
:
*if-dot-com-gitlab-org-merge-request
changes
:
*code-qa-patterns
when
:
manual
...
...
scripts/review_apps/review-apps.sh
View file @
52e72cb7
...
...
@@ -236,7 +236,6 @@ function base_config_changed() {
function
deploy
()
{
local
namespace
=
"
${
KUBE_NAMESPACE
}
"
local
release
=
"
${
CI_ENVIRONMENT_SLUG
}
"
local
edition
=
"
${
GITLAB_EDITION
:-
ee
}
"
local
base_config_file_ref
=
"master"
if
[[
"
$(
base_config_changed
)
"
==
"true"
]]
;
then
base_config_file_ref
=
"
${
CI_COMMIT_SHA
}
"
;
fi
local
base_config_file
=
"https://gitlab.com/gitlab-org/gitlab/raw/
${
base_config_file_ref
}
/scripts/review_apps/base-config.yaml"
...
...
@@ -244,13 +243,13 @@ function deploy() {
echoinfo
"Deploying
${
release
}
..."
true
IMAGE_REPOSITORY
=
"registry.gitlab.com/gitlab-org/build/cng-mirror"
gitlab_migrations_image_repository
=
"
${
IMAGE_REPOSITORY
}
/gitlab-rails-
${
edition
}
"
gitlab_sidekiq_image_repository
=
"
${
IMAGE_REPOSITORY
}
/gitlab-sidekiq-
${
edition
}
"
gitlab_unicorn_image_repository
=
"
${
IMAGE_REPOSITORY
}
/gitlab-webservice-
${
edition
}
"
gitlab_task_runner_image_repository
=
"
${
IMAGE_REPOSITORY
}
/gitlab-task-runner-
${
edition
}
"
gitlab_migrations_image_repository
=
"
${
IMAGE_REPOSITORY
}
/gitlab-rails-
ee
"
gitlab_sidekiq_image_repository
=
"
${
IMAGE_REPOSITORY
}
/gitlab-sidekiq-
ee
"
gitlab_unicorn_image_repository
=
"
${
IMAGE_REPOSITORY
}
/gitlab-webservice-
ee
"
gitlab_task_runner_image_repository
=
"
${
IMAGE_REPOSITORY
}
/gitlab-task-runner-
ee
"
gitlab_gitaly_image_repository
=
"
${
IMAGE_REPOSITORY
}
/gitaly"
gitlab_shell_image_repository
=
"
${
IMAGE_REPOSITORY
}
/gitlab-shell"
gitlab_workhorse_image_repository
=
"
${
IMAGE_REPOSITORY
}
/gitlab-workhorse-
${
edition
}
"
gitlab_workhorse_image_repository
=
"
${
IMAGE_REPOSITORY
}
/gitlab-workhorse-
ee
"
create_application_secret
...
...
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