Skip to content

Commit

Permalink
fix(ci): release of scheduler with the installer bundle (#27)
Browse files Browse the repository at this point in the history
Signed-off-by: mikeee <hey@mike.ee>
  • Loading branch information
mikeee authored Aug 29, 2024
1 parent 1973a3f commit 5d9f5ae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/scripts/build_daprbundle.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
SENTRY_FILENAME="sentry"
DASHBOARD_FILENAME="dashboard"
CLI_FILENAME="dapr"
SCHEDULER_FILENAME="scheduler"
DAPRBUNDLE_FILENAME="daprbundle"

BIN_DIR="dist"
Expand Down Expand Up @@ -137,6 +138,7 @@ def downloadBinaries(dir):
downloadBinary(GITHUB_DAPR_REPO,DAPRD_FILENAME,runtime_ver,bin_dir)
downloadBinary(GITHUB_DAPR_REPO,PLACEMENT_FILENAME,runtime_ver,bin_dir)
downloadBinary(GITHUB_DAPR_REPO,SENTRY_FILENAME,runtime_ver,bin_dir)
downloadBinary(GITHUB_DAPR_REPO,SCHEDULER_FILENAME,runtime_ver,bin_dir)
downloadBinary(GITHUB_DASHBOARD_REPO,DASHBOARD_FILENAME,dashboard_ver,bin_dir)
downloadBinary(GITHUB_CLI_REPO,CLI_FILENAME,cli_ver,dir)

Expand Down Expand Up @@ -168,7 +170,7 @@ def downloadDockerImage(image_name, version, out_dir):
if(completed_process.returncode != 0):
print(f"Error pulling docker image {docker_image}")
sys.exit(1)

cmd = ["docker", "save", "-o", downloadPath, docker_image]
completed_process = subprocess.run(cmd,text=True)
if(completed_process.returncode != 0):
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ daprbundle
│   ├── dashboard_<runtime_os>_<runtime_arch>.tar.gz (`.zip` for windows)
│   ├── placement_<runtime_os>_<runtime_arch>.tar.gz (`.zip` for windows)
│   ├── sentry_<runtime_os>_<runtime_arch>.tar.gz (`.zip` for windows)
│   ├── scheduler_<runtime_os>_<runtime_arch>.tar.gz (`.zip` for windows)
├── docker
│   ├── daprio/dapr-<runtime_ver>.tar.gz
└── details.json
Expand Down

0 comments on commit 5d9f5ae

Please sign in to comment.