Skip to content

Commit

Permalink
backport of commit b69f141
Browse files Browse the repository at this point in the history
  • Loading branch information
lgfa29 committed Jul 27, 2023
1 parent 1173446 commit d30f98b
Show file tree
Hide file tree
Showing 37 changed files with 607 additions and 1,453 deletions.
3 changes: 0 additions & 3 deletions .changelog/18069.txt

This file was deleted.

1 change: 0 additions & 1 deletion .changelog/18070.txt

This file was deleted.

3 changes: 0 additions & 3 deletions .copywrite.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,5 @@ project {
header_ignore = [
"command/asset/*.hcl",
"command/agent/bindata_assetfs.go",
// Enterprise files do not fall under the open source licensing. OSS-ENT
// merge conflicts might happen here, please be sure to put new OSS
// exceptions above this comment.
]
}
19 changes: 0 additions & 19 deletions .github/workflows/copywrite.yml

This file was deleted.

473 changes: 0 additions & 473 deletions CHANGELOG-unsupported.md

Large diffs are not rendered by default.

583 changes: 517 additions & 66 deletions CHANGELOG.md

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ ALL_TARGETS = linux_386 \
linux_amd64 \
linux_arm \
linux_arm64 \
linux_s390x \
windows_386 \
windows_amd64
endif
Expand Down
4 changes: 2 additions & 2 deletions drivers/docker/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,7 @@ func (d *Driver) SetConfig(c *base.Config) error {
if len(d.config.PullActivityTimeout) > 0 {
dur, err := time.ParseDuration(d.config.PullActivityTimeout)
if err != nil {
return fmt.Errorf("failed to parse 'pull_activity_timeout' duration: %v", err)
return fmt.Errorf("failed to parse 'pull_activity_timeout' duaration: %v", err)
}
if dur < pullActivityTimeoutMinimum {
return fmt.Errorf("pull_activity_timeout is less than minimum, %v", pullActivityTimeoutMinimum)
Expand All @@ -751,7 +751,7 @@ func (d *Driver) SetConfig(c *base.Config) error {
if d.config.InfraImagePullTimeout != "" {
dur, err := time.ParseDuration(d.config.InfraImagePullTimeout)
if err != nil {
return fmt.Errorf("failed to parse 'infra_image_pull_timeout' duration: %v", err)
return fmt.Errorf("failed to parse 'infra_image_pull_timeout' duaration: %v", err)
}
d.config.infraImagePullTimeoutDuration = dur
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/docker/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func authFromTaskConfig(driverConfig *TaskConfig) authBackend {
}

// authFromDockerConfig generate an authBackend for a dockercfg-compatible file.
// The authBackend can either be from explicit auth definitions or via credential
// The authBacken can either be from explicit auth definitions or via credential
// helpers
func authFromDockerConfig(file string) authBackend {
return func(repo string) (*docker.AuthConfiguration, error) {
Expand Down
1 change: 1 addition & 0 deletions e2e/example/input/env.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ job "env" {
}

task "task" {
user = "nobody"
driver = "raw_exec"

config {
Expand Down
1 change: 1 addition & 0 deletions e2e/example/input/sleep.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ job "sleep" {
}

task "task" {
user = "nobody"
driver = "raw_exec"

config {
Expand Down
6 changes: 0 additions & 6 deletions e2e/pledge/doc.go

This file was deleted.

62 changes: 0 additions & 62 deletions e2e/pledge/input/bridge.hcl

This file was deleted.

41 changes: 0 additions & 41 deletions e2e/pledge/input/curl.hcl

This file was deleted.

39 changes: 0 additions & 39 deletions e2e/pledge/input/sleep.hcl

This file was deleted.

34 changes: 0 additions & 34 deletions e2e/pledge/input/unveil.hcl

This file was deleted.

64 changes: 0 additions & 64 deletions e2e/pledge/pledge_test.go

This file was deleted.

Loading

0 comments on commit d30f98b

Please sign in to comment.