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

Full integration tests #9

Closed
1 of 6 tasks
vasco-santos opened this issue Nov 14, 2022 · 0 comments · Fixed by #126
Closed
1 of 6 tasks

Full integration tests #9

vasco-santos opened this issue Nov 14, 2022 · 0 comments · Fixed by #126
Assignees
Labels
P0 Critical: Tackled by core team ASAP
Milestone

Comments

@vasco-santos
Copy link
Contributor

vasco-santos commented Nov 14, 2022

As follow up from #4 , we need to look into having proper integration tests running the API Stack.

This can be decoupled in:

@alanshaw alanshaw added the P2 Medium: Good to have, but can wait until someone steps up label Nov 22, 2022
@vasco-santos vasco-santos added P0 Critical: Tackled by core team ASAP and removed P2 Medium: Good to have, but can wait until someone steps up labels Jan 5, 2023
@alanshaw alanshaw added this to the w3up phase 2 milestone Jan 9, 2023
vasco-santos added a commit that referenced this issue Jan 13, 2023
Adds integration tests with `w3up-client` to test:
- ucanto flows for `store/add`, `upload/add`, `upload/remove` and
`upload/list` by using `client.uploadFile`, `client.capabilities.remove`
and `client.capabilities.list`
- add to DUDEWHERE on `upload/add` happens

Other details:
- New environmental variable for local integration tests added
- CI secrets setup according to
https://gist.github.com/alanshaw/e949abfcf6728f590ac9fa083dba5648 and
added in 1password
- set seed.run CI to node18 to be able to use w3up-client in CI

Decisions made:
- we rely on random CAR generation to guarantee that always new things
are written (in dudewhere for example). This will mean that we will end
up with a lot of content generated in CF staging buckets by dudewhere
and replicator for these tests. We should as follow up look into
automate a GC for staging resources

Second part of #9
vasco-santos added a commit that referenced this issue Jan 17, 2023
Adds integration tests for remaining sst stacks. It includes:
- Check carpark bucket got car file written into
- Check satnav stack did its thing and created side index file for
uploaded CAR
- Check replicator did its thing, getting CAR replicated to CF carpark,
as well as satnav side index

Needs:
- [x] Follow up of #125

Closes #9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 Critical: Tackled by core team ASAP
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants