Build and Deploy OCI Image of ghostscript-printer-app Using Rockcraft#17
Merged
tillkamppeter merged 11 commits intoOpenPrinting:masterfrom Dec 15, 2024
Merged
Build and Deploy OCI Image of ghostscript-printer-app Using Rockcraft#17tillkamppeter merged 11 commits intoOpenPrinting:masterfrom
tillkamppeter merged 11 commits intoOpenPrinting:masterfrom
Conversation
- Added parts: - pappl - pappl-retrofit - qpdf - ghostscript - cups - libcupsfilters - libppd - cups-filters - pyppd - foomatic-db - hplip - c2050 - min12xxw - pnm2ppa - c2esp - dymo-cups-drivers - foo2zjs - fxlinuxprint - m2300w - printer-driver-oki - pxljr - rastertosag-gdi - splix - brlaser - ptouch-driver - ghostscript-printer-app - scripts - avahi-daemon - Added service to start dbus-daemon and start ghostscript-printer-app server - Included scripts: - Scripts to start dbus-daemon - Makefiles and scripts to build ghostscript-printer-app
…rporates an automated rock versioning system. - In the workflow file .github/workflows/auto-update.yml, we add the parameter "rock-version-schema: '^ghostpdl-(\d+\.\d+\.\d+)' to the call of the GitHub action. This instructs the action to perform versioning automation and specifies the format of the upstream release tags and the upstream version number in them. - We add "adopt-info: ghostscript" even with all metadata fields in rockcraft.yaml. This tells the GitHub action which part is the supplier of the upstream version number. Add GitHub Action to Push Image to Docker Registry - Added registry-actions.yml to automate pushing Docker images to the Docker registry. - Utilized craft-action/rockcraft-pack from Canonical to pack the rock. - Integrated docker/login-action for seamless authentication to Docker Hub within the GitHub Actions workflow. - Configured the workflow to pack rock as a Docker image using Skopeo.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces the necessary code and configurations to build and deploy the OCI image of
ghostscript-printer-appusing Rockcraft. Below are the key highlights and updates:Key Changes
Rockcraft Configuration:
Added a
rockcraft.yamlfile containing all the configurations required to build the rock forghostscript-printer-app.GitHub Workflows:
Introduced workflows to build and publish Docker images and GitHub packages.
Introduced CI to build test snap and rock packages
Note: Publishing to Docker Hub is currently commented out until OpenPrinting's Docker Hub setup is finalized.
Auto-Update Enhancements:
Updated the
auto-update.ymlworkflow to include the latest changes Add Argument to Specify YAML File Path ubuntu/desktop-snaps#813 from thedesktop/snaprepository.This update enables support for specifying a path to the YAML file that needs to be updated.