Skip to content

Conversation

@GeekaN2
Copy link
Member

@GeekaN2 GeekaN2 commented Aug 26, 2021

Added a script to make it a little easier to send comments to the collector. The first step towards cli

@GeekaN2 GeekaN2 requested review from neSpecc and nikmel2803 August 26, 2021 17:01
**Current implementation supports only single Rabbit prefetch count (SIMULTANEOUS_TASKS=1)**

## Source maps delivery scheme
## Delivery scheme
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
## Delivery scheme
## Release delivery scheme

1. User wants to deploy project
2. He runs deploy script on the server and it runs static builder, for example Webpack.
3. After Webpack finished his job, our [Webpack Plugin](https://github.com/codex-team/hawk.webpack.plugin) gets a source maps for new bundles and sends them to us.

Copy link
Member

Choose a reason for hiding this comment

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

add item about commits


4. Collector accepts file and give a task for ReleaseWorker for saving it to DB
5. ReleaseWorker saves it to DB.
4. Collector accepts files and give a task for ReleaseWorker for saving it to the database.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
4. Collector accepts files and give a task for ReleaseWorker for saving it to the database.
4. Collector accepts commits and source map files and give a task for ReleaseWorker for saving it to the database.

5. ReleaseWorker saves commits and source maps to the database.

## Script for sending comments
To make it easier to send commits, you can use a [shell script](./scripts/commits.sh) that will take the last few commits and send them to the collector
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
To make it easier to send commits, you can use a [shell script](./scripts/commits.sh) that will take the last few commits and send them to the collector
To make it easier to send commits, you can use a [shell script](./scripts/commits.sh) that will take the last few commits and send them to the collector

@@ -0,0 +1,92 @@
#!/bin/sh
Copy link
Member

Choose a reason for hiding this comment

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

move it to the separate repository (hawk-release for example), because it is not related to workers.

@GeekaN2
Copy link
Member Author

GeekaN2 commented Dec 21, 2021

Closed in codex-team/hawk.releases#1

@GeekaN2 GeekaN2 closed this Dec 21, 2021
@neSpecc neSpecc reopened this Dec 21, 2021
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.

3 participants