Skip to content

Commit b103c46

Browse files
committed
rebase + fix nits
Signed-off-by: Guillaume de Rouville <[email protected]>
1 parent 07f1cb8 commit b103c46

File tree

5 files changed

+152
-156
lines changed

5 files changed

+152
-156
lines changed

.github/workflows/test-windows.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ name: Test Windows
22

33
on:
44
push:
5-
branches: [main]
6-
pull_request:
7-
branches: [main]
5+
branches: ['**']
86
workflow_dispatch:
97

108
jobs:
@@ -32,14 +30,11 @@ jobs:
3230
shell: pwsh
3331
run: |
3432
choco install dagger -y
35-
# refreshenv doesn't work in GitHub Actions, manually update PATH
36-
$env:PATH = [System.Environment]::GetEnvironmentVariable("PATH", "Machine") + ";" + [System.Environment]::GetEnvironmentVariable("PATH", "User")
33+
echo "$Env:ChocolateyInstall\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
3734
3835
- name: Verify Dagger installation
3936
shell: pwsh
40-
run: |
41-
$env:PATH = [System.Environment]::GetEnvironmentVariable("PATH", "Machine") + ";" + [System.Environment]::GetEnvironmentVariable("PATH", "User")
42-
dagger version
37+
run: dagger version
4338

4439
- name: Download dependencies
4540
run: go mod download

.goreleaser.yaml

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -134,36 +134,36 @@ nix:
134134
--fish <($out/bin/cu completion fish) \
135135
--zsh <($out/bin/cu completion zsh)
136136
137-
chocolateys:
138-
- name: container-use
139-
ids:
140-
- container-use-archive
141-
owners: Dagger
142-
title: Container Use
143-
authors: Dagger Team
144-
project_url: https://github.com/dagger/container-use
145-
url_template: "https://github.com/dagger/container-use/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
146-
icon_url: https://raw.githubusercontent.com/dagger/container-use/main/docs/images/dagger-icon.png
147-
copyright: 2025 Dagger, Inc.
148-
license_url: https://github.com/dagger/container-use/blob/main/LICENSE
149-
require_license_acceptance: false
150-
project_source_url: https://github.com/dagger/container-use
151-
docs_url: https://container-use.com/
152-
bug_tracker_url: https://github.com/dagger/container-use/issues
153-
tags: "container docker mcp agent development cli devtools"
154-
summary: Containerized environments for coding agents
155-
description: |
156-
Container Use provides isolated, containerized environments for AI coding agents using Docker and Git.
137+
# chocolateys:
138+
# - name: container-use
139+
# ids:
140+
# - container-use-archive
141+
# owners: Dagger
142+
# title: Container Use
143+
# authors: Dagger Team
144+
# project_url: https://github.com/dagger/container-use
145+
# url_template: "https://github.com/dagger/container-use/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
146+
# icon_url: https://raw.githubusercontent.com/dagger/container-use/main/docs/images/dagger-icon.png
147+
# copyright: 2025 Dagger, Inc.
148+
# license_url: https://github.com/dagger/container-use/blob/main/LICENSE
149+
# require_license_acceptance: false
150+
# project_source_url: https://github.com/dagger/container-use
151+
# docs_url: https://container-use.com/
152+
# bug_tracker_url: https://github.com/dagger/container-use/issues
153+
# tags: "container docker mcp agent development cli devtools"
154+
# summary: Containerized environments for coding agents
155+
# description: |
156+
# Container Use provides isolated, containerized environments for AI coding agents using Docker and Git.
157157

158-
Features:
159-
- Isolated environments for AI agents to work safely
160-
- Git-based version control for all changes
161-
- Docker containers for consistent development environments
162-
- Model Context Protocol (MCP) integration
163-
- Support for multiple popular AI coding assistants
164-
release_notes: "https://github.com/dagger/container-use/releases/tag/{{ .Tag }}"
165-
api_key: "{{ .Env.CHOCOLATEY_API_KEY }}"
166-
# skip_publish: auto
158+
# Features:
159+
# - Isolated environments for AI agents to work safely
160+
# - Git-based version control for all changes
161+
# - Docker containers for consistent development environments
162+
# - Model Context Protocol (MCP) integration
163+
# - Support for multiple popular AI coding assistants
164+
# release_notes: "https://github.com/dagger/container-use/releases/tag/{{ .Tag }}"
165+
# api_key: "{{ .Env.CHOCOLATEY_API_KEY }}"
166+
# skip_publish: auto
167167

168168
checksum:
169169
name_template: "checksums.txt"

docs/quickstart.mdx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,7 @@ Make sure you have [Docker](https://www.docker.com/get-started) and Git installe
2727
<Tabs>
2828
<Tab title="PowerShell Script">
2929
```powershell
30-
# Quick install
31-
irm https://raw.githubusercontent.com/dagger/container-use/main/install.ps1 | iex
32-
33-
# Or download and run with options
34-
Invoke-WebRequest -Uri "https://raw.githubusercontent.com/dagger/container-use/main/install.ps1" -OutFile install.ps1
35-
.\install.ps1 -AddToPath
30+
$u='https://raw.githubusercontent.com/dagger/container-use/main/install.ps1';$d=Join-Path $env:TEMP 'install-container-use.ps1';$o=@{};if((Get-Command Invoke-WebRequest).Parameters.ContainsKey('UseBasicParsing')){$o.UseBasicParsing=$true};Invoke-WebRequest -Uri $u -OutFile $d @o;& $d -AddToPath
3631
```
3732
</Tab>
3833

environment/integration/helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func createTestTempDir(t *testing.T, prefix string) string {
5252
testName = testName[len(testName)-8:]
5353
}
5454
// Use C:\Temp or system temp root
55-
tempRoot := filepath.Join(filepath.VolumeName(os.TempDir()), "\\Temp")
55+
tempRoot := filepath.Join(filepath.VolumeName(os.TempDir()), "Temp")
5656
if err := os.MkdirAll(tempRoot, 0755); err != nil {
5757
// Fall back to regular temp dir if we can't create C:\Temp
5858
tempRoot = os.TempDir()

0 commit comments

Comments
 (0)