Skip to content
This repository has been archived by the owner on Mar 2, 2024. It is now read-only.

Stefan jum/add dev content #12

Merged
merged 5 commits into from Oct 3, 2023

Conversation

StefanJum
Copy link
Member

No description provided.

`.unikraft/` was previously used as the directory to clone library
 repositories (including the `unikraft` core repository). Being a
hidden directory, it is not immediately available to the developer.

Use `workdir/` instead.
Also use `workdir/build/` as output directory and ignore the `workdir/`
directory.

Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
@razvand
Copy link
Contributor

razvand commented Sep 24, 2023

Please also add an update to the README.md file. See the updates from this commit.

Also update .unikraft/ to workdir/ and use the proper names for defconfig files.

Move all the defconfig files into the `defconfigs/` directory.
Also minimise them using `make savedefconfig`, removing all
unnecesary config options.

Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
@StefanJum
Copy link
Member Author

Done @razvand

Copy link
Contributor

@razvand razvand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the generate.py script, since it's now downloaded. Also ignore it.

Also update the TLDR in README.md with the downloading and using of generate.py, same as documented here.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@StefanJum StefanJum requested a review from razvand October 1, 2023 13:59
@StefanJum StefanJum force-pushed the StefanJum/add-dev-content branch 3 times, most recently from 23a6812 to 304daf0 Compare October 1, 2023 20:57
The `generate.py` script will be downloaded from
https://raw.githubusercontent.com/unikraft/app-testing/staging/scripts/generate.py -O scripts/generate.py
and will be used to generate the scripts in the `scripts/build/` and `scripts/run/`
directories. This will improve maintenance (only required to happen for the
`generate.py` script), while still keeping things usable by providing the basic
build and run scripts.

Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
@StefanJum StefanJum force-pushed the StefanJum/add-dev-content branch 2 times, most recently from d0c304d to 811b0ad Compare October 2, 2023 08:09
@StefanJum StefanJum changed the base branch from stable to staging October 2, 2023 08:11
Add instructions on how to use the generator script and the output
scripts to build and run the application.

Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Copy link
Contributor

@razvand razvand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed-by: Razvan Deaconescu razvand@unikraft.io
Approved-by: Razvan Deaconescu razvand@unikraft.io

@razvand razvand merged commit f3351da into unikraft:staging Oct 3, 2023
@razvand razvand deleted the StefanJum/add-dev-content branch October 3, 2023 19:41
razvand pushed a commit that referenced this pull request Oct 3, 2023
`.unikraft/` was previously used as the directory to clone library
 repositories (including the `unikraft` core repository). Being a
hidden directory, it is not immediately available to the developer.

Use `workdir/` instead.
Also use `workdir/build/` as output directory and ignore the `workdir/`
directory.

Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #12
razvand pushed a commit that referenced this pull request Oct 3, 2023
Move all the defconfig files into the `defconfigs/` directory.
Also minimise them using `make savedefconfig`, removing all
unnecesary config options.

Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #12
razvand pushed a commit that referenced this pull request Oct 3, 2023
The `generate.py` script will be downloaded from
https://raw.githubusercontent.com/unikraft/app-testing/staging/scripts/generate.py -O scripts/generate.py
and will be used to generate the scripts in the `scripts/build/` and `scripts/run/`
directories. This will improve maintenance (only required to happen for the
`generate.py` script), while still keeping things usable by providing the basic
build and run scripts.

Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #12
razvand pushed a commit that referenced this pull request Oct 3, 2023
Add instructions on how to use the generator script and the output
scripts to build and run the application.

Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #12
razvand pushed a commit that referenced this pull request Oct 3, 2023
Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #12
razvand pushed a commit that referenced this pull request Oct 3, 2023
Switch to using fs1 as 9pfs id in `kraft.yaml`. This makes it
compatible with KraftKit handling of 9pfs mounts.

Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #12
razvand pushed a commit that referenced this pull request Oct 3, 2023
Switch to using fs1 as 9pfs id in `kraft.yaml`. This makes it
compatible with KraftKit handling of 9pfs mounts.

Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants