Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot 2020-05-26 06:08:20 +00:00
parent 76784ebd4a
commit 47a2a65f34
5 changed files with 12 additions and 6 deletions

View file

@ -0,0 +1,5 @@
---
title: Adds PostHog as a CI/CD Managed Application
merge_request: 32856
author:
type: added

View file

@ -85,8 +85,8 @@ not included in GitLab so you need to install it yourself with apt
or yum. Also note that the GitLab scripts we used below were added
in GitLab 8.1.
** This process does not clean up repositories at the target location that no
longer exist at the source. ** If you start using your GitLab instance with
**This process does not clean up repositories at the target location that no
longer exist at the source.** If you start using your GitLab instance with
`/mnt/gitlab/repositories`, you need to run `gitlab-rake gitlab:cleanup:repos`
after switching to the new repository storage directory.

View file

@ -101,7 +101,7 @@ Where:
For example:
```shell
nuget source Add -Name "GitLab" -Source "https//gitlab.example/api/v4/projects/10/packages/nuget/index.json" -UserName carol -Password 12345678asdf
nuget source Add -Name "GitLab" -Source "https://gitlab.example/api/v4/projects/10/packages/nuget/index.json" -UserName carol -Password 12345678asdf
```
### Add NuGet Repository source with Visual Studio

View file

@ -1,6 +1,6 @@
apply:
stage: deploy
image: "registry.gitlab.com/gitlab-org/cluster-integration/cluster-applications:v0.15.0"
image: "registry.gitlab.com/gitlab-org/cluster-integration/cluster-applications:v0.16.0"
environment:
name: production
variables:
@ -19,6 +19,7 @@ apply:
CROSSPLANE_VALUES_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/crossplane/values.yaml
FLUENTD_VALUES_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/fluentd/values.yaml
KNATIVE_VALUES_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/knative/values.yaml
POSTHOG_VALUES_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/posthog/values.yaml
script:
- gitlab-managed-apps /usr/local/share/gitlab-managed-apps/helmfile.yaml
only:

View file

@ -204,7 +204,7 @@ describe Gitlab::ReferenceExtractor do
issue]
end
it 'returns only Jira issues if the internal one does not exists' do
it 'returns only Jira issues if the internal one does not exist' do
subject.analyze("JIRA-123 and FOOBAR-4567 and ##{non_existing_record_iid}")
expect(subject.issues).to eq [ExternalIssue.new('JIRA-123', project),
ExternalIssue.new('FOOBAR-4567', project)]
@ -236,7 +236,7 @@ describe Gitlab::ReferenceExtractor do
expect(subject.issues).to eq([issue])
end
it 'does not return any issue if the internal one does not exists' do
it 'does not return any issue if the internal one does not exist' do
subject.analyze("JIRA-123 and FOOBAR-4567 and #999")
expect(subject.issues).to be_empty
end