-
Notifications
You must be signed in to change notification settings - Fork 13
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
Properly apt-get install inn2
in a GitHub Action.
#310
base: main
Are you sure you want to change the base?
Conversation
Couldn't the sample be provided as an example instead of being run at each push or pull request? Installing the inn2 package provided with stock Ubuntu (currently
The last time I heard someone installing INN in Docker, the trick was to create the configuration file in /etc/news/inn.conf before installing the inn2 package. You can put |
Thanks for this review. I agree that should be a contrib and we do not need this to run on each PR after we get it to work. I need help getting this action to work before we move it to I will work on your suggestion above this evening. |
|
It is a working inn.conf file that should be pre-installed (like the one the inn2 package installs), not an inn.conf file with only one line for the |
Alternately, maybe it would be easier to create an /etc/hostname file?
Or whatever preferred value for your container. INN uses the value returned by |
OK... On my own repo https://github.com/cclauss/inn2-in-docker I am getting closer to a solution.
In any case, where I could use help now is on the proof that inn2 is functioning properly. Things like:
|
Oh, great news you managed to make it work!
For commands to test the installation, including posting articles, you may want to see the autopkgtest script Marco wrote for the inn2 Debian package. Otherwise, using inews to post an article, and sm to retrieve it would work. |
2246419
to
fc84600
Compare
Demonstrate how to properly `apt-get install inn2` in a GitHub Action. Configure the inn2 instance so that other code can test interactions with the inn2 server. Much of this project's documentation covers how to build inn2 from source. It would be helpful if there were working examples of how to `apt-get install inn2` in Docker or in a GitHub Action. I have been struggling to do so for a few hours without success.
OK. The GitHub Action works as I wished... On push, pull_request, and workflow_dispatch the Action does:
I will move that all into the Now, I would like to use the lessons learned to create a Docker image but without an At build-time in both Debian and Ubuntu containers, At Docker build-time, it has proven quite tricky to change the output of Dockerfile:
% |
Hi Christian! Thanks for your work. What are the reasons for the failure of
Yes, I agree the sample GitHub Actions could go to |
You should ask the Debian maintainer via opening an inn2 bug for this feature. A custom preseed file could for instance be implemented for setting |
|
Demonstrate how to properly
apt-get install inn2
in a GitHub Action. Configure the inn2 instance so that other code can test interactions with the inn2 server.Much of this project's documentation covers how to build inn2 from source. It would be helpful if there were working examples of how to properly
apt-get install inn2
in Docker or in a GitHub Action. I have been struggling to do so for a few hours without success.We probably need
hostname=localhost
anddomain=localhost.localdomain
but I have been unable to get it right.