Skip to content

Commit

Permalink
add sh extension to shell scripts
Browse files Browse the repository at this point in the history
Signed-off-by: Gerd Oberlechner <[email protected]>
  • Loading branch information
geoberle committed Oct 25, 2024
1 parent e9838ec commit 58dbcf2
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
16 changes: 8 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,20 +61,20 @@ infra.clean:
#

cs.deploy:
./svc-deploy $(DEPLOY_ENV) cluster-service svc
./svc-deploy.sh $(DEPLOY_ENV) cluster-service svc

#
# Maestro
#

maestro.server.deploy:
./svc-deploy $(DEPLOY_ENV) maestro/server svc
./svc-deploy.sh $(DEPLOY_ENV) maestro/server svc

maestro.agent.deploy:
./svc-deploy $(DEPLOY_ENV) maestro/agent mgmt
./svc-deploy.sh $(DEPLOY_ENV) maestro/agent mgmt

maestro.registration.deploy:
./svc-deploy $(DEPLOY_ENV) maestro/registration mgmt
./svc-deploy.sh $(DEPLOY_ENV) maestro/registration mgmt

maestro: maestro.server.deploy maestro.agent.deploy maestro.registration.deploy

Expand All @@ -83,24 +83,24 @@ maestro: maestro.server.deploy maestro.agent.deploy maestro.registration.deploy
#

rp.frontend.deploy:
./svc-deploy $(DEPLOY_ENV) frontend svc
./svc-deploy.sh $(DEPLOY_ENV) frontend svc

rp.backend.deploy:
./svc-deploy $(DEPLOY_ENV) backend svc
./svc-deploy.sh $(DEPLOY_ENV) backend svc

#
# ACM
#

acm.deploy:
./svc-deploy $(DEPLOY_ENV) acm svc
./svc-deploy.sh $(DEPLOY_ENV) acm svc

#
# Hypershift
#

hypershift.deploy:
./svc-deploy $(DEPLOY_ENV) hypershift svc
./svc-deploy.sh $(DEPLOY_ENV) hypershift svc

#
# Deploy ALL components
Expand Down
2 changes: 1 addition & 1 deletion backend/generate-makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ else
fi

cd $(dirname "$(realpath "${BASH_SOURCE[0]}")")
../templatize $DEPLOY_ENV Makefile.tmpl.mk Makefile
../templatize.sh $DEPLOY_ENV Makefile.tmpl.mk Makefile
2 changes: 1 addition & 1 deletion dev-infrastructure/make
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ DEPLOY_ENV=$1
cd $(dirname "$(realpath "${BASH_SOURCE[0]}")")
for tmpl_file in configurations/*.tmpl.*; do
output_file="${tmpl_file/.tmpl/}"
../templatize "$DEPLOY_ENV" "$tmpl_file" "$output_file"
../templatize.sh "$DEPLOY_ENV" "$tmpl_file" "$output_file"
done

make "${@:2}"
2 changes: 1 addition & 1 deletion frontend/generate-makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ else
fi

cd $(dirname "$(realpath "${BASH_SOURCE[0]}")")
../templatize $DEPLOY_ENV Makefile.tmpl.mk Makefile
../templatize.sh $DEPLOY_ENV Makefile.tmpl.mk Makefile
2 changes: 1 addition & 1 deletion svc-deploy → svc-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fi

export KUBECONFIG=$(./dev-infrastructure/make $DEPLOY_ENV $CLUSTER.aks.kubeconfigfile)

./templatize $DEPLOY_ENV $DIR/Makefile.tmpl.mk $DIR/Makefile
./templatize.sh $DEPLOY_ENV $DIR/Makefile.tmpl.mk $DIR/Makefile

cd $DIR
make deploy
File renamed without changes.

0 comments on commit 58dbcf2

Please sign in to comment.