develop #4

Closed
t3hn3rd wants to merge 0 commits from develop into master
Owner

Merge of current development track into master.

Merge of current development track into master.
t3hn3rd added 42 commits 2025-03-09 22:37:13 +00:00
Added some documentation to Asuro.pas & ProgManager.
Tidied up comments for docgen.

Added some documentation to Asuro.pas, ProgManager, AHCI, asfs & ATA_ISR to fix some of the pasdoc/docgen issues.

See merge request spexeah/asuro!22
Changed the Asuro.pas comment to be the standard format in terms of Directory->File (no .pas) for PasDoc gen.
Changed comments in Asuro.pas when generated

Changed the Asuro.pas comment to be the standard format in terms of Directory->File (no .pas) for PasDoc gen.

See merge request spexeah/asuro!23
3 time the charm

See merge request spexeah/asuro!26
Changed docgen job to create doc folder, not public for now.
Docgen changes

See merge request spexeah/asuro!27
Update readme.md

See merge request spexeah/asuro!29
(cherry picked from commit 24c371cab18a9aecb9fe792dcefacbffd847622a)
Added new String functions

See merge request spexeah/asuro!30
Modified the linker script + Added an init function to System.pas to be called at system boot, this allows tracking of the Kernel start & end addresses, and thus, allows us to calculate the kernel size.
Improved the compile script (compile_sources.sh) to show line numbers on error and generally compile faster.
Compile Script Improvements

See merge request spexeah/asuro!31
Kernel Size Awareness

See merge request spexeah/asuro!32
- Created a PowerShell script `virtualbox-wrapper.ps1` to wrap calls to vboxmanage and only exit once the virtual machine has been terminated.
- Updated launch.json to use the PowerShell launch type to launch `virtualbox-wrapper.ps1` with the machine name supplied as an argument.
- Updated `readme.md` to reflect these changes.
Reviewed-on: #1
- `VirtualBox-Wrapper.ps1` now takes 'up' or 'down' as opposed to a machine name. This allows start/stop of a virtualmachine.
- `VirtualBox-Wrapper.ps1` now relies on a gitignored `localenv.json` to work.
- `VirtualBox-Wrapper.ps1` can also optionally monitor the log file generated from the serial adapter in VirtualBox.
- `readme.md` updated to provide instructions on how to populate the `localenv.json` file.
- `tasks.json` updated to have a "Clean" task to --remove-orphans, the Build task depends on this.
- `tasks.json` updated to have a "Close VirtualBox" task, this runs the `virtualbox-wrapper.ps1` in 'down' mode. The Build task depends on this.
- `launch.json` updated to run the `VirtualBox-Wrapper.ps1` with the "-Command up" argument, instead of machine name.
- .gitignore updated to ignore any instances of `localenv.json`.
Reviewed-on: #2
First attempt at drone cicd migration
Some checks failed
continuous-integration/drone/push Build is failing
f907b7e072
- Created a new `.drone.yml` that will compile the Dockerfile, upload this to the Docker Registry & then use this for building.
Updated registry to the registry server, as opposed to my username
Some checks failed
continuous-integration/drone/push Build is failing
f19444201d
Oops.
Dockerfile corrections
All checks were successful
continuous-integration/drone/push Build is passing
9473e26b50
- /code already exists, don't create it in Dockerfile
.drone.yml modifications
All checks were successful
continuous-integration/drone/push Build is passing
6a1b87e250
Modified drone.yml to copy source from the /drone/src directory to the /code directory.
Still not working
Some checks failed
continuous-integration/drone/push Build is failing
43464bb550
Testing whether mount paths are the problem
Attempts to resolve issues with missing /code directory
Some checks failed
continuous-integration/drone/push Build is failing
8c51bd8690
Dockerfile expects `/code` attempting to resolve this in the .drone.yml
Further updates to .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing
96fcf19c14
Still experiencing issues with not being able to find the .sh files due to missing /code directory.
DroneCI doesn't fetch tags by default
All checks were successful
continuous-integration/drone/push Build is passing
d4236f455e
- Added `git fetch --tags` as the first command
- Changes to compile_vergen.sh in order to debug.
Cleaning up compile scripts
All checks were successful
continuous-integration/drone/push Build is passing
f0dc598f44
- Debugging removed from `compile_vergen.sh`
- `compile.sh` modified to use a for loop for each command & only continue if previous steps succeeded.
Intentional edit to cause build failure
Some checks failed
continuous-integration/drone/push Build is failing
0b5981242b
- Intentional edit to `compile_stub.sh` in order to cause a build failure.
Testing Succeeded - Refinement & removal of debugging code
All checks were successful
continuous-integration/drone/push Build is passing
04cff2e2c3
- Removed the debug `exit 1` from `compile_stub.sh`
- Improved `compile.sh` to use runOrFail in a more suitable way, correctly passing through failure messages.
Testing artefact upload
Some checks failed
continuous-integration/drone/push Build is failing
738307d070
- Testing the upload of the resulting `Asuro.iso` to Gitea fromt the Drone pipeline.
Further tweaks to artefact upload step
Some checks failed
continuous-integration/drone/push Build is failing
f795ba24f8
DroneCI wasn't happy with the mv of `Asuro.iso` - changed to a cp.
Further permission issues
Some checks failed
continuous-integration/drone/push Build is failing
315050f095
- Further attempts to fix permission issues within Drone when exporting the Asuro.iso artefact
- Switched to `alpine/git` instead of `curl` image, as git didn't exist under the `curl` image.
Debugging & Testing
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
5e6e6c394a
- Mistakes made in the curl methods used & the curl upload-file flag - rectified.
Exports don't persist between commands
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2906b8724b
- Exports don't persist between commands in Drone commands - removed these exports and made more verbose commands.
Another attempt - issues with YAML layout for some reason
Some checks reported errors
continuous-integration/drone/push Build encountered an error
d1a4b4d42f
Still experiencing YAML errors, for some reason.
All checks were successful
continuous-integration/drone/push Build is passing
0913daebc6
Slowly making progress
All checks were successful
continuous-integration/drone/push Build is passing
f1211f3cca
- YAML is now valid - however, the attempt to temp store the revision number failed. Doing it inline instead.
Final Test before finalizing
All checks were successful
continuous-integration/drone/push Build is passing
6bca42f2a5
- Single quotes were causing the first CURL to fail.
- This should be the penultimate commit before ready to progress through dev to master.
Final commit to merge through develop & master
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
b47194ed99
- CI/CD Pipeline now working & tested.
- Commits to all branches will trigger the pipeline in DroneCI.
- Commits to master will trigger the resulting ISO artefact to be uploaded to Gitea as a Package.
Merge pull request 'feature/ci-cd-drone-migration' (#3) from feature/ci-cd-drone-migration into develop
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
8c3649f691
Reviewed-on: #3
t3hn3rd closed this pull request 2025-03-10 12:44:55 +00:00
Author
Owner

Manually merged.

Manually merged.
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Spexeah/Asuro#4
No description provided.