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

appliance: initial smoke testing harness#62731

Merged
craigfurman merged 1 commit into
mainfrom
appliance-initial-smoke-tests
May 20, 2024
Merged

appliance: initial smoke testing harness#62731
craigfurman merged 1 commit into
mainfrom
appliance-initial-smoke-tests

Conversation

@craigfurman

@craigfurman craigfurman commented May 16, 2024

Copy link
Copy Markdown
Contributor

Early work for https://linear.app/sourcegraph/issue/REL-23/developer-smoke-testing-setup-with-a-real-kubernetes. It doesn't finish the issue. I suspect the output of that issue will actually be to split more sub-issues for the TODOs in here.

Test plan

This PR adds tests, although these are early WIP and are not run in CI yet. This is basically just adding a harness.

@cla-bot cla-bot Bot added the cla-signed label May 16, 2024

craigfurman commented May 16, 2024

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @craigfurman and the rest of your teammates on Graphite Graphite

Comment thread internal/appliance/config/dev_mode.go Outdated

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

We can imagine calling this from the appliance frontend (the appliance application, as opposed to the kubernetes reconciler/operator) in response to an admin checking a "dev mode" box on the setup web form.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice, I like this better than what we had before in the reconciler 💯

Comment on lines 48 to 58

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This is a lot of work, and I plan to split sub-issues for these.

@craigfurman craigfurman requested a review from jdpleiness May 20, 2024 10:12
@craigfurman craigfurman marked this pull request as ready for review May 20, 2024 10:13
@craigfurman craigfurman force-pushed the appliance-refactor-packages branch from 2643a32 to f6418d1 Compare May 20, 2024 11:52
@craigfurman craigfurman force-pushed the appliance-initial-smoke-tests branch from d5d7bf3 to 6f361ee Compare May 20, 2024 11:52
Base automatically changed from appliance-refactor-packages to main May 20, 2024 15:53
@craigfurman craigfurman force-pushed the appliance-initial-smoke-tests branch from 6f361ee to 9d18e16 Compare May 20, 2024 15:53
Very early WIP. Add a go test suite for appliance smoke tests. These
tests will be skipped in CI while we figure out what we want smoke tests
to do, and in what context they run. We may decide to put them behind an
`sg` or possibly `src` subcommand.
@craigfurman craigfurman force-pushed the appliance-initial-smoke-tests branch from 9d18e16 to a5c7b82 Compare May 20, 2024 16:05
@craigfurman craigfurman merged commit d8cc950 into main May 20, 2024
@craigfurman craigfurman deleted the appliance-initial-smoke-tests branch May 20, 2024 16:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants