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

Custom job actions #16249

Closed
wants to merge 12 commits into from
Closed

Custom job actions #16249

wants to merge 12 commits into from

Conversation

philrenaud
Copy link
Contributor

@philrenaud philrenaud commented Feb 23, 2023

Hack week project! Nomad administrators can give a "blessed" set actions that other operators can execute without having to go into an alloc exec.

  • "Infrastructure as Code" way of thinking about executable scripts
  • ACL specificity: Can give a user a run-actions policy, and avoid giving them (very permissive) alloc-exec
  • Makes "What does this job actually do?" more obvious
  • Convenient UI

Example job spec

TODO:

  • Automatic alloc selection if not specified
  • Automatic task selection if not specified
  • run-actions ACL policy
  • top-level "action" CLI command
  • Task-actions and Task-group actions in the UI
app_with_actions.mov
hal.mov

@philrenaud philrenaud self-assigned this Feb 23, 2023
@philrenaud philrenaud linked an issue Feb 23, 2023 that may be closed by this pull request
@github-actions
Copy link

github-actions bot commented Feb 23, 2023

Ember Asset Size action

As of f644a09

Files that got Bigger 🚨:

File raw gzip
nomad-ui.js +6.31 kB +1.03 kB
nomad-ui.css +732 B +163 B

Files that stayed the same size 🤷‍:

File raw gzip
vendor.js 0 B 0 B
vendor.css 0 B 0 B

@github-actions
Copy link

github-actions bot commented Feb 23, 2023

Ember Test Audit comparison

main f644a09 change
passes 1467 1466 -1
failures 0 1 +1
flaky 0 0 0
duration 11m 46s 681ms 000ms -11m 46s 681ms

@davidlublink
Copy link

This looks great!

@philrenaud philrenaud mentioned this pull request Sep 29, 2023
32 tasks
@philrenaud philrenaud closed this Dec 11, 2023
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.

Custom actions stanza
2 participants