Skip to content

Start working on building a layer #9

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

Merged
merged 11 commits into from
Jul 13, 2022
Merged

Start working on building a layer #9

merged 11 commits into from
Jul 13, 2022

Conversation

rainersigwald
Copy link
Member

Introduce Descriptor with fields per the spec.

Some configuration and test infrastructure to help with e2e tests.

Implement Layer.FromDirectory to capture + tar a directory, analogous to a Dockerfile COPY instruction.

rainersigwald and others added 9 commits June 2, 2022 16:03
Template for Dependabot updates.
Bumps [GitHubActionsTestLogger](https://github.com/Tyrrrz/GitHubActionsTestLogger) from 1.4.1 to 2.0.1.
- [Release notes](https://github.com/Tyrrrz/GitHubActionsTestLogger/releases)
- [Changelog](https://github.com/Tyrrrz/GitHubActionsTestLogger/blob/master/Changelog.md)
- [Commits](Tyrrrz/GitHubActionsTestLogger@1.4.1...2.0.1)

---
updated-dependencies:
- dependency-name: GitHubActionsTestLogger
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.1.0 to 17.2.0.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](microsoft/vstest@v17.1.0...v17.2.0)

---
updated-dependencies:
- dependency-name: Microsoft.NET.Test.Sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [MSTest.TestFramework](https://github.com/microsoft/testfx) from 2.2.8 to 2.2.10.
- [Release notes](https://github.com/microsoft/testfx/releases)
- [Commits](microsoft/testfx@v2.2.8...v2.2.10)

---
updated-dependencies:
- dependency-name: MSTest.TestFramework
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [MSTest.TestAdapter](https://github.com/microsoft/testfx) from 2.2.8 to 2.2.10.
- [Release notes](https://github.com/microsoft/testfx/releases)
- [Commits](microsoft/testfx@v2.2.8...v2.2.10)

---
updated-dependencies:
- dependency-name: MSTest.TestAdapter
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Rainer Sigwald <raines@microsoft.com>
string tempTarballPath = Path.Join(tempPath, Path.GetRandomFileName());
using (FileStream fs = File.Create(tempTarballPath))
{
// using (GZipStream gz = new(fs, CompressionMode.Compress)) // TODO: https://github.com/dotnet/runtime/issues/65951#issuecomment-1145209082
Copy link
Member

Choose a reason for hiding this comment

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

did this make it into preview 6? preemptive 🎆 in case it did

Copy link
Member Author

Choose a reason for hiding this comment

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

Looks like yes per the tags on dotnet/runtime@1d6f23a

However, I'm not going to do it now because it will break a thing in my e2e branch--there's a place where we're supposed to hash the uncompressed tarball and some places where we're supposed to hash the compressed one, and right now they're conflated. Filed #29.

With a tar API change that we should consume sooner rather than later.
@rainersigwald rainersigwald merged commit c8305b1 into main Jul 13, 2022
@rainersigwald rainersigwald deleted the start-layers branch July 13, 2022 21:06
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.

3 participants