slack, smtp builds
This commit is contained in:
parent
03bc3570cc
commit
eca327af9e
3 changed files with 15 additions and 9 deletions
|
@ -32,7 +32,7 @@ alias = "build-all"
|
|||
[tasks.build-all]
|
||||
workspace = false
|
||||
dependencies = [
|
||||
"delete-images",
|
||||
# "delete-images",
|
||||
"build-abandoned-checkouts",
|
||||
"build-stripe",
|
||||
"build-klarna",
|
||||
|
@ -47,8 +47,8 @@ dependencies = [
|
|||
"build-products-feed",
|
||||
"build-search",
|
||||
# "build-segment", -- Error: Unable to find 'schema-ast'
|
||||
# "build-slack", -- Error: 5.551 slack:build: Type error: Type '"redis"' is not comparable to type '"file" | "upstash" | "saleor-cloud"'.
|
||||
# "build-smtp", -- 8.542 smtp:build: Type error: Cannot find module './redis_apl' or its corresponding type declarations.
|
||||
"build-slack",
|
||||
"build-smtp",
|
||||
"build-taxjar",
|
||||
|
||||
]
|
||||
|
|
15
README.md
15
README.md
|
@ -1,9 +1,11 @@
|
|||
<a href='https://ko-fi.com/A0A8Q3SVZ' target='_blank'><img height='36' style='border:0px;height:36px;' src='https://storage.ko-fi.com/cdn/kofi4.png?v=3' border='0' alt='Buy Me a Coffee at ko-fi.com' /></a>
|
||||
|
||||
# Automatic Dockerization of official Saleor app
|
||||
|
||||
In this repo I created bash scripts and modifications to Saleor that allow for building docker images with a few commands, while staying uptodate with upstream saleor repos.
|
||||
|
||||
Current apps in repo:
|
||||
|
||||
- saleor/apps
|
||||
- avatax
|
||||
- cms-v2¹
|
||||
|
@ -15,8 +17,8 @@ Current apps in repo:
|
|||
- products-feed
|
||||
- search
|
||||
- segment¹
|
||||
- slack¹
|
||||
- smtp¹
|
||||
- slack
|
||||
- smtp
|
||||
- taxjar
|
||||
- saelor/abandoned-checkouts
|
||||
- saelor/payment-stripe
|
||||
|
@ -31,7 +33,7 @@ All apps from saleor/apps are upwards of 1.5gb in size, because of [this pnpm wo
|
|||
|
||||
# How to use
|
||||
|
||||
These images include RedisAPL, and that's what I recommend to use it with. Besides that, use it like any other docker image.
|
||||
These images include RedisAPL, and that's what I recommend to use it with. Besides that, use it like any other docker image.
|
||||
For example:
|
||||
|
||||
```yml
|
||||
|
@ -72,19 +74,22 @@ networks:
|
|||
driver: bridge
|
||||
```
|
||||
|
||||
## How to build
|
||||
## How to build
|
||||
|
||||
- `./changes.sh` - applies git patches and batch edits via rust to add RedisAPL to all apps, and allow them to build via other tweaks.
|
||||
- `cargo make build-all` or `cargo make build-<Chosen app>`
|
||||
|
||||
if you want to push built images to a repo, change the top env `CONTAINER_PUSH_URL` to your repo, for example "ghcr.io/djkato".
|
||||
Then you can do
|
||||
|
||||
- `cargo make push-all` or `APP=<Chosen app> cargo make push`
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- cargo
|
||||
- cargo-make
|
||||
- linux shell (bash)
|
||||
- rust stuff
|
||||
- git
|
||||
|
||||
Thanks Saleor for providing all these apps. Shame Saleor refuses to containerize them officially. Hope this repo helps you. If it does, consider buying me a langosz (donation button on top)!
|
||||
Thanks Saleor for providing all these apps. Shame Saleor refuses to containerize them officially. Hope this repo helps you. If it does, consider buying me a langosz (donation button on top)!
|
||||
|
|
|
@ -105,5 +105,6 @@ done
|
|||
|
||||
# Individual patches
|
||||
cd ./all_apps/apps
|
||||
git appy "$CURR_PWD/patches/apps/slack/env.d.ts.patch"
|
||||
git apply "$CURR_PWD/patches/apps/slack/env.d.ts.patch"
|
||||
echo "patched apps/slacks env.d.ts"
|
||||
cd "$CURR_PWD"
|
||||
|
|
Loading…
Reference in a new issue