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

feat(examples): Migrates remaining go examples from monorepo #53

Merged
merged 2 commits into from
Dec 19, 2024

Conversation

thomastaylor312
Copy link
Contributor

This moves the two examples that weren't moved from the monorepo. This also adds tests and adds simple smoke tests for each component. I also modified the examples job to run once per week to ensure things don't go stale with new versions of wash

@thomastaylor312 thomastaylor312 requested a review from a team as a code owner December 18, 2024 01:09
@thomastaylor312
Copy link
Contributor Author

As a note, I only updated docs of the examples I moved over. My next follow up will be updating the docs for the other examples

@thomastaylor312 thomastaylor312 force-pushed the feat/migrate_examples branch 3 times, most recently from 8e1f3a4 to 73b33ea Compare December 18, 2024 01:35
Copy link
Member

@joonas joonas left a comment

Choose a reason for hiding this comment

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

We need to figure out a different way to handle deploying the components if that's something that's going to be tested as part of the pipeline, the bash script that's used in the main repository is super flaky and I would rather not introduce that into this repo's CI.

@thomastaylor312 thomastaylor312 force-pushed the feat/migrate_examples branch 2 times, most recently from b8988ff to f1fb78a Compare December 18, 2024 17:59
This moves the two examples that weren't moved from the monorepo. This
also adds tests and adds simple smoke tests for each component. I also
modified the examples job to run once per week to ensure things don't go
stale with new versions of `wash`

Signed-off-by: Taylor Thomas <[email protected]>
@thomastaylor312
Copy link
Contributor Author

For reference, I was looking at many of the recent flakes in the main repo and all of them seem to fail with

+ wash app deploy local.wadm.yaml

Connection succeeded to lattice but no wadm server was listening. Ensure wadm is running.

I think my new way of doing it solves this issue

.github/workflows/component-go.yaml Outdated Show resolved Hide resolved
.github/workflows/component-go.yaml Outdated Show resolved Hide resolved
examples/component/http-password-checker/go.mod Outdated Show resolved Hide resolved
examples/component/http-password-checker/wadm.yaml Outdated Show resolved Hide resolved
examples/component/sqldb-postgres-query/.gitignore Outdated Show resolved Hide resolved
examples/component/http-password-checker/wadm.yaml Outdated Show resolved Hide resolved
examples/component/sqldb-postgres-query/go.mod Outdated Show resolved Hide resolved
examples/component/sqldb-postgres-query/wadm.yaml Outdated Show resolved Hide resolved
examples/component/sqldb-postgres-query/wadm.yaml Outdated Show resolved Hide resolved
@thomastaylor312 thomastaylor312 merged commit 541ea59 into wasmCloud:main Dec 19, 2024
14 checks passed
@thomastaylor312 thomastaylor312 deleted the feat/migrate_examples branch December 19, 2024 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants