Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Simplify job template management workflow #354

Merged
7 commits merged into from
Dec 2, 2020

Conversation

bmc-msft
Copy link
Contributor

@bmc-msft bmc-msft commented Dec 1, 2020

  1. Merge 'create' and 'update' to a single 'save' operation.
  2. Allow fetching a single template.

This enables the following workflow:

$ onefuzz job_templates manage get libfuzzer_linux > template.json
$ <... update template as desired ...>
$ onefuzz job_templates manage save libfuzzer_linux @./template.json
$

src/cli/onefuzz/job_templates/manage.py Outdated Show resolved Hide resolved
src/cli/onefuzz/job_templates/manage.py Outdated Show resolved Hide resolved
@ghost
Copy link

ghost commented Dec 2, 2020

Hello @bmc-msft!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit e6b55ab into microsoft:main Dec 2, 2020
@bmc-msft bmc-msft deleted the simplify-template-management branch January 20, 2021 11:11
@ghost ghost locked as resolved and limited conversation to collaborators Apr 17, 2021
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants