You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried with version v0.0.1 and main (commit a635d5802ba3f0eb11945fd0d7f9b9e752c5ed64), both with the same result:
~/forks/gale/gale --workflow foo --job bar
Connected to engine b13dbd03d7d0
failed to get exit code: input:1: Syntax Error GraphQL request (1:122) Unexpected )
1: query{container{from(address:"ghcr.io/catthehacker/ubuntu:act-22.04"){withUnixSocket(path:"/var/run/docker.sock", source:){withFile(path:"/usr/local/bin/ghx", source:){withEnvVariable(name:"RUNNER_NAME", value:"Gale Agent"){withEnvVariable(value:"/home/runner/_temp", name:"RUNNER_TEMP"){withEnvVariable(name:"RUNNER_OS", value:"linux"){withEnvVariable(name:"RUNNER_ARCH", value:"x64"){withEnvVariable(name:"RUNNER_TOOL_CACHE", value:"/opt/hostedtoolcache"){withEnvVariable(name:"RUNNER_DEBUG", value:""){withDirectory(directory:, path:"/home/runner/work/hf-model-ops/hf-model-ops"){withEnvVariable(name:"GITHUB_WORKSPACE", value:"/home/runner/work/hf-model-ops/hf-model-ops"){withWorkdir(path:"/home/runner/work/hf-model-ops/hf-model-ops"){withEnvVariable(name:"GITHUB_RUN_NUMBER", value:"1"){withEnvVariable(name:"CI", value:"false"){withEnvVariable(value:"", name:"GITHUB_BASE_REF"){withEnvVariable(name:"GITHUB_EVENT_PATH", value:"/home/runner/_temp/workflow/event.json"){withEnvVariable(name:"GITHUB_REF_TYPE", value:""){withEnvVariable(value:"R_kgDOJhldTA", name:"GITHUB_REPOSITORY_ID"){withEnvVariable(name:"GITHUB_ACTION_PATH", value:""){withEnvVariable(name:"GITHUB_HEAD_REF", value:""){withEnvVariable(name:"GITHUB_REF_PROTECTED", value:"false"){withEnvVariable(name:"GITHUB_ACTIONS", value:"false"){withEnvVariable(name:"GITHUB_RUN_ID", value:"1"){withEnvVariable(name:"GITHUB_SERVER_URL", value:"https://github.com"){withEnvVariable(name:"GITHUB_TOKEN", value:"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\n"){withEnvVariable(name:"GITHUB_REPOSITORY_OWNER_ID", value:"MDQ6VXNlcjIxNjQ4Nw=="){withEnvVariable(name:"GITHUB_WORKSPACE", value:"/home/runner/work/hf-model-ops/hf-model-ops"){withEnvVariable(name:"GITHUB_WORKFLOW_SHA", value:""){withEnvVariable(name:"GITHUB_ACTION", value:""){withEnvVariable(name:"GITHUB_ACTOR", value:"samalba"){withEnvVariable(name:"GITHUB_API_URL", value:"https://api.github.com"){withEnvVariable(name:"GITHUB_REPOSITORY", value:"samalba/hf-model-ops"){withEnvVariable(name:"GITHUB_RUN_ATTEMPT", value:"1"){withEnvVariable(name:"GITHUB_REF_NAME", value:""){withEnvVariable(value:"samalba", name:"GITHUB_REPOSITORY_OWNER"){withEnvVariable(name:"GITHUB_SHA", value:""){withEnvVariable(name:"GITHUB_ACTION_REPOSITORY", value:""){withEnvVariable(name:"GITHUB_ACTOR_ID", value:"216487"){withEnvVariable(value:"", name:"GITHUB_PATH"){withEnvVariable(value:"", name:"GITHUB_WORKFLOW"){withEnvVariable(name:"GITHUB_RETENTION_DAYS", value:"0"){withEnvVariable(name:"GITHUB_WORKFLOW_REF", value:""){withEnvVariable(name:"GITHUB_ENV", value:""){withEnvVariable(name:"GITHUB_EVENT_NAME", value:"push"){withEnvVariable(name:"GITHUB_GRAPHQL_URL", value:"https://api.github.com/graphql"){withEnvVariable(name:"GITHUB_JOB", value:""){withEnvVariable(name:"GITHUB_REF", value:""){withNewFile(path:"/home/runner/_temp/workflow/event.json", contents:"{}", permissions:420){withExec(args:["ghx","with","job","--workflow=foo","--job=bar"]){withExec(args:["ghx","run"]){directory(path:"/home/runner/_temp/ghx"){file(path:"exit-code"){contents}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
^
Please visit https://dagger.io/help#go for troubleshooting guidance.
Error executing job: <nil>Error: input:1: Syntax Error GraphQL request (1:122) Unexpected )
1: query{container{from(address:"ghcr.io/catthehacker/ubuntu:act-22.04"){withUnixSocket(path:"/var/run/docker.sock", source:){withFile(path:"/usr/local/bin/ghx", source:){withEnvVariable(name:"RUNNER_NAME", value:"Gale Agent"){withEnvVariable(value:"/home/runner/_temp", name:"RUNNER_TEMP"){withEnvVariable(name:"RUNNER_OS", value:"linux"){withEnvVariable(name:"RUNNER_ARCH", value:"x64"){withEnvVariable(name:"RUNNER_TOOL_CACHE", value:"/opt/hostedtoolcache"){withEnvVariable(name:"RUNNER_DEBUG", value:""){withDirectory(directory:, path:"/home/runner/work/hf-model-ops/hf-model-ops"){withEnvVariable(name:"GITHUB_WORKSPACE", value:"/home/runner/work/hf-model-ops/hf-model-ops"){withWorkdir(path:"/home/runner/work/hf-model-ops/hf-model-ops"){withEnvVariable(name:"GITHUB_RUN_NUMBER", value:"1"){withEnvVariable(name:"CI", value:"false"){withEnvVariable(value:"", name:"GITHUB_BASE_REF"){withEnvVariable(name:"GITHUB_EVENT_PATH", value:"/home/runner/_temp/workflow/event.json"){withEnvVariable(name:"GITHUB_REF_TYPE", value:""){withEnvVariable(value:"R_kgDOJhldTA", name:"GITHUB_REPOSITORY_ID"){withEnvVariable(name:"GITHUB_ACTION_PATH", value:""){withEnvVariable(name:"GITHUB_HEAD_REF", value:""){withEnvVariable(name:"GITHUB_REF_PROTECTED", value:"false"){withEnvVariable(name:"GITHUB_ACTIONS", value:"false"){withEnvVariable(name:"GITHUB_RUN_ID", value:"1"){withEnvVariable(name:"GITHUB_SERVER_URL", value:"https://github.com"){withEnvVariable(name:"GITHUB_TOKEN", value:"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\n"){withEnvVariable(name:"GITHUB_REPOSITORY_OWNER_ID", value:"MDQ6VXNlcjIxNjQ4Nw=="){withEnvVariable(name:"GITHUB_WORKSPACE", value:"/home/runner/work/hf-model-ops/hf-model-ops"){withEnvVariable(name:"GITHUB_WORKFLOW_SHA", value:""){withEnvVariable(name:"GITHUB_ACTION", value:""){withEnvVariable(name:"GITHUB_ACTOR", value:"samalba"){withEnvVariable(name:"GITHUB_API_URL", value:"https://api.github.com"){withEnvVariable(name:"GITHUB_REPOSITORY", value:"samalba/hf-model-ops"){withEnvVariable(name:"GITHUB_RUN_ATTEMPT", value:"1"){withEnvVariable(name:"GITHUB_REF_NAME", value:""){withEnvVariable(value:"samalba", name:"GITHUB_REPOSITORY_OWNER"){withEnvVariable(name:"GITHUB_SHA", value:""){withEnvVariable(name:"GITHUB_ACTION_REPOSITORY", value:""){withEnvVariable(name:"GITHUB_ACTOR_ID", value:"216487"){withEnvVariable(value:"", name:"GITHUB_PATH"){withEnvVariable(value:"", name:"GITHUB_WORKFLOW"){withEnvVariable(name:"GITHUB_RETENTION_DAYS", value:"0"){withEnvVariable(name:"GITHUB_WORKFLOW_REF", value:""){withEnvVariable(name:"GITHUB_ENV", value:""){withEnvVariable(name:"GITHUB_EVENT_NAME", value:"push"){withEnvVariable(name:"GITHUB_GRAPHQL_URL", value:"https://api.github.com/graphql"){withEnvVariable(name:"GITHUB_JOB", value:""){withEnvVariable(name:"GITHUB_REF", value:""){withNewFile(path:"/home/runner/_temp/workflow/event.json", contents:"{}", permissions:420){withExec(args:["ghx","with","job","--workflow=foo","--job=bar"]){withExec(args:["ghx","run"]){directory(path:"/home/runner/_temp/ghx"){file(path:"exit-code"){contents}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
^
Please visit https://dagger.io/help#go for troubleshooting guidance.
Usage:
gale [flags]
gale [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
help Help about any command
version Print version information
Flags:
--export Export the runner directory after the execution. Exported directory will be placed under .gale directory in the current directory.
-h, --help help for gale
--job string Name of the job
--workflow string Name of the workflow. If workflow doesn't have name, than it must be relative path to the workflow file
Use "gale [command] --help" for more information about a command.
Error executing command: input:1: Syntax Error GraphQL request (1:122) Unexpected )
1: query{container{from(address:"ghcr.io/catthehacker/ubuntu:act-22.04"){withUnixSocket(path:"/var/run/docker.sock", source:){withFile(path:"/usr/local/bin/ghx", source:){withEnvVariable(name:"RUNNER_NAME", value:"Gale Agent"){withEnvVariable(value:"/home/runner/_temp", name:"RUNNER_TEMP"){withEnvVariable(name:"RUNNER_OS", value:"linux"){withEnvVariable(name:"RUNNER_ARCH", value:"x64"){withEnvVariable(name:"RUNNER_TOOL_CACHE", value:"/opt/hostedtoolcache"){withEnvVariable(name:"RUNNER_DEBUG", value:""){withDirectory(directory:, path:"/home/runner/work/hf-model-ops/hf-model-ops"){withEnvVariable(name:"GITHUB_WORKSPACE", value:"/home/runner/work/hf-model-ops/hf-model-ops"){withWorkdir(path:"/home/runner/work/hf-model-ops/hf-model-ops"){withEnvVariable(name:"GITHUB_RUN_NUMBER", value:"1"){withEnvVariable(name:"CI", value:"false"){withEnvVariable(value:"", name:"GITHUB_BASE_REF"){withEnvVariable(name:"GITHUB_EVENT_PATH", value:"/home/runner/_temp/workflow/event.json"){withEnvVariable(name:"GITHUB_REF_TYPE", value:""){withEnvVariable(value:"R_kgDOJhldTA", name:"GITHUB_REPOSITORY_ID"){withEnvVariable(name:"GITHUB_ACTION_PATH", value:""){withEnvVariable(name:"GITHUB_HEAD_REF", value:""){withEnvVariable(name:"GITHUB_REF_PROTECTED", value:"false"){withEnvVariable(name:"GITHUB_ACTIONS", value:"false"){withEnvVariable(name:"GITHUB_RUN_ID", value:"1"){withEnvVariable(name:"GITHUB_SERVER_URL", value:"https://github.com"){withEnvVariable(name:"GITHUB_TOKEN", value:"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\n"){withEnvVariable(name:"GITHUB_REPOSITORY_OWNER_ID", value:"MDQ6VXNlcjIxNjQ4Nw=="){withEnvVariable(name:"GITHUB_WORKSPACE", value:"/home/runner/work/hf-model-ops/hf-model-ops"){withEnvVariable(name:"GITHUB_WORKFLOW_SHA", value:""){withEnvVariable(name:"GITHUB_ACTION", value:""){withEnvVariable(name:"GITHUB_ACTOR", value:"samalba"){withEnvVariable(name:"GITHUB_API_URL", value:"https://api.github.com"){withEnvVariable(name:"GITHUB_REPOSITORY", value:"samalba/hf-model-ops"){withEnvVariable(name:"GITHUB_RUN_ATTEMPT", value:"1"){withEnvVariable(name:"GITHUB_REF_NAME", value:""){withEnvVariable(value:"samalba", name:"GITHUB_REPOSITORY_OWNER"){withEnvVariable(name:"GITHUB_SHA", value:""){withEnvVariable(name:"GITHUB_ACTION_REPOSITORY", value:""){withEnvVariable(name:"GITHUB_ACTOR_ID", value:"216487"){withEnvVariable(value:"", name:"GITHUB_PATH"){withEnvVariable(value:"", name:"GITHUB_WORKFLOW"){withEnvVariable(name:"GITHUB_RETENTION_DAYS", value:"0"){withEnvVariable(name:"GITHUB_WORKFLOW_REF", value:""){withEnvVariable(name:"GITHUB_ENV", value:""){withEnvVariable(name:"GITHUB_EVENT_NAME", value:"push"){withEnvVariable(name:"GITHUB_GRAPHQL_URL", value:"https://api.github.com/graphql"){withEnvVariable(name:"GITHUB_JOB", value:""){withEnvVariable(name:"GITHUB_REF", value:""){withNewFile(path:"/home/runner/_temp/workflow/event.json", contents:"{}", permissions:420){withExec(args:["ghx","with","job","--workflow=foo","--job=bar"]){withExec(args:["ghx","run"]){directory(path:"/home/runner/_temp/ghx"){file(path:"exit-code"){contents}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}
^
Please visit https://dagger.io/help#go for troubleshooting guidance
After some digging, it turns out it's because gale can't find the docker socket under /var/run/docker.sock (I am using colima). Reading DOCKER_HOST from the env should fix it.
The text was updated successfully, but these errors were encountered:
samalba
added a commit
to samalba/gale
that referenced
this issue
Jun 10, 2023
I've tried with version v0.0.1 and main (commit a635d5802ba3f0eb11945fd0d7f9b9e752c5ed64), both with the same result:
After some digging, it turns out it's because gale can't find the docker socket under
/var/run/docker.sock
(I am using colima). ReadingDOCKER_HOST
from the env should fix it.The text was updated successfully, but these errors were encountered: