Repository navigation
[#419] CI: Delete after Restore - #461
Conversation
|
You can assume you have access - either directly or through Just call the script |
|
Probably just one |
|
It should be quick to add a test, even if it is just for a function call |
But in that case we must have the passwordless
Sure! |
|
We can see. The user that does |
I think I'm losing track of the conversion. Let's discuss the flow inside the script once -
In the above flow we won't be needing password anywhere I suppose. |
|
Just start with the user that is running the script - we can look at CI after. So, your friend is |
|
And yes, use |
|
@jesperpedersen, The test suite script is currently |
so we need an update where a password isn't required because it is run as the local user |
|
Yeah, there are a lot of |
|
Hi,
Actually I have already changed it in the recent commit, PTAL and let me know if
there are any ambiguities.
Thanks
…On Thu, Jan 23, 2025 at 10:13 PM Jesper Pedersen ***@***.***> wrote:
Yeah, there are a lot of su - postgres -c in the script - they need to go
away, and -U postgres should be -U $(whoami) or do a specific user with
the correct permissions
—
Reply to this email directly, view it on GitHub
<#461 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ATBXQ6G5FHRTVUO6VIKNX2T2MEL2FAVCNFSM6AAAAABVMOH3YKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMMJQGM4DGMBXGY>
.
You are receiving this because you were assigned.Message ID:
***@***.***>
|
|
There need to be
The only output is |
The script was actually meant to be executed from inside the build folder (so the above thing is already in check), |
|
Same output though |
|
The flow is something like this - |
Not sure why it paused there, have to take a look at it |
... and then nothing |
|
Maybe have a |
Yeah the script is caliberated to wait for 5 seconds to start completely. In your case the script process is terminated or is just in blocked state (used sleep 5 after pgmoneta server startup). |
Yeah, we can have an explicit command for cleaning stuff too. |
|
After the no output... so a |
|
|
Are you starting with "clean" configuration files ? Make sure that you NEVER override the ~/.pgmoneta/master.key file - so that operation is ok to fail |
The For now you can just do |
Yes, I am starting this.
Noted! |
I think we have to explicitly setup
|
|
Also is there any other way to run |
Can we make this optional for now ? Or remove
I don't think so |
Yes
Okay! |
|
@jesperpedersen, In the latest ci flow, in |
|
Hmm, it says |
Maybe start by list all the files |
|
Maybe you need to install the ctest deb... |
|
You can add a check for the test requirements in the top-level |
|
Ok, there is a check for it... Maybe add a check in |
|
Happy ? |
:), Thanks!! Will make changes for build-macos |
|
Ok |
b45c6c4 to
a167089
Compare
|
@Annupamaa Do you have ideas about CI ? |
While building the project for MacOS, it is failing at rt library linking part. After some investigation, I found that rt library linking is required only for linux system. Hence, adding a check for MacOS. Signed-off-by: Annupamaa <[email protected]> -v
|
@jesperpedersen, PTAL |
|
Rebased, and merged. Thanks for your contribution ! |
|
@Annupamaa See if you can get CI/Mac working |
|
@jesperpedersen Yes, I can work on this |
WIP
Created a
testsuitelocal.shfile to run local tests added toscriptdirectory intest.How to run tests
Why postgres password?
postgres user password is required to -
initdbpg_ctlpsqlWhat's next....
@jesperpedersen PTAL