Skip to content

Automerge tests in the general registry fail #57

@devmotion

Description

@devmotion

I retriggered the PR to the general registry on the master branch, i.e., the updated PR includes also the fix to deps/build.jl. However, the automerge tests still fail due to the following error:

┌ Error: Error building `Libtask`: 
│ fatal: not a git repository (or any of the parent directories): .git
│ ┌ Error: Download failed: curl: (22) The requested URL returned error: 404 Not Found
│ └ @ Base download.jl:43
│ ERROR: LoadError: failed process: Process(`git -C /tmp/jl_NXjesH/packages/Libtask/kykuJ fetch --tags`, ProcessExited(128)) [128]
│ 
│ Stacktrace:
│  [1] pipeline_error at ./process.jl:525 [inlined]
│  [2] run(::Cmd; wait::Bool) at ./process.jl:440
│  [3] run at ./process.jl:438 [inlined]
│  [4] find_prev_tag(::String) at /tmp/jl_NXjesH/packages/Libtask/kykuJ/deps/build.jl:3
│  [5] include_build_script(::SubString{String}, ::Bool) at /tmp/jl_NXjesH/packages/Libtask/kykuJ/deps/build.jl:45
│  [6] top-level scope at /tmp/jl_NXjesH/packages/Libtask/kykuJ/deps/build.jl:65
│  [7] include(::String) at ./client.jl:439
│  [8] top-level scope at none:5in expression starting at /tmp/jl_NXjesH/packages/Libtask/kykuJ/deps/build.jl:65
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.4/Pkg/src/Operations.jl:892

It seems it's not possible to run

run(`git -C $project_root fetch --tags`)
in the registry CI since the project directory is not downloaded as a git repository there.

I guess it would be more appropriate to fix a specific version but that seems impossible in the current setup where the latest version might not exist during testing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions