feature/ci-cd-drone-migration #3

Merged
t3hn3rd merged 21 commits from feature/ci-cd-drone-migration into develop 2025-03-09 22:32:17 +00:00
Owner
  • CI/CD Pipeline now working & tested.
  • Created a new .drone.yml that will compile the Dockerfile, upload this to the Docker Registry & then use this for building.
  • 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.
- CI/CD Pipeline now working & tested. - Created a new `.drone.yml` that will compile the Dockerfile, upload this to the Docker Registry & then use this for building. - 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.
t3hn3rd added 21 commits 2025-03-09 22:31:38 +00:00
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.
t3hn3rd merged commit 8c3649f691 into develop 2025-03-09 22:32:17 +00:00
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#3
No description provided.