[FIX] Add --method=POST to wget in Portainer Redeploy triggers #145
No reviewers
Labels
No Label
architect:complete
blocked-by:#139
blocks:#140
bug
CI/CD
complexity:low
complexity:medium
complexity:medium
config
depends-on:#124
docker
docs
effort:l
effort:s
effort:xs
epic/development
lead:complete
needs-decision
performance
priority:critical
priority:high
priority:low
priority:medium
security
spike
story-points:1
story-points:3
story-points:5
story-points:8
tech-debt
test
user-story
architect:complete
complexity:high
complexity:low
complexity:medium
cross-repo
cross-repo-dev
dev:in-progress
effort:l
effort:m
effort:s
effort:xl
effort:xs
epic
analytics
epic
development
epic
devops
epic
infra
epic
observability
epic
platform
epic
product
lead:complete
needs-decision
pipeline-complete
pipeline-error
pipeline-running
priority
later
priority
next
priority
now
start-pipeline
status
acceptance
status
blocked
status
done
status
in progress
status
in review
status
in testing
status
ready
status
refine
status
triage
subtask
type
analysis
type
bug
type
hygiene
type
mantainence
type
story
user-story
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Hithomelabs/CFTunnels#145
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "Dave/CFTunnels:fix/wget-method-post"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
The Portainer redeploy endpoint
POST /api/deploy/{stackId}requires POST requests, butwgetdefaults to GET. This fix adds--method=POSTto both workflow files.Changes
.gitea/workflows/test_image_build_push.yml— Added--method=POSTto the "Trigger Portainer Redeploy (Dev)" step.gitea/workflows/prod_image_tag_promote.yaml— Added--method=POSTto the "Trigger Portainer Redeploy (Prod)" stepTesting
The Portainer redeploy endpoint POST /api/deploy/{stackId} requires POST requests. wget defaults to GET, so --method=POST is needed. Applied to both Dev (test_image_build_push.yml) and Prod (prod_image_tag_promote.yaml) workflow files.Created new PR with the BusyBox wget fix using
--post-data=instead of--method=POST:PR #146: #146