Skip to content

Commit

Permalink
P 419 deploy automation (#2466)
Browse files Browse the repository at this point in the history
* Small update to GHA and versioning

* use DOCKER_TAG

* set env

* fix bugs in deploy sh

* update the package version of sidechain-api

* refactor deploy.sh and based on deploy.sh, create new prod_deploy.sh

* refactor deploy.sh and based on deploy.sh, create new prod_deploy.sh

* rm not used files

* check and load env file for worker

* minor improvement during debugging

* move production deploy to private repo

* move development deploy to private repo

* This should only be a warn message.

* fix: load local file

* rm accidentally committed file

---------

Co-authored-by: Kailai Wang <Kailai.Wang@hotmail.com>
Co-authored-by: Kai <7630809+Kailai-Wang@users.noreply.github.com>
Co-authored-by: Zhouhui Tian <125243011+zhouhuitian@users.noreply.github.com>
  • Loading branch information
4 people committed Feb 6, 2024
1 parent 94bd3a7 commit 4d7fdcb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 28 deletions.
27 changes: 0 additions & 27 deletions tee-worker/local-setup/internal-one.json

This file was deleted.

2 changes: 1 addition & 1 deletion tee-worker/local-setup/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def setup_environment(offset, config, parachain_dir):
if not os.path.isfile("./local-setup/.env"):
shutil.copy("./local-setup/.env.dev", "./local-setup/.env")

load_dotenv("./local-setup/.env.dev")
load_dotenv("./local-setup/.env")
offset_port(offset)
check_all_ports_and_reallocate()

Expand Down

0 comments on commit 4d7fdcb

Please sign in to comment.