Skip to content

Conversation

akaszynski
Copy link
Contributor

@akaszynski akaszynski commented May 6, 2022

Use our self-hosted agent pyfluent-ci-1 within our new pyansys-self-hosted self hosted agent group.

Bonus

  • Upped processor_count to 4 on most of the examples.
  • Updated the workflow to install extra apt packages
  • Fixed inconsistent line endings. We should always be pushing UNIX style line endings \n.

@akaszynski
Copy link
Contributor Author

Apparently this is done through labels. If we get more machines we can consider changing this.

@akaszynski
Copy link
Contributor Author

akaszynski commented May 6, 2022

Some lessons learned about self-hosted agents.
GitHub VM images contain a bunch of utilities and applications that we take for granted. For example:

I'm having to install those from within the CI workflow or outside (as in the case of docker).

@dnwillia-work
Copy link
Collaborator

Use our self-hosted agent pyfluent-ci-1 within our new pyansys-self-hosted self hosted agent group.

Bonus

  • Upped processor_count to 4 on most of the examples.
  • Updated the workflow to install extra apt packages
  • Fixed inconsistent line endings. We should always be pushing UNIX style line endings \n.

I don't have permission on the link you included there.

Looks like the doc build hung up for some reason.

I never noticed the line ending thing before, thanks. I'll add the necessary .gitattributes commands for htis.

@akaszynski
Copy link
Contributor Author

I don't have permission on the link you included there.

I think that's only available for admins.

Looks like the doc build hung up for some reason.

Sending you the IP and pem of the agent for you to connect to it. Nice thing about a self-hosted agent is the ability to debug on the machine.

@mkundu1 mkundu1 force-pushed the ci/add_self_hosted branch 2 times, most recently from cf0bbce to e79e644 Compare May 9, 2022 09:30
@mkundu1
Copy link
Contributor

mkundu1 commented May 10, 2022

@akaszynski The CI is currently failing with the error failed to register layer: ApplyLayer exit status 1 stdout: stderr: write /ansys_inc/v222/aisol/dll/linx64/libans.modeler.objectscom.so: no space left on device while pulling the docker image. I tried removing the existing docker images before docker pull, but that is not the issue. Is there anyway to investigate this further?

@mkundu1 mkundu1 closed this May 12, 2022
@mkundu1 mkundu1 reopened this May 12, 2022
@mkundu1 mkundu1 closed this May 12, 2022
@mkundu1 mkundu1 reopened this May 12, 2022
@mkundu1 mkundu1 force-pushed the ci/add_self_hosted branch from 8facdb1 to 2829ea6 Compare May 12, 2022 01:31
@mkundu1
Copy link
Contributor

mkundu1 commented May 12, 2022

The latest CI run is successful and the PR is now ready to merge.

@mkundu1 mkundu1 merged commit 2d42351 into main May 12, 2022
@mkundu1 mkundu1 deleted the ci/add_self_hosted branch May 12, 2022 04:34
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.

3 participants