Skip to content

Commit

Permalink
chore: rename firecracker_models into firepilot_models
Browse files Browse the repository at this point in the history
Signed-off-by: AlexandreBrg <[email protected]>
  • Loading branch information
alexandrebrg committed Apr 16, 2023
1 parent 15988dc commit b187db1
Show file tree
Hide file tree
Showing 55 changed files with 133 additions and 1,310 deletions.
4 changes: 2 additions & 2 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
name-template: '$RESOLVED_VERSION'
tag-template: '$RESOLVED_VERSION'

version-resolver:
major:
Expand Down
26 changes: 25 additions & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,31 @@ on:
jobs:
update_release_draft:
runs-on: ubuntu-22.04
outputs:
version: ${{ steps.drafter.outputs.tag_name }}
steps:
- uses: release-drafter/[email protected]
id: drafter
env:
GITHUB_TOKEN: ${{ secrets.RIK_CI_RW }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

bump_firepilot_version:
needs: [update_release_draft]
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Bump version
run: |
sed -i -e 's/^version = .*/version = "${{ needs.update_release_draft.outputs.version }}"/' firepilot/Cargo.toml
- name: Commit changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "abrgBot"
git add firepilot/Cargo.toml
git commit -m "[skip ci] Bump firepilot version to ${{ needs.update_release_draft.outputs.version }}"
git push
39 changes: 26 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = [
"firepilot",
"firecracker-models"
"firepilot_models"
]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
`firepilot` is a rust library to interact with [firecracker](firecracker), it
can be used to configure and run firecracker micro VMs. It relies on
auto-generated models provided by the [project's OpenAPI](firecracker-openapi),
those models are available in the dependency `firecracker-models`.
those models are available in the dependency `firepilot_models`.

There are some Firecracker features that are not yet supported. If you need one
of them, please open an issue.
Expand Down
14 changes: 0 additions & 14 deletions firecracker-models/Cargo.toml

This file was deleted.

20 changes: 0 additions & 20 deletions firecracker-models/README.md

This file was deleted.

Loading

0 comments on commit b187db1

Please sign in to comment.