Use custom act with gitea.

This commit is contained in:
Thomas E Lackey 2024-01-09 14:31:42 -06:00
parent a3eb3c0bb0
commit c90a831ccd
3 changed files with 8 additions and 4 deletions

View File

@ -2,4 +2,6 @@
# Build a local version of the task executor for act-runner
source ${CERC_CONTAINER_BASE_DIR}/build-base.sh
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
docker build -t cerc/act-runner-task-executor:local -f ${CERC_REPO_BASE_DIR}/hosting/act-runner/Dockerfile.task-executor ${build_command_args} ${SCRIPT_DIR}
cd ${CERC_REPO_BASE_DIR}/hosting/act-runner
docker build -t cerc/act-runner-task-executor:local -f Dockerfile.task-executor ${build_command_args} .

View File

@ -2,9 +2,11 @@ version: "1.1"
name: package-registry
description: "Local Package Registry"
repos:
- git.vdb.to/cerc-io/hosting
- gitea.com/gitea/act_runner
- github.com/telackey/gitea@telackey/entrypoint
- git.vdb.to/cerc-io/hosting@dboreham/fix-dind
- gitea.com/gitea/act_runner@telackey/entrypoint
containers:
- cerc/gitea
- cerc/act-runner
- cerc/act-runner-task-executor
pods:

View File

@ -444,7 +444,7 @@ def create_operation(deployment_command_context, spec_file, deployment_dir, netw
deployer_config_generator = getDeployerConfigGenerator(deployment_type)
# TODO: make deployment_dir_path a Path above
deployer_config_generator.generate(deployment_dir_path)
call_stack_deploy_create(deployment_context, [network_dir, initial_peers])
call_stack_deploy_create(deployment_context, [network_dir, initial_peers, deployment_command_context])
# TODO: this code should be in the stack .py files but