Skip to content

Commit

Permalink
Cleanup housekeeping nov2023 (#428)
Browse files Browse the repository at this point in the history
* Remove referencs to deployment agent

* Remove unused variabled from prior, now-removed dependency logspout

* fix weird spelling of simcore

---------

Co-authored-by: kaiser <[email protected]>
  • Loading branch information
mrnicegyu11 and kaiser authored Nov 13, 2023
1 parent 38f767f commit 5ffc849
Show file tree
Hide file tree
Showing 18 changed files with 8 additions and 452 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ docs/_build

# Mypy Cache
.mypy_cache/
# deployment config
deployment_config.yaml

# all fake files from makefile
.make*
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,4 @@ repos:
entry: 'scripts/pre-commit-hooks/stack-yml-generated-is-valid/launch.bash'
always_run: true
language: script
files: '^((.*)\/services\/simcore\/(.*))|((.*)\/services\/deployment-agent\/(.*))$'
files: '^((.*)\/services\/simcore\/(.*))$'
2 changes: 1 addition & 1 deletion scripts/deployments/prepare_simcore_stack.bash
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ cp "$repo_config" "$repo_basedir"
cd "$repo_basedir"

log_info "Creating stack.yml file..."
services/deployment-agent/startup_script.bash
scripts/deployments/startup_script.bash

log_info "Adding prefix $PREFIX_STACK_NAME to all services..."
./yq "with(.services; with_entries(.key |= \"${PREFIX_STACK_NAME}_\" + .))" stack.yml > "$this_script_dir"/stack_with_prefix.yml
2 changes: 1 addition & 1 deletion scripts/deployments/start_without_deployment_agent.bash
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ cd "$repo_basedir"
rm -fr "$repo_basedir"/.temp
#
log_info "Creating stack.yml file..."
services/deployment-agent/startup_script.bash
scripts/deployments/startup_script.bash
log_info "Adding prefix $PREFIX_STACK_NAME to all services..."
./yq "with(.services; with_entries(.key |= \"${PREFIX_STACK_NAME}_\" + .))" stack.yml > stack_with_prefix.yml
log_info "Deleting the $SIMCORE_STACK_NAME docker stack if present"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ source "$repo_basedir"/scripts/logger.bash
#####################
#####################
#
# It is very important (due to the deployment agent running git clean) no files are overwritten with files of the same name
#
#
# This script assumes that the repo.config file is present at the top level of the ops-repo
# This script assumes that the docker-compose.yml from the osparc-simcore repo is present at the repo_basedir.
# This script assumes that the .env.devel from the osparc-simcore repo is present at the repo_basedir
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ cp services/docker-compose.yml "$repo_basedir"
cp .env-devel "$repo_basedir"
popd
rm -rf osparc-simcore 2>/dev/null || true
"$repo_basedir"/services/deployment-agent/startup_script.bash
"$repo_basedir"/scripts/deployments/startup_script.bash
# shellcheck disable=SC2143
if [[ -z $(grep '[^[:space:]]' "$repo_basedir"/stack.yml) ]] ; then
error_exit "stack.yml is empty"
Expand Down
2 changes: 0 additions & 2 deletions services/deployment-agent/.gitignore

This file was deleted.

90 changes: 0 additions & 90 deletions services/deployment-agent/Makefile

This file was deleted.

30 changes: 0 additions & 30 deletions services/deployment-agent/README.md

This file was deleted.

70 changes: 0 additions & 70 deletions services/deployment-agent/deployment_config.devel.yml

This file was deleted.

82 changes: 0 additions & 82 deletions services/deployment-agent/deployment_config.template.yml

This file was deleted.

9 changes: 0 additions & 9 deletions services/deployment-agent/docker-compose.aws.yml

This file was deleted.

10 changes: 0 additions & 10 deletions services/deployment-agent/docker-compose.devel.yml

This file was deleted.

40 changes: 0 additions & 40 deletions services/deployment-agent/docker-compose.yml.j2

This file was deleted.

Loading

0 comments on commit 5ffc849

Please sign in to comment.