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]
|
[tasks.build-all]
|
||||||
workspace = false
|
workspace = false
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"delete-images",
|
# "delete-images",
|
||||||
"build-abandoned-checkouts",
|
"build-abandoned-checkouts",
|
||||||
"build-stripe",
|
"build-stripe",
|
||||||
"build-klarna",
|
"build-klarna",
|
||||||
|
@ -47,8 +47,8 @@ dependencies = [
|
||||||
"build-products-feed",
|
"build-products-feed",
|
||||||
"build-search",
|
"build-search",
|
||||||
# "build-segment", -- Error: Unable to find 'schema-ast'
|
# "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-slack",
|
||||||
# "build-smtp", -- 8.542 smtp:build: Type error: Cannot find module './redis_apl' or its corresponding type declarations.
|
"build-smtp",
|
||||||
"build-taxjar",
|
"build-taxjar",
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
|
@ -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>
|
<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
|
# 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.
|
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:
|
Current apps in repo:
|
||||||
|
|
||||||
- saleor/apps
|
- saleor/apps
|
||||||
- avatax
|
- avatax
|
||||||
- cms-v2¹
|
- cms-v2¹
|
||||||
|
@ -15,8 +17,8 @@ Current apps in repo:
|
||||||
- products-feed
|
- products-feed
|
||||||
- search
|
- search
|
||||||
- segment¹
|
- segment¹
|
||||||
- slack¹
|
- slack
|
||||||
- smtp¹
|
- smtp
|
||||||
- taxjar
|
- taxjar
|
||||||
- saelor/abandoned-checkouts
|
- saelor/abandoned-checkouts
|
||||||
- saelor/payment-stripe
|
- saelor/payment-stripe
|
||||||
|
@ -73,14 +75,17 @@ networks:
|
||||||
```
|
```
|
||||||
|
|
||||||
## 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.
|
- `./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>`
|
- `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".
|
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
|
Then you can do
|
||||||
|
|
||||||
- `cargo make push-all` or `APP=<Chosen app> cargo make push`
|
- `cargo make push-all` or `APP=<Chosen app> cargo make push`
|
||||||
|
|
||||||
## Prerequisites
|
## Prerequisites
|
||||||
|
|
||||||
- cargo
|
- cargo
|
||||||
- cargo-make
|
- cargo-make
|
||||||
- linux shell (bash)
|
- linux shell (bash)
|
||||||
|
|
|
@ -105,5 +105,6 @@ done
|
||||||
|
|
||||||
# Individual patches
|
# Individual patches
|
||||||
cd ./all_apps/apps
|
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"
|
cd "$CURR_PWD"
|
||||||
|
|
Loading…
Reference in a new issue