-
Notifications
You must be signed in to change notification settings - Fork 0
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
First commits #5
Conversation
cdc82f2
to
93969b2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before you make any other changes please update the image name:
IMAGE_NAME: cisagov/example |
@king-alexander Now that #7 has been merged, you should pull those changes in to this branch and deconflict them. Before you do that though, make sure you do what @mcdonnnj said in his comment. That should get you closer to passing all of the checks in this PR. |
BTW, per our convention, the image should be called |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noting a few more items:
b247055
to
759d3a9
Compare
In other words, direct this Dockerfile to install source code and dependencies for the admiral python library.
Here we change the entrypoint to "admiral" and remove various instructions this image doesn't need.
904fc2d
to
3028049
Compare
Define the secrets that this Docker composition uses (and remove the one it doesn't).
88499e9
to
88cd16a
Compare
I dropped support for all platforms except |
58ba017
to
6dc81cf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is looking real solid now - nice work! 🤠
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have one minor question.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Strong work!
@mcdonnnj I believe this PR is just waiting on your re-review. |
@mcdonnnj - Why is Lineage not generating a PR for this repo? The |
@king-alexander Please either rebase on or merge |
7490071
to
1947eb9
Compare
This commit instantiates a Docker client with the Docker Compose file path and the project name. It also comments out the main container configuration, which causes tests to fail per #6.
Uses the python_on_whales syntax and comments out test_wait_for_exits, which requires a main container.
I made the requested change and asked Nick to re-review as time permits. If he has more suggestions, I will address them in a new pull request.
🗣 Description
These are the first commits towards a repository decomposition for the Admiral. They generally pull in Admiral's Docker components and change defaults inherited from the skeleton repository.
💭 Motivation and context
It's desirable to separate the containerization logic from a project's content. This pull request is a step towards decomposing Admiral into smaller, more manageable repositories.
mher/flower
image was last updated 3 months ago.🧪 Testing
I modified the standard tests inherited from cisagov/skeleton-docker to cover my changes to the Docker configuration. Not all tests were easy to modify. In particular, the
main_container
tests do not transfer well, as there is no main container in the Docker composition. Implementing these tests is scoped as future work in #6.✅ Pre-approval checklist
in code comments.
to reflect the changes in this PR.
✅ Pre-merge checklist
✅ Post-merge checklist