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

feat: add examples folder #48

Merged
merged 12 commits into from
Jul 25, 2023
Merged

feat: add examples folder #48

merged 12 commits into from
Jul 25, 2023

Conversation

dbluhm
Copy link
Member

@dbluhm dbluhm commented Jul 13, 2023

This PR restructures the project to include an examples folder. The examples folder will be the home for all newly created examples and will help address the issue we currently have right now where we have branches for different examples and tests. For example, once this is merged, I will restructure #7 to be just another folder in the examples directory.

This PR also includes a new github action for making sure the examples are working as expected. This should help us in our efforts to check for breaking changes in new ACA-Py releases.

Signed-off-by: Daniel Bluhm <[email protected]>
@dbluhm dbluhm marked this pull request as ready for review July 25, 2023 21:29
"""
try:
subprocess.run(
["docker-compose", "-f", self.compose_file, *command],

Choose a reason for hiding this comment

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

on my m1 system, I run docker compose not docker-compose on the command line.

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, right. Fun lol. I'll try to figure out if there's a straightforward way to account for that.

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe a silly comment along these lines, @dbluhm wasn't this mentioned during the ACA-Pug meeting today? Might be able to be reconciled in the future (very possible I'm off on this)

Copy link
Member Author

Choose a reason for hiding this comment

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

I'm thinking it might be simplest to just alias docker-compose for docker compose locally if you want to run these directly. Else, we can always just let the action run it and not worry about local environments.

Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure I heard mention of docker-compose vs docker compose on the ACA-PUG call today 🤔

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, no wait you're right, I was confusing it with the amd vs. arm thingy/separate thing, my bad

Copy link
Contributor

@anwalker293 anwalker293 left a comment

Choose a reason for hiding this comment

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

I like this! And LGTM!

@dbluhm dbluhm merged commit 1c5049c into main Jul 25, 2023
4 checks passed
@dbluhm dbluhm deleted the feature/examples branch July 25, 2023 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants