-
Notifications
You must be signed in to change notification settings - Fork 127
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
build: update ansys-dpf-core #3082
base: main
Are you sure you want to change the base?
Conversation
Thanks for opening a Pull Request. If you want to perform a review write a comment saying: @ansys-reviewer-bot review |
Just testing. |
Hopefully this has been addressed in the new version: ansys/pydpf-core#1438 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3082 +/- ##
==========================================
+ Coverage 86.94% 86.99% +0.05%
==========================================
Files 187 187
Lines 14622 14623 +1
==========================================
+ Hits 12713 12722 +9
+ Misses 1909 1901 -8 |
Still broken. @PProfizi |
Hi @germa89, Looking at the error, it seems you get the error linked to the change in operator naming for |
Hi @PProfizi Yes, it is a bit old. But I didn't have the time to figure it out how to deploy a newer version of DPF in our CICD. I know the docker registry I'm using hasn't been updated in 2 years. I'm happy to get some guidance on how to use newer versions of DPF in our CICD. |
Hi @germa89, do you necessarily need to go through the Docker registry? |
I do not need to go through the docker route. However, any proposed solution should work on github runners outside Ansys network. Do the action works in that way? |
Yes, we use it on GitHub runners outside of the Ansys network. It just needs access via a secret to a token to our DPF server repo. |
@PProfizi thank you a lot for this! I will start to work on this after next week. |
Note to myself:
|
I'm getting issues on this code: dpf.core.make_tmp_dir_server(dpf.SERVER)
if dpf.SERVER.local_server:
model = dpf.Model(rst_path)
else:
server_file_path = dpf.upload_file_in_tmp_folder(rst_path)
model = dpf.Model(server_file_path) The purpose of this code is to check DPF is local or is on a container. Can you suggest any adjustments? |
Hi @germa89 |
Hi @germa89, what issue are you getting? |
Because we do tests in our own ubuntu docker image (we need MAPDL installed), we do not install DPF. What about a docker image I can pull and connect to? I rather not install more stuff on the image/container. And the CICD is already in place for connecting to a DPF docker container. |
Ok so either you need a docker image for DPF, which we do not ship as of now, maybe contact @ansjhajjar for more info. |
I think the docker image is the most convenient, less setup, less mess up. Why did we stop updating the docker image in here https://github.com/ansys/pydpf-core/pkgs/container/dpf-core ?? Can we update that docker image? @ansjhajjar @PProfizi @cbellot000 By the way, where is that container is being built? Where is the recipe?
I did install powershell in our containers, but still facing issues regarding the action and the script |
I think I kind of find out where the recipe is. In TFS/DPF... file |
AFAIK the image and its recipe are completely outdated though. |
As the title.
Related to #2953