Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

chore(appliance): remove grafana fixtures from most golden tests#63659

Merged
craigfurman merged 1 commit into
mainfrom
appliance-fix-grafana-testdata
Jul 9, 2024
Merged

chore(appliance): remove grafana fixtures from most golden tests#63659
craigfurman merged 1 commit into
mainfrom
appliance-fix-grafana-testdata

Conversation

@craigfurman

@craigfurman craigfurman commented Jul 5, 2024

Copy link
Copy Markdown
Contributor

Disable grafana in all non-grafana input fixtures, which causes grafana
to be removed from most golden fixtures. This follows a pattern we've
been using for most service tests: disabling all on-by-default services
except the one under test, to make compare-helm diffs easier to read.

find internal/appliance/reconciler/testdata/sg -name '*.yaml' | \
  xargs sed -Ei '/gitServer:/i\  grafana:\n    disabled: true\n'

Fixes https://github.com/sourcegraph/sourcegraph/pull/63535#issuecomment-2207724318


Draft until base branch merged, but can be reviewed independently.

Test plan

This is a cleanup chore for tests.

Changelog

@craigfurman craigfurman added the no-changelog Exclude this PR from the next changelog. label Jul 5, 2024
@craigfurman craigfurman requested review from a team and jdpleiness and removed request for a team July 5, 2024 08:08
@cla-bot cla-bot Bot added the cla-signed label Jul 5, 2024
@craigfurman craigfurman changed the base branch from main to appliance-fix-opt-in-services July 5, 2024 08:08
Base automatically changed from appliance-fix-opt-in-services to main July 5, 2024 18:58
Disable grafana in all non-grafana input fixtures, which causes grafana
to be removed from most golden fixtures. This follows a pattern we've
been using for most service tests: disabling all on-by-default services
except the one under test, to make compare-helm diffs easier to read.

```
find internal/appliance/reconciler/testdata/sg -name '*.yaml' | \
  xargs sed -Ei '/gitServer:/i\  grafana:\n    disabled: true\n'
```
@craigfurman craigfurman force-pushed the appliance-fix-grafana-testdata branch from b315359 to 5830a20 Compare July 8, 2024 07:52
@craigfurman craigfurman marked this pull request as ready for review July 8, 2024 07:52
@craigfurman craigfurman merged commit 0863740 into main Jul 9, 2024
@craigfurman craigfurman deleted the appliance-fix-grafana-testdata branch July 9, 2024 07:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed no-changelog Exclude this PR from the next changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants