Ignore Pulumi reports and allow multi-line make push commits.
Stop tracking pulumi-tests/reports artifacts and read commit messages via Ctrl-D, matching the ProxMox simulator workflow.
This commit is contained in:
@@ -73,3 +73,6 @@ docker-compose.override.yml
|
|||||||
|
|
||||||
# Regenerated probe artifacts
|
# Regenerated probe artifacts
|
||||||
evidence/_api_surface_probe.json
|
evidence/_api_surface_probe.json
|
||||||
|
|
||||||
|
# Pulumi suite HTML/JSON reports (regenerated by make pulumi-tests)
|
||||||
|
pulumi-tests/reports/
|
||||||
|
|||||||
@@ -221,25 +221,31 @@ clean-test-resources: ## Cleanup lab-created resources
|
|||||||
$(MAKE) -C $(LAB) clean-test-resources
|
$(MAKE) -C $(LAB) clean-test-resources
|
||||||
|
|
||||||
# --- Git: stage, commit (prompt), push to both remotes ---
|
# --- Git: stage, commit (prompt), push to both remotes ---
|
||||||
push: ## git add . → ask for commit message → push to origin and antropoff
|
# Multi-line commit: paste message, then Ctrl-D (same UX as proxmox-api-simulator).
|
||||||
|
# Optional: make push MSG='one-line message'
|
||||||
|
push: ## git add . → multi-line commit (Ctrl-D) → push origin + antropoff
|
||||||
@set -e; \
|
@set -e; \
|
||||||
git add .; \
|
git add .; \
|
||||||
|
echo "=== staged ==="; \
|
||||||
|
git status --short; \
|
||||||
|
echo; \
|
||||||
if git diff --cached --quiet; then \
|
if git diff --cached --quiet; then \
|
||||||
echo "Nothing staged to commit."; \
|
echo "Nothing to commit — pushing current branch."; \
|
||||||
else \
|
else \
|
||||||
if [ -n "$(MSG)" ]; then \
|
if [ -n "$(MSG)" ]; then \
|
||||||
msg="$(MSG)"; \
|
msg="$(MSG)"; \
|
||||||
else \
|
else \
|
||||||
printf "Commit message: "; \
|
echo "Enter commit message, then Ctrl-D:"; \
|
||||||
IFS= read -r msg </dev/tty; \
|
msg=$$(cat </dev/tty); \
|
||||||
fi; \
|
fi; \
|
||||||
if [ -z "$$msg" ]; then \
|
if [ -z "$$msg" ]; then \
|
||||||
echo "Empty commit message; aborting." >&2; \
|
echo "Empty commit message, aborting." >&2; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
git commit -m "$$msg"; \
|
git commit -m "$$msg"; \
|
||||||
fi; \
|
fi; \
|
||||||
|
echo "Pushing to remotes: $(GIT_REMOTES)"; \
|
||||||
for remote in $(GIT_REMOTES); do \
|
for remote in $(GIT_REMOTES); do \
|
||||||
echo "→ pushing HEAD to $$remote"; \
|
echo "→ $$remote ($$(git remote get-url --push "$$remote"))"; \
|
||||||
git push -u "$$remote" HEAD; \
|
git push -u "$$remote" HEAD; \
|
||||||
done
|
done
|
||||||
|
|||||||
@@ -92,8 +92,8 @@ make test-pulumi-smoke # Pulumi smoke
|
|||||||
make test-pulumi # all series × all contract ops + HTML report
|
make test-pulumi # all series × all contract ops + HTML report
|
||||||
make pulumi-tests # alias for test-pulumi
|
make pulumi-tests # alias for test-pulumi
|
||||||
make test-all # alias for test-pulumi
|
make test-all # alias for test-pulumi
|
||||||
make push # git add . → prompt commit → push origin + antropoff
|
make push # git add . → multi-line commit (Ctrl-D) → origin + antropoff
|
||||||
# make push MSG="your message" # non-interactive commit message
|
# make push MSG="one line" # skip the interactive editor
|
||||||
```
|
```
|
||||||
|
|
||||||
Docker Hub release (requires `docker login` as the Hub owner; see
|
Docker Hub release (requires `docker login` as the Hub owner; see
|
||||||
|
|||||||
+2
-2
@@ -95,8 +95,8 @@ make test-pulumi-smoke # Pulumi smoke
|
|||||||
make test-pulumi # все series × все contract ops + HTML-отчёт
|
make test-pulumi # все series × все contract ops + HTML-отчёт
|
||||||
make pulumi-tests # alias для test-pulumi
|
make pulumi-tests # alias для test-pulumi
|
||||||
make test-all # alias для test-pulumi
|
make test-all # alias для test-pulumi
|
||||||
make push # git add . → запрос commit → push origin + antropoff
|
make push # git add . → многострочный commit (Ctrl-D) → origin + antropoff
|
||||||
# make push MSG="сообщение" # сообщение без интерактива
|
# make push MSG="одна строка" # без интерактивного ввода
|
||||||
```
|
```
|
||||||
|
|
||||||
Публикация в Docker Hub (нужен `docker login` владельца Hub; см.
|
Публикация в Docker Hub (нужен `docker login` владельца Hub; см.
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
@@ -1,102 +0,0 @@
|
|||||||
{
|
|
||||||
"total": 9150,
|
|
||||||
"passed": 9150,
|
|
||||||
"failed": 0,
|
|
||||||
"skipped": 0,
|
|
||||||
"coverage": {
|
|
||||||
"declared": 9150,
|
|
||||||
"probed": 9150,
|
|
||||||
"critical": 0,
|
|
||||||
"line": "9150/9150",
|
|
||||||
"series": [
|
|
||||||
{
|
|
||||||
"series": "3.0",
|
|
||||||
"declared": 622,
|
|
||||||
"probed": 622,
|
|
||||||
"critical": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"series": "3.1",
|
|
||||||
"declared": 664,
|
|
||||||
"probed": 664,
|
|
||||||
"critical": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"series": "3.2",
|
|
||||||
"declared": 672,
|
|
||||||
"probed": 672,
|
|
||||||
"critical": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"series": "3.3",
|
|
||||||
"declared": 770,
|
|
||||||
"probed": 770,
|
|
||||||
"critical": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"series": "3.4",
|
|
||||||
"declared": 800,
|
|
||||||
"probed": 800,
|
|
||||||
"critical": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"series": "3.5",
|
|
||||||
"declared": 858,
|
|
||||||
"probed": 858,
|
|
||||||
"critical": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"series": "3.6",
|
|
||||||
"declared": 918,
|
|
||||||
"probed": 918,
|
|
||||||
"critical": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"series": "4.3",
|
|
||||||
"declared": 948,
|
|
||||||
"probed": 948,
|
|
||||||
"critical": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"series": "4.4",
|
|
||||||
"declared": 966,
|
|
||||||
"probed": 966,
|
|
||||||
"critical": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"series": "4.5",
|
|
||||||
"declared": 966,
|
|
||||||
"probed": 966,
|
|
||||||
"critical": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"series": "master",
|
|
||||||
"declared": 966,
|
|
||||||
"probed": 966,
|
|
||||||
"critical": 0
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"methods": {
|
|
||||||
"DELETE": 1146,
|
|
||||||
"GET": 2314,
|
|
||||||
"HEAD": 2314,
|
|
||||||
"POST": 2230,
|
|
||||||
"PUT": 1146
|
|
||||||
},
|
|
||||||
"series": [
|
|
||||||
"3.0",
|
|
||||||
"3.1",
|
|
||||||
"3.2",
|
|
||||||
"3.3",
|
|
||||||
"3.4",
|
|
||||||
"3.5",
|
|
||||||
"3.6",
|
|
||||||
"4.3",
|
|
||||||
"4.4",
|
|
||||||
"4.5",
|
|
||||||
"master"
|
|
||||||
],
|
|
||||||
"report_json": "/workspace/reports/pulumi-contract-coverage.json",
|
|
||||||
"report_html": "/workspace/reports/pulumi-contract-coverage.html"
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user