Skip to content

Commit

Permalink
add aws-logs output
Browse files Browse the repository at this point in the history
  • Loading branch information
morga471 committed May 13, 2025
1 parent dd0f4f2 commit 182b34f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,13 @@ deploy-to-pipeline:
@echo "Upload complete. Pipeline should trigger automatically."

@echo "Calculating pipeline URL..."
$(eval PIPELINE_NAME=eks-$(CLUSTER_NAME)-pipeline)
$(eval PIPELINE_NAME=eks-$(CLUSTER_NAME)-codepipeline)
$(eval PIPELINE_URL=https://console.amazonaws-us-gov.com/codesuite/codepipeline/pipelines/$(PIPELINE_NAME)/view?region=$(AWS_REGION))
@echo "Pipeline URL: $(PIPELINE_URL)"
@echo "You can access the pipeline directly at the URL above."

@echo "Cleaning up local zip file..."
rm -f platform-tg-infra.zip

@echo "Tailing Pipeline Logs:"
aws logs tail /aws/codebuild/$(PIPELINE_NAME) --profile $(AWS_PROFILE)

0 comments on commit 182b34f

Please sign in to comment.