-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support making snapshots from deployments (#62)
* feat: snapshots * fix: add harborapi as a requirement * style: fix style * fix: add job.hcl * feat: ignacio's review Main changes: * changed route path * break snapshot retrieval into nomad or harbor * add checks (membership, quota limits, ownership, existence, etc) * moved to synchronous Harbor client * general code refactoring * feat: add tests for snapshots * feat: make snapshots deployable * fix: snapshot date field * fix: query info of non allocated snapshots * fix: make sure to not break if allocations are not yet created * fix: catch tasks is None * fix: rename completed state to complete * fix: handle better no allocs case --------- Co-authored-by: Ignacio Heredia <[email protected]> Co-authored-by: Marta Obregón <[email protected]>
- Loading branch information
1 parent
695e7a3
commit b49d07d
Showing
8 changed files
with
721 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.