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

allow set-version to build doc with docker image #842

Merged
merged 1 commit into from
Sep 25, 2023

Conversation

didiermichel
Copy link
Contributor

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.

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
Copy link
Contributor

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

Copy link
Contributor Author

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?

Copy link
Contributor

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.

Copy link
Contributor Author

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
Copy link
Contributor

Choose a reason for hiding this comment

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

same as above

@didiermichel didiermichel force-pushed the BAR-111_simplify-release_process branch from 41d570c to 299cd65 Compare September 19, 2023 13:25
@didiermichel didiermichel force-pushed the BAR-111_simplify-release_process branch from 51ec496 to 0a4db0a Compare September 25, 2023 12:32
@edb-sonar-app
Copy link

edb-sonar-app bot commented Sep 25, 2023

SonarQube Quality Gate

Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@didiermichel didiermichel merged commit 25c3095 into master Sep 25, 2023
9 checks passed
@didiermichel didiermichel deleted the BAR-111_simplify-release_process branch September 25, 2023 12:36
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.

2 participants