-
Notifications
You must be signed in to change notification settings - Fork 197
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
allow set-version to build doc with docker image #842
Conversation
doc/Makefile
Outdated
@@ -69,6 +69,12 @@ clean: | |||
$(MAKE) -C $$dir clean; \ | |||
done | |||
|
|||
build-image: | |||
docker build . -t ghcr.io/enterprisedb/barman/barman-pandoc:master |
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.
maybe i'm wrong, but ghcr.io/enterprisedb images are not public, not sure this should be on an open-source project... as this will not work for someone that is not part of EDB
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.
As long as you do not try to pull or push an image from the ghcr.io/enterprisedb registry, you can use it.
So it should be usable as it is.
I also admit that it may be confusing, and maybe not a good practice to share internal things such as a docker image.
So I could either keep it that way or rename it.
What do you think?
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 don't remember what is inside the internal image, maybe we can make the image public? I think so but not sure yet.
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.
Docker file is here,:https://github.com/EnterpriseDB/barman/blob/master/doc/Dockerfile
I believe it has nothing that requires being internal.
doc/Makefile
Outdated
docker build . -t ghcr.io/enterprisedb/barman/barman-pandoc:master | ||
|
||
create-all: | ||
docker run --rm --volume "`pwd`:/data" -w="/data" --user `id -u`:`id -g` ghcr.io/enterprisedb/barman/barman-pandoc:master make clean all |
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.
same as above
41d570c
to
299cd65
Compare
51ec496
to
0a4db0a
Compare
SonarQube Quality Gate 0 Bugs No Coverage information |
Changed set-version.sh behavior.
Instead of positional argument it uses flags.
before:
set-version.sh 3.5.0 20231206
now:
set-version.sh -r 3.5.0 -d 20231206
(identical)set-version.sh -r 3.5.0 -d 20231206 -D
(using docker image)set-version.sh -r 3.5.0 -D
(uses docker image and current date)Updated release process documentation in Source code changes section.