Skip to content

ci: Add run-local-instance target to Makefile#3663

Merged
georglauterbach merged 3 commits intomasterfrom
add-test-command
Dec 3, 2023
Merged

ci: Add run-local-instance target to Makefile#3663
georglauterbach merged 3 commits intomasterfrom
add-test-command

Conversation

@georglauterbach
Copy link
Copy Markdown
Member

@georglauterbach georglauterbach commented Nov 26, 2023

Description

This adds a target to Makefile which runs a simple version of DMS (anti-spam services disabled) to test local builds. I use this frequently.

Fixes #

Type of change

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (README.md or the documentation under docs/)
  • I have added information about changes made in this PR to CHANGELOG.md

@georglauterbach georglauterbach added area/ci kind/new feature A new feature is requested in this issue or implemeted with this PR labels Nov 26, 2023
@georglauterbach georglauterbach added this to the v13.1.0 milestone Nov 26, 2023
@georglauterbach georglauterbach self-assigned this Nov 26, 2023
@georglauterbach georglauterbach changed the title ci: add run-example target to Makefile ci: add run-local-instance target to Makefile Nov 26, 2023
polarathene
polarathene previously approved these changes Nov 26, 2023
Copy link
Copy Markdown
Member

@polarathene polarathene left a comment

Choose a reason for hiding this comment

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

LGTM 👍


If you would like to take the compose.yaml approach, I can put together a PR for that. The more full-fledged offline setup would have to wait, but adjusting your current approach to compose.yaml is simple enough as a few files in an example/ or similar folder.

run-local-instance might then be better as run-example. My future plans would be for having several common examples, which should be helpful to the community and reproductions for issues, and Docker Compose features really help simplify that 😎

casperklein
casperklein previously approved these changes Dec 1, 2023
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Dec 3, 2023

Documentation preview for this PR is ready! 🎉

Built with commit: fe06309

@georglauterbach
Copy link
Copy Markdown
Member Author

FYI: Auto-merge is enabled

@polarathene polarathene changed the title ci: add run-local-instance target to Makefile ci: Add run-local-instance target to Makefile Dec 3, 2023
@georglauterbach georglauterbach merged commit 472174b into master Dec 3, 2023
@georglauterbach georglauterbach deleted the add-test-command branch December 3, 2023 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci kind/new feature A new feature is requested in this issue or implemeted with this PR priority/low

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants