Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
parent
30340141d5
commit
df6d6623fa
|
@ -260,3 +260,14 @@ export const trackAddToCartUsageTab = () => {
|
|||
});
|
||||
});
|
||||
};
|
||||
|
||||
export const trackCombinedGroupProjectForm = () => {
|
||||
if (!isSupported()) {
|
||||
return;
|
||||
}
|
||||
|
||||
const form = document.querySelector('.js-groups-projects-form');
|
||||
form.addEventListener('submit', () => {
|
||||
pushEvent('combinedGroupProjectFormSubmit');
|
||||
});
|
||||
};
|
||||
|
|
|
@ -25,9 +25,8 @@ configuration added with the [`includes` keyword](yaml/index.md#include).
|
|||
To check CI/CD configuration with the CI lint tool:
|
||||
|
||||
1. On the top bar, select **Menu > Projects** and find your project.
|
||||
1. On the left sidebar, select one of:
|
||||
1. On the left sidebar, select:
|
||||
- **CI/CD > Pipelines**
|
||||
- **CI/CD > Jobs**
|
||||
1. In the top right, select **CI lint**.
|
||||
1. Paste a copy of the CI/CD configuration you want to check into the text box.
|
||||
1. Select **Validate**.
|
||||
|
@ -48,9 +47,8 @@ Prerequisites:
|
|||
To simulate a pipeline:
|
||||
|
||||
1. On the top bar, select **Menu > Projects** and find your project.
|
||||
1. On the left sidebar, select one of:
|
||||
1. On the left sidebar, select:
|
||||
- **CI/CD > Pipelines**
|
||||
- **CI/CD > Jobs**
|
||||
1. In the top right, select **CI lint**.
|
||||
1. Paste a copy of the CI/CD configuration you want to check into the text box.
|
||||
1. Select **Simulate pipeline creation for the default branch**.
|
||||
|
|
|
@ -55,3 +55,14 @@ An advanced example of an OpenMetrics text file (from the [Prometheus documentat
|
|||
renders in the merge request widget as:
|
||||
|
||||
![Metrics Reports Advanced](img/metrics_reports_advanced_v13_0.png)
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Metrics reports did not change
|
||||
|
||||
You can see `Metrics reports did not change` when trying to view metrics reports in merge requests. Reasons for this are:
|
||||
|
||||
- The target branch for the merge request doesn't have a baseline metrics report for comparison.
|
||||
- You don't have GitLab license at the Premium tier or above.
|
||||
|
||||
There is [an issue open](https://gitlab.com/gitlab-org/gitlab/-/issues/343065) to improve this message.
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import { merge } from 'lodash';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import {
|
||||
trackCombinedGroupProjectForm,
|
||||
trackFreeTrialAccountSubmissions,
|
||||
trackNewRegistrations,
|
||||
trackSaasTrialSubmit,
|
||||
|
@ -200,6 +201,14 @@ describe('~/google_tag_manager/index', () => {
|
|||
},
|
||||
],
|
||||
}),
|
||||
createTestCase(trackCombinedGroupProjectForm, {
|
||||
forms: [
|
||||
{
|
||||
cls: 'js-groups-projects-form',
|
||||
expectation: { event: 'combinedGroupProjectFormSubmit' },
|
||||
},
|
||||
],
|
||||
}),
|
||||
])('%p', (subject, { links = [], forms = [], expectedEvents }) => {
|
||||
beforeEach(() => {
|
||||
setHTMLFixture(createHTML({ links, forms }));
|
||||
|
|
Loading…
Reference in New Issue