Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix SQLite3 missing in Ubuntu 24.04 runner image #11341

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

Setland34
Copy link
Contributor

@Setland34 Setland34 commented Jan 9, 2025

Fixes #11279

Add SQLite3 to Ubuntu 24.04 runner image.

  • Add libsqlite3-dev to the common_packages section in toolset-2404.json.
  • Add sqlite3 to the cmd_packages section in toolset-2404.json.
  • Add sqlite3 version to the Databases section in Ubuntu2404-Readme.md.

For more details, open the Copilot Workspace session.

Fixes actions#11279

Add SQLite3 to Ubuntu 24.04 runner image.

* Add `libsqlite3-dev` to the `common_packages` section in `toolset-2404.json`.
* Add `sqlite3` to the `cmd_packages` section in `toolset-2404.json`.
* Add `sqlite3` version to the `Databases` section in `Ubuntu2404-Readme.md`.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/actions/runner-images/issues/11279?shareId=XXXX-XXXX-XXXX-XXXX).
The extended description for the Ubuntu 24.04 image in the `runner-images` repository includes details about the installed software, package management, project management, tools, CLI tools, Java, PHP tools, Haskell tools, Rust tools, browsers and drivers, .NET tools, databases, cached tools, PowerShell tools, web servers, Android tools, and installed apt packages. You can view the full content [here](https://github.com/Setland34/runner-images/blob/f5ea0966f4a6a2da480bf7ab46355bebb938561d/images/ubuntu/Ubuntu2404-Readme.md).
Copy link
Contributor Author

@Setland34 Setland34 left a comment

Choose a reason for hiding this comment

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

The extended description for the Ubuntu 24.04 image in the runner-images repository includes details about the installed software, package management, project management, tools, CLI tools, Java, PHP tools, Haskell tools, Rust tools, browsers and drivers, .NET tools, databases, cached tools, PowerShell tools, web servers, Android tools, and installed apt packages. You can view the full content here.

Copy link
Contributor Author

@Setland34 Setland34 left a comment

Choose a reason for hiding this comment

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

curl -X POST -H "Authorization: token YOUR_GITHUB_TOKEN" -d '{"body": "This commit looks great! Adding SQLite3 to the Ubuntu 24.04 runner image is a useful addition."}' https://api.github.com/repos/actions/runner-images/commits/f5ea0966f4a6a2da480bf7ab46355bebb938561d/comments

Here is the extended description of the `Setland34/runner-images` repository:

### Overview
The `Setland34/runner-images` repository contains the source code used to create the VM images for GitHub-hosted runners. These runners are used for GitHub Actions, providing environments to run workflows.

### Key Sections
- **Available Images**: Lists images like Ubuntu, macOS, and Windows, their YAML labels, included software, and rollout status.
- **Announcements**: Information about notable upcoming changes.
- **Image Definitions**: Details on Beta and General Availability (GA) images, their update cadence, and criteria for moving from Beta to GA.
- **Image Releases**: How to follow along with changes, including subscription to releases.
- **Software and Image Support**: Policies on tool support and version updates, as well as image deprecation.
- **How to Interact with the Repo**: Guidelines for filing issues, participating in discussions, and more.
- **FAQs**: Answers to common questions about available images, image versions, contributing to the macOS source, and more.

### Recent Activity
- **Recent Commits**: The repository has active contributions and recent changes include updates and fixes across various OS images.
   - [Commit 6cc2576](6cc2576): Removing Python version 3.7
   - [Commit 92c3ecc](92c3ecc): Removing Python version 3.7 for Windows
   - [Commit b8e122b](b8e122b): Adding Xcode 16.2 Release to macOS14
   - [View more commits](https://github.com/Setland34/runner-images/commits)

### Documentation
- [README.md](https://github.com/Setland34/runner-images/blob/main/README.md): Comprehensive documentation on the repository's purpose, available images, usage policies, and more.
- [CONTRIBUTING.md](https://github.com/Setland34/runner-images/blob/main/CONTRIBUTING.md): Guidelines for contributing to the repository, including how to submit pull requests and add new tools.

This extended description provides a comprehensive overview and recent updates for the GitHub Actions runner images repository.
xz-utils               | 5.6.1+really5.4.5-1build0.1
zip                    | 3.0-13ubuntu0.1             
zsync                  | 0.6.2-5build1               
-
+
@@ -1,318 +1,6 @@
| Announcements |
|-|
| [[Windows & Ubuntu] Breaking change : Maven 3.8.* version will be updated to  Maven 3.9.*  from January 10,2025](actions#11093) |
| [[Ubuntu] Breaking Change: runner user will have UID 1001 instead of 1000 for larger runners](actions#10936) |
| [Ubuntu-latest workflows will use Ubuntu-24.04 image](actions#10636) |
***

# Ubuntu 24.04
...
Copy link
Contributor Author

@Setland34 Setland34 left a comment

Choose a reason for hiding this comment

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

* Add `libsqlite3-dev` to the `common_packages` section in `images/ubuntu/toolsets/toolset-2404.json`
* Add `sqlite3` to the `cmd_packages` section in `images/ubuntu/toolsets/toolset-2404.json`
* Add `sqlite3` version to the `Databases` section in `images/ubuntu/Ubuntu2404-Readme.md`
* Ensure `Get-SqliteVersion` function is defined in `images/ubuntu/scripts/docs-gen/SoftwareReport.Databases.psm1`
* Ensure `Get-SqliteVersion` function is called for Ubuntu 24.04 in `images/ubuntu/scripts/docs-gen/SoftwareReport.Databases.psm1`
* Ensure `Get-SqliteVersion` function is called in `images/ubuntu/scripts/docs-gen/Generate-SoftwareReport.ps1`
* Add `libsqlite3-dev` to the `common_packages` section in `images/ubuntu/toolsets/toolset-2404.json`
* Add `sqlite3` to the `cmd_packages` section in `images/ubuntu/toolsets/toolset-2404.json`
* Add `sqlite3` version to the `Databases` section in `images/ubuntu/Ubuntu2404-Readme.md`
* Ensure `Get-SqliteVersion` function is defined in `images/ubuntu/scripts/docs-gen/SoftwareReport.Databases.psm1`
* Ensure `Get-SqliteVersion` function is called for Ubuntu 24.04 in `images/ubuntu/scripts/docs-gen/SoftwareReport.Databases.psm1`
* Ensure `Get-SqliteVersion` function is called in `images/ubuntu/scripts/docs-gen/Generate-SoftwareReport.ps1`
* Add `libsqlite3-dev` to the `common_packages` section in `images/ubuntu/toolsets/toolset-2404.json`
* Add `sqlite3` to the `cmd_packages` section in `images/ubuntu/toolsets/toolset-2404.json`
* Add `sqlite3` version to the `Databases` section in `images/ubuntu/Ubuntu2404-Readme.md`
* Ensure `Get-SqliteVersion` function is defined in `images/ubuntu/scripts/docs-gen/SoftwareReport.Databases.psm1`
* Ensure `Get-SqliteVersion` function is called for Ubuntu 24.04 in `images/ubuntu/scripts/docs-gen/SoftwareReport.Databases.psm1`
* Ensure `Get-SqliteVersion` function is called in `images/ubuntu/scripts/docs-gen/Generate-SoftwareReport.ps1`
* Add a new test block for SQLite3 in `Tools.Tests.ps1`
* Verify that the `sqlite3 --version` command returns a zero exit code
* Combine `It` block for `pulumi` version check into a single line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SQLite3 missing or not found in Ubuntu 24, was present in Ubuntu 22
1 participant