Hello, I added the dfnity/ic repo as a submodule in my own project.
In the CI pipeline I set up a github action to update the IC and build wasms periodically using cd ic && ./gitlab-ci/container/build-ic.sh -c. But I run into the error fatal: not a git repository: /ic/../.git/modules/ic.
Weirdly it all works on my local machine from the same repo. Any ideas on how to solve it?
Repository rule new_git_repository defined at:
/ic/.cache/bazel/_bazel_1001/6d065581cce7ad9076e3b8db2b3afaf0/external/bazel_tools/tools/build_defs/repo/git.bzl:186:37: in <toplevel>
INFO: Analyzed target //publish/canisters:canisters (592 packages loaded, 16235 targets configured).
INFO: Found 1 target...
[0 / 100] [Prepa] BazelWorkspaceStatusAction stable-status.txt
ERROR: <builtin>: BazelWorkspaceStatusAction stable-status.txt failed: Failed to determine workspace status: Process exited with status 128
fatal: not a git repository: /ic/../.git/modules/ic
Target //publish/canisters:canisters failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 167.605s, Critical Path: 0.11s
INFO: 1 process: 1 internal.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
Gathering metadata for bazel cquery...
cp: cannot stat 'bazel-out/k8-opt/bin/publish/canisters/candid-test-canister.wasm.gz': No such file or directory
cp: cannot stat 'bazel-out/k8-opt/bin/publish/canisters/canister-creator-canister.wasm.gz': No such file or directory
cp: cannot stat 'bazel-out/k8-opt/bin/publish/canisters/cycles-minting-canister.wasm.gz': No such file or directory