Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
39 changes: 33 additions & 6 deletions .github/workflows/containers-build-template.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build containers template
name: Build Containers Template

permissions:
contents: read
Expand All @@ -11,14 +11,16 @@ on:
description: "Build using the Release configuration"
default: false

env:
DEVELOPER_DIR: "/Applications/Xcode_26.6.app/Contents/Developer"

jobs:
buildAndTest:
name: Build and Test
build:
name: Build
if: github.repository == 'try-containers/Containers'
timeout-minutes: 60
runs-on: macos-26
env:
DEVELOPER_DIR: "/Applications/Xcode_26.6.app/Contents/Developer"
BUILD_CONFIGURATION: ${{ inputs.release && 'Release' || 'Debug' }}

steps:
Expand All @@ -36,6 +38,10 @@ jobs:
git diff
if ! git diff --quiet ; then echo the following files require formatting: ; git diff --name-only ; false ; fi

- name: Lint
run: |
swift format lint --strict --recursive --configuration .swift-format $(find . -type f -name '*.swift' -not -path "*/.*")

- name: Resolve packages
run: |
xcodebuild -resolvePackageDependencies \
Expand All @@ -52,12 +58,33 @@ jobs:
-destination 'platform=macOS' \
CODE_SIGNING_ALLOWED=NO

- name: Test
test:
name: Test
if: github.repository == 'try-containers/Containers'
timeout-minutes: 60
runs-on: macos-26

steps:
- name: Checkout repository
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6
with:
fetch-depth: 0

- name: Show Xcode version
run: xcodebuild -version

- name: Resolve packages
run: |
xcodebuild -resolvePackageDependencies \
-project Containers.xcodeproj \
-scheme ContainersCoreTests

- name: Test
run: |
set -o pipefail
xcodebuild test \
-project Containers.xcodeproj \
-scheme ContainerSystemTests \
-scheme ContainersCoreTests \
-destination 'platform=macOS' \
-resultBundlePath TestResults.xcresult \
CODE_SIGNING_ALLOWED=NO
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/containers-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build containers
name: Build & Test

permissions:
contents: read
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/containers-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish containers release
name: Publish Release

permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/containers-testflight.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy containers to TestFlight
name: Deploy to TestFlight

permissions:
contents: read
Expand Down
72 changes: 40 additions & 32 deletions AGENTS.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ When preparing a pull request, follow this checklist:
* Imitate the conventions of surrounding code.
* Set your own `DEVELOPMENT_TEAM` in `Configuration/Local.xcconfig` (copy it from `Configuration/Local.xcconfig.example`) rather than in Xcode's Signing & Capabilities tab, which writes it into the project file.
* Format code as described in [Formatting contributions](#formatting-contributions) (otherwise the build will fail).
* Verify that the app builds and that the unit tests pass (`xcodebuild test -project Containers.xcodeproj -scheme ContainerSystemTests -destination 'platform=macOS'`).
* Verify that the app builds and that the unit tests pass (`xcodebuild test -project Containers.xcodeproj -scheme ContainersCoreTests -destination 'platform=macOS'`).
* If you changed the UI, add a screenshot or video to the pull request.
* Follow the [seven rules](https://cbea.ms/git-commit/#seven-rules) of great Git commit messages:
* Separate subject from body with a blank line.
Expand Down Expand Up @@ -76,7 +76,7 @@ Make sure your contributions are consistent with the rest of the project's forma
This covers every Swift file your branch adds or changes compared with `main`, committed or not. The build runs the linter, so you can check the result before pushing:

```bash
swift format lint --recursive --configuration .swift-format Containers ContainerSystem ContainerSystemTests
swift format lint --recursive --configuration .swift-format Containers ContainersCore ContainersCoreTests
```

### .gitignore contributions
Expand Down
49 changes: 0 additions & 49 deletions ContainerSystem/Build/HTTP2ConnectBufferingHandler.swift

This file was deleted.

14 changes: 0 additions & 14 deletions ContainerSystem/Container/ContainerResourceUsage.swift

This file was deleted.

26 changes: 0 additions & 26 deletions ContainerSystem/Container/PublishSocket.swift

This file was deleted.

48 changes: 0 additions & 48 deletions ContainerSystem/Image/ImageSummary.swift

This file was deleted.

27 changes: 0 additions & 27 deletions ContainerSystem/Image/Reference+Normalized.swift

This file was deleted.

120 changes: 0 additions & 120 deletions ContainerSystem/Managers/SystemManager.swift

This file was deleted.

Loading
Loading