Skip to content
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

Backport of bubble up the error message from go-getter into release/1.6.x #18479

Merged
merged 1 commit into from
Sep 13, 2023

Conversation

hc-github-team-nomad-core
Copy link
Contributor

Backport

This PR is auto-generated from #18444 to be assessed for backporting due to the inclusion of the label backport/1.6.x.

The below text is copied from the body of the original PR.


possible fix for #18442

EDIT:

Tested the locally built Nomad agent binary using nomad agent -dev with:

mkdir large_tar
cd large_tar/
mkdir data
for i in {1..5000} ; do echo "" > data/$i.txt; done
tar czvf data.tar.gz data/
python3 -m http.server 9000
job "tar_fail" {

  group "cache" {
    network {
      port "db" {
        to = 6379
      }
    }

    task "redis" {
      artifact {
        source      = "http://127.0.0.1:9000/data.tar.gz"
        destination = "local/some-directory"
      }

      driver = "docker"

      config {
        image          = "redis:7"
        ports          = ["db"]
        auth_soft_fail = true
      }

      identity {
        env  = true
        file = true
      }

      resources {
        cpu    = 500
        memory = 256
      }
    }
  }
}

Overview of commits

@tgross tgross force-pushed the backport/main/widely-enjoyed-sawfly branch from 5dc5070 to 4bb403c Compare September 13, 2023 13:56
@tgross tgross merged commit e5f8b2c into release/1.6.x Sep 13, 2023
@tgross tgross deleted the backport/main/widely-enjoyed-sawfly branch September 13, 2023 14:16
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