Skip to content

Commit

Permalink
chore: remove the latest snapshot service
Browse files Browse the repository at this point in the history
  • Loading branch information
LesnyRumcajs committed Jul 15, 2024
1 parent c928f5f commit 743f0e4
Show file tree
Hide file tree
Showing 50 changed files with 7 additions and 2,923 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/deploy-cf-latest-snapshot.yml

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/deploy-cf-prune-latest.yml

This file was deleted.

51 changes: 0 additions & 51 deletions .github/workflows/deploy-daily-snapshot.yml

This file was deleted.

57 changes: 0 additions & 57 deletions .github/workflows/snapshot-service-image.yml

This file was deleted.

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,7 @@ Feel free to contribute to the codebase by resolving any open issues, refactorin

## Questions
Feel free to contact the team by creating an issue or raising a discussion [here](https://github.com/ChainSafe/forest/discussions) for more details on interacting with the infrastructure if the need arises during deployment.

## Past Snapshot Service

The snapshot service offered by the Forest team was transferred to the ChainSafe's infrastructure team for maintenance and further development. The previous implementation can be found [here](https://github.com/ChainSafe/forest-iac/pull/459).
2 changes: 1 addition & 1 deletion cf/forest-snapshot-listing/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Snapshot listing worker

This worker acts on endpoints at `https://forest-internal.chainsafe.dev/list**` and will list objects with `diff`, `lite`, and `latest` prefixes.
This worker acts on endpoints at `https://forest-internal.chainsafe.dev/list**` and will list objects with `diff` and `lite` prefixes.

# Local deployment

Expand Down
6 changes: 0 additions & 6 deletions cf/forest-snapshot-listing/src/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,8 @@ export default {
<ul>
<li><a href="/list/calibnet/diff">Calibnet Diffs</a></li>
<li><a href="/list/calibnet/lite">Calibnet Lite</a></li>
<li><a href="/list/calibnet/latest">Calibnet Latest</a></li>
<li><a href="/list/mainnet/diff">Mainnet Diffs</a></li>
<li><a href="/list/mainnet/lite">Mainnet Lite</a></li>
<li><a href="/list/mainnet/latest">Mainnet Latest</a></li>
</ul>
</body>`;
return new Response(html, {
Expand All @@ -79,10 +77,6 @@ export default {
return do_listing(env, 'mainnet/lite');
case '/list/calibnet/lite':
return do_listing(env, 'calibnet/lite');
case '/list/mainnet/latest':
return do_listing(env, 'mainnet/latest');
case '/list/calibnet/latest':
return do_listing(env, 'calibnet/latest');
default:
return new Response(`url: ${pathname}`);
}
Expand Down
13 changes: 0 additions & 13 deletions cf/latest-snapshot/.editorconfig

This file was deleted.

1 change: 0 additions & 1 deletion cf/latest-snapshot/.gitignore

This file was deleted.

19 changes: 0 additions & 19 deletions cf/latest-snapshot/.prettierrc

This file was deleted.

16 changes: 0 additions & 16 deletions cf/latest-snapshot/README.md

This file was deleted.

Loading

0 comments on commit 743f0e4

Please sign in to comment.