-
-
Notifications
You must be signed in to change notification settings - Fork 94
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
add CircleCI build and docs #12
Conversation
My bad (although I thought I'd done that – oh well). Should be fixed now. |
Ok I will test push after work tonight I hope if not tomorrow. I'm looking at the changes here and I think they're ridiculous. Will be restructuring the README, removing the python script, and only making note of current I will also try and fix the "detect Cron build", a colleague told me something I thought I tried should work. |
This looks really good! Maybe the PR should be split into two or more, given the number of things it adds. Would it make sense to store a README template, and then generate the real README from that? This is how pandoc's README is maintained and kept up to date. |
hey, sorry for falling off the grid on this. had a really bad case of the flu :(
hopefully you agree this is no longer necessary. Python nonsense and auto patching in favor of a much simpler README.
I don't think it's necessary, I'm happy with the simple setup here. By simply linking to the dockerhub repository, all available tags are shown. I'm definitely not opposed, but I think we have bigger fish to fry here :D I'm changing my dockerhub password now and then adding it to CircleCI for the |
I've since added I'm not sure what to do :( I can setup a shadow repo to "prove this works" if you want a green check before merging. But if I re-enable |
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.
<3
# The only difference in usage between (1) and (2) is whether or not `cron_job` | ||
# is getting set which leads to some duplication, but at this time there is no | ||
# known solution for fixing this. | ||
alpine_stack: &alpine_stack |
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.
nice!
@@ -29,3 +29,6 @@ alpine-latex: | |||
--build-arg base_tag=$(PANDOC_VERSION) \ | |||
alpine/latex | |||
|
|||
.PHONY: lint | |||
lint: | |||
shellcheck $(shell find . -name "*.sh") |
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.
🙌
README.md
Outdated
@@ -1,5 +1,145 @@ | |||
pandoc Dockerfiles | |||
================== | |||
# pandoc Dockerfiles |
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.
y tho?
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.
reverted. it was a remnant of the original README that had h3 headings, which can't be done underline style. but we don't need them anymore and i prefer underline too. I made them all 80 cols just because it makes it easier to read 🙂
WOOHOO! With merge to master... |
Here we go! Took a little while to iron out the kinks, but parameters with CircleCI are pretty nice!
Probably easiest to read the instructions rendered on github here. In particular, please review the managing new releases section. I'm not exactly happy with it, but I couldn't find any way to actually detect the cron build.
Action items:
DOCKER_USERNAME
andDOCKER_PASSWORD
environment variables through CircleCI thing.Can thejust gonna push with my user / pw, can be changed in future by admins in CircleCI Environment Variables section.pandoc
user be pushing? @tarleb do you have that information? I'm totally ok with using my account, but right now I still don't have push access topandoc/latex
. I did trigger a push topandoc/core:edge
though.After this merges, I would like to test the proposed
release=2.6
in a commit message (but won't need to run the patching script). However, now that this is live, maybe before we iron outrelease=2.6
we see if #6 can be done? (adding new comment there for idea I had)Notes:
commit
that hits master (unless it has a[ci skip]
or similar that CircleCI skips) will trigger adocker push
.monthly
in.circleci/config.yml
), I'm not sure if I did that right.