-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Thomas Schuetz <thomas.schuetz@dynatrace.com>
- Loading branch information
Thomas Schuetz
committed
Mar 16, 2023
1 parent
8f75d9a
commit 8566445
Showing
5 changed files
with
70 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
.PHONY: install | ||
install: | ||
# TODO: Add your install logic here (installation of the delivery tool) | ||
|
||
.PHONY: uninstall | ||
uninstall: | ||
# TODO: Add your uninstall logic here | ||
|
||
.PHONY: deploy-app | ||
deploy-app: | ||
# TODO: Add your deploy-app logic here (podtato-head) | ||
|
||
.PHONY: test | ||
test: install deploy-app | ||
# TODO: Add your test logic here (podtato-head) | ||
make uninstall |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Deliver with <DELIVERY_TOOL_NAME> | ||
![<DELIVERY_TOOL_NAME>](https://img.shields.io/badge/<DELIVERY_TOOL_NAME>-<DELIVERY_TOOL_VERSION>-blue) | ||
![PodTatoHead](https://img.shields.io/badge/PodTatoHead-v0.3.0-orange) | ||
|
||
Website: <WEBSITE> <BR> | ||
Repository: <GITHUB_REPO> | ||
|
||
## Introduction | ||
<!-- A short description of the tool and how it works in a nutshell --> | ||
|
||
## Install | ||
<!-- Installation instructions --> | ||
|
||
## Deliver | ||
1. Step 1 | ||
2. Step 2 | ||
3. Step 3 | ||
|
||
6. Open http://localhost:8080 in your browser | ||
|
||
## Uninstall | ||
<!-- Uninstall instructions --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
This folder should container the configuration needed to deploy the podtato-head application. | ||
|
||
Please remove this file, after you added the configuration to the folder. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
NAME ?= "empty" | ||
UNAME := $(shell uname) | ||
|
||
.PHONY: test | ||
test: | ||
find . -mindepth 1 -maxdepth 1 -not -path '*/.*' -type d -exec make -C {} test \; | ||
find . -mindepth 1 -maxdepth 1 -not -path '*/.*' -type d -exec make -C {} test \; | ||
|
||
.PHONY: new-scenario | ||
new-scenario: | ||
if [[ "$(NAME)" == "empty" ]]; then echo "Please provide a scenario name"; exit 1; fi | ||
cp -r .delivery_template $(NAME) | ||
|
||
sed "s/<DELIVERY_TOOL_NAME>/$(NAME)/g" $(NAME)/README.md > tmp && mv tmp $(NAME)/README.md | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters