Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
76784ebd4a
commit
47a2a65f34
5 changed files with 12 additions and 6 deletions
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: Adds PostHog as a CI/CD Managed Application
|
||||||
|
merge_request: 32856
|
||||||
|
author:
|
||||||
|
type: added
|
|
@ -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
|
or yum. Also note that the GitLab scripts we used below were added
|
||||||
in GitLab 8.1.
|
in GitLab 8.1.
|
||||||
|
|
||||||
** This process does not clean up repositories at the target location that no
|
**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
|
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`
|
`/mnt/gitlab/repositories`, you need to run `gitlab-rake gitlab:cleanup:repos`
|
||||||
after switching to the new repository storage directory.
|
after switching to the new repository storage directory.
|
||||||
|
|
||||||
|
|
|
@ -101,7 +101,7 @@ Where:
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
```shell
|
```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
|
### Add NuGet Repository source with Visual Studio
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
apply:
|
apply:
|
||||||
stage: deploy
|
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:
|
environment:
|
||||||
name: production
|
name: production
|
||||||
variables:
|
variables:
|
||||||
|
@ -19,6 +19,7 @@ apply:
|
||||||
CROSSPLANE_VALUES_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/crossplane/values.yaml
|
CROSSPLANE_VALUES_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/crossplane/values.yaml
|
||||||
FLUENTD_VALUES_FILE: $CI_PROJECT_DIR/.gitlab/managed-apps/fluentd/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
|
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:
|
script:
|
||||||
- gitlab-managed-apps /usr/local/share/gitlab-managed-apps/helmfile.yaml
|
- gitlab-managed-apps /usr/local/share/gitlab-managed-apps/helmfile.yaml
|
||||||
only:
|
only:
|
||||||
|
|
|
@ -204,7 +204,7 @@ describe Gitlab::ReferenceExtractor do
|
||||||
issue]
|
issue]
|
||||||
end
|
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}")
|
subject.analyze("JIRA-123 and FOOBAR-4567 and ##{non_existing_record_iid}")
|
||||||
expect(subject.issues).to eq [ExternalIssue.new('JIRA-123', project),
|
expect(subject.issues).to eq [ExternalIssue.new('JIRA-123', project),
|
||||||
ExternalIssue.new('FOOBAR-4567', project)]
|
ExternalIssue.new('FOOBAR-4567', project)]
|
||||||
|
@ -236,7 +236,7 @@ describe Gitlab::ReferenceExtractor do
|
||||||
expect(subject.issues).to eq([issue])
|
expect(subject.issues).to eq([issue])
|
||||||
end
|
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")
|
subject.analyze("JIRA-123 and FOOBAR-4567 and #999")
|
||||||
expect(subject.issues).to be_empty
|
expect(subject.issues).to be_empty
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue