-
-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add back RabbitMQ-based worker (#1513)
* Make docker work * fix dockers * fix * use examples * remove env * env * Make it work e2e * almost work * works * try * try * use --bin * typo * skip windows
- Loading branch information
1 parent
41ad9e6
commit de75ece
Showing
29 changed files
with
2,063 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,6 @@ | |
.vscode | ||
ci | ||
target/ | ||
Dockerfile | ||
fly.toml | ||
Dockerfile.* | ||
docs/ | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
# Copy this file to .env | ||
# ```bash | ||
# cp .env.example | ||
# cp .env.example .env | ||
# ``` | ||
# | ||
# Then tweak the values to match your desired config. | ||
|
||
RUST_LOG=reacher=info | ||
SQLX_OFFLINE=1 | ||
SQLX_OFFLINE=true | ||
RCH_WEBDRIVER_ADDR=http://localhost:9515 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: deploy_worker | ||
|
||
on: | ||
push: | ||
tags: | ||
- "worker/v*.*.*" | ||
|
||
jobs: | ||
docker-publish: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Set GITHUB_TAG arg | ||
id: vars | ||
run: echo ::set-output name=GITHUB_TAG::${GITHUB_REF:17} # Remove /refs/head/worker/ | ||
- name: Print version | ||
run: echo "Publishing reacherhq/worker:${{ steps.vars.outputs.GITHUB_TAG }}" | ||
- name: Publish to Registry | ||
uses: elgohr/Publish-Docker-Github-Action@v5 | ||
with: | ||
name: reacherhq/worker | ||
dockerfile: docker/Dockerfile.worker | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
tags: "${{ steps.vars.outputs.GITHUB_TAG }},beta" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
.sqlx/query-030e82770e9458ee745aa647eba42da57167a810dd708d991e3dfdff32217273.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
.sqlx/query-a1f7a67d3708b8cf74361c33bfdd1dcbe9938a78b6c4ff550336ee4d16eb3ff3.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.