Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing labels permissions, fix tilt ci from ops-devenv, fix expensive e2e tests #4842

Merged
merged 25 commits into from
Aug 19, 2024

Conversation

brojd
Copy link
Contributor

@brojd brojd commented Aug 16, 2024

What this PR does

  • add missing labels-related permissions for external service account used by new oncall init process
  • fix expensive e2e tests in new oncall init process
  • unify Grafana versions between standard and expensive e2e tests
  • fix running tilt through ops-devenv in new oncall init process
  • avoid duplicated standard e2e tests on workflows that run daily and on merges to main

Which issue(s) this PR closes

Related to https://github.com/grafana/oncall-private/issues/2656

Checklist

  • Unit, integration, and e2e (if applicable) tests updated
  • Documentation added (or pr:no public docs PR label added if not required)
  • Added the relevant release notes label (see labels prefixed w/ release:). These labels dictate how your PR will
    show up in the autogenerated release notes.

import { test, expect } from '../fixtures';
import { clickButton, generateRandomValidLabel, openDropdown } from '../utils/forms';
import { openCreateIntegrationModal } from '../utils/integrations';
import { goToOnCallPage } from '../utils/navigation';

test.skip(
() => semver.gt(process.env.CURRENT_GRAFANA_VERSION, '10.3.0'),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit what about moving all mentions of process.env.CURRENT_GRAFANA_VERSION to grafana-plugin/e2e-tests/utils/constants.ts?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, will do it now

@mderynck mderynck enabled auto-merge August 19, 2024 18:14
@mderynck mderynck added this pull request to the merge queue Aug 19, 2024
Merged via the queue into dev with commit 344cd0e Aug 19, 2024
24 checks passed
@mderynck mderynck deleted the brojd/fix-expensive-e2e-tests branch August 19, 2024 18:22
brojd added a commit that referenced this pull request Sep 18, 2024
…pensive e2e tests (#4842)

# What this PR does

- add missing labels-related permissions for external service account
used by new oncall init process
- fix expensive e2e tests in new oncall init process
- unify Grafana versions between standard and expensive e2e tests
- fix running tilt through ops-devenv in new oncall init process
- avoid duplicated standard e2e tests on workflows that run daily and on
merges to main

## Which issue(s) this PR closes

Related to grafana/oncall-private#2656

<!--
*Note*: If you want the issue to be auto-closed once the PR is merged,
change "Related to" to "Closes" in the line above.
If you have more than one GitHub issue that this PR closes, be sure to
preface
each issue link with a [closing
keyword](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests#linking-a-pull-request-to-an-issue).
This ensures that the issue(s) are auto-closed once the PR has been
merged.
-->

## Checklist

- [x] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] Added the relevant release notes label (see labels prefixed w/
`release:`). These labels dictate how your PR will
    show up in the autogenerated release notes.

---------

Co-authored-by: Joey Orlando <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:no public docs Added to a PR that does not require public documentation updates release:ignore PR will not be added to release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants