Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

makefile integration target to submit all the integration payloads #40

Merged
merged 2 commits into from
Mar 26, 2024

Conversation

jhkennedy
Copy link
Contributor

No description provided.

@jhkennedy jhkennedy added the bumpless Changes to documentation, CI/CD pipelines, etc that don't affect the project's version label Mar 26, 2024
@jhkennedy jhkennedy marked this pull request as ready for review March 26, 2024 21:12
@jhkennedy jhkennedy requested a review from a team March 26, 2024 21:12
Makefile Outdated
@@ -12,6 +13,10 @@ test_file ?= 'tests/'
test:
pytest $(test_file)

integration:
export AWS_PAGER='' && \
$(foreach file, $(wildcard tests/integration/*.json), echo "aws sns publish --profile saml-pub --topic-arn ${TEST_TOPIC_ARN} --message file://${file} --output json";)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably hitting the limits of my bash knowledge, but why is there an echo before the aws sns command?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

because I was testing it without running it and accidentelly committed the echo 🤣

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should just be using the --just-print or -n make options:
https://web.mit.edu/gnu/doc/html/make_5.html

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, did not know about those options.

@jhkennedy jhkennedy merged commit 2f12821 into develop Mar 26, 2024
4 checks passed
@jhkennedy jhkennedy deleted the make-integration branch March 26, 2024 22:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bumpless Changes to documentation, CI/CD pipelines, etc that don't affect the project's version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants