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

WIP: Add support for appliances_task_mode #366

Draft
wants to merge 18 commits into
base: main
Choose a base branch
from
Draft

Conversation

sjpb
Copy link
Collaborator

@sjpb sjpb commented Feb 22, 2024

Adds a new variable appliances_task_mode which controls which taskfiles are run from roles. This takes options main and configure at present, with the latter usable running on a "fat" image and skipping most install tasks.

Earlier versions provided a ~25% speedup in site.yml, reducing it from 7m15s to 5m21s.

It currently affects:

  • eessi
  • os-manila-mount (could be neater with some role refactoring)
  • opensearch
  • filebeat
  • slurm_exporter
  • mysql
  • openhpc
  • grafana
  • podman
  • firewalld
  • fail2ban
  • cuda
  • OOD desktop
  • OOD jupyter
  • freeipa client

Currently does not affect:

  • nfs
  • slurm_openstack_tools
  • openondemand server
  • prometheus
  • nodeexporter

This is set to configure for the stackhpc CI environment.
It could be used in caas to make platform creation faster.

Note currently an appliances_task_mode: install is NOT supported, and ansible/fatimage.yml determines what portions of roles are run.

@sjpb sjpb changed the base branch from refactor/fatimage to main March 7, 2024 13:03
@sjpb sjpb changed the base branch from main to refactor/fatimage March 7, 2024 13:04
@sjpb sjpb changed the base branch from refactor/fatimage to main March 19, 2024 10:43
@sjpb sjpb force-pushed the refactor/task_mode branch 3 times, most recently from 3e26705 to ec22dd3 Compare March 21, 2024 13:32
@sjpb
Copy link
Collaborator Author

sjpb commented Mar 21, 2024

CI failure above was b/c grafana repos (which are still enabled, despite not doing an install) started failing GPG keys.

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.

None yet

1 participant