Skip to content

Open sourcing of helm2oci#1

Merged
dsteeley merged 11 commits intomainfrom
dws/initial_open_sourcing
Sep 3, 2024
Merged

Open sourcing of helm2oci#1
dsteeley merged 11 commits intomainfrom
dws/initial_open_sourcing

Conversation

@dsteeley
Copy link
Copy Markdown
Contributor

PR moving code to open source github repository

  • Added github actions
  • Updated the integration test to work in CI

Fiona Davies and others added 11 commits May 31, 2024 15:45
ShaWritter file and Write file copied from rpmoci. Could definitely make my own writer but it was there so I used it.
use ocidir, simplify cli

----
#### AI description  (iteration 1)
#### PR Classification
Code cleanup and CLI simplification.

#### PR Summary
This pull request refactors the code to use the `ocidir` crate and simplifies the CLI implementation.
- Removed `helm_to_oci/src/lib.rs` and its associated functionality.
- Added new CLI implementation in `src/main.rs` using `argh` for argument parsing.
- Updated dependencies in `Cargo.lock` to reflect the new crate usage and removed unused dependencies.

Related work items: #1741777
@dsteeley dsteeley merged commit 13062b3 into main Sep 3, 2024
Comment thread .github/workflows/ci.yml
check:
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/cbl-mariner/base/core:2.0
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

just run on ubuntu 24.04?

Comment thread .github/workflows/ci.yml
runs-on: ubuntu-latest
container:
image: mcr.microsoft.com/cbl-mariner/base/core:2.0
options: --privileged
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

why privileged? (but again suggest just running in ubuntu 24.04)

with:
toolchain: stable
override: true
- uses: katyo/publish-crates@v2
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

do we use this elsewhere? how widely used in msft is it?

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.

2 participants