Andrey Kalmykov
03/17/2025, 2:42 PMmake testacc in the main, and getting this error (both in Github flow and locally):
=== RUN TestExecuteVendorPull
2025/03/17 20:24:04 INFO Vendoring from 'vendor.yaml'
2025/03/17 20:24:04 WARN No TTY detected. Falling back to basic output. This can happen when no terminal is attached or when commands are pipelined.
2025/03/17 20:24:05 ERRO Failed to pull OCI image image=ghcr.io/cloudposse/atmos/tests/fixtures/components/terraform/myapp:v0 error="GET https://ghcr.io/token?scope=repository%3Acloudposse%2Fatmos%2Ftests%2Ffixtures%2Fcomponents%2Fterraform%2Fmyapp%3Apull&service=ghcr.io: UNAUTHORIZED: authentication required"
2025/03/17 20:24:05 ERRO Failed to vendor myapp1: error : myapp1: failed to process OCI image: failed to pull image: failed to pull image 'ghcr.io/cloudposse/atmos/tests/fixtures/components/terraform/myapp:v0': GET https://ghcr.io/token?scope=repository%3Acloudposse%2Fatmos%2Ftests%2Ffixtures%2Fcomponents%2Fterraform%2Fmyapp%3Apull&service=ghcr.io: UNAUTHORIZED: authentication required
2025/03/17 20:24:05 INFO x myapp1 (v0)
2025/03/17 20:25:12 INFO ✓ github/stargazers (main)
2025/03/17 20:25:12 INFO ✓ test-components (main)
2025/03/17 20:25:50 INFO ✓ weather (main)
2025/03/17 20:25:50 INFO ✓ myapp2
2025/03/17 20:25:50 INFO Vendored 4 components. Failed to vendor 1 components.
2025/03/17 20:25:50 INFO Vendored 5 components.
vendor_utils_test.go:115:
Error Trace: C:/Users/nadia/Desktop/projects/atmos/internal/exec/vendor_utils_test.go:115
Error: Received unexpected error:
failed to vendor components: 1
Test: TestExecuteVendorPull
--- FAIL: TestExecuteVendorPull (106.75s)
Was just wondering, if you had issue like this when you worked on Fix OCI PR? if I try to access this repo using my token, I'm getting access denied, while other public repos are accesible. E.g. like this
nadia@ANALITIKASI MINGW64 ~/Desktop/projects/atmos (main)
$ docker pull ghcr.io/cloudposse/atmos/tests/fixtures/components/terraform/myapp:v0
Error response from daemon: denied
nadia@ANALITIKASI MINGW64 ~/Desktop/projects/atmos (main)
$ docker pull ghcr.io/stefanprodan/podinfo:latest
latest: Pulling from stefanprodan/podinfo
f18232174bc9: Downloading 1.444MB/3.642MB
a44ca8345dfa: Downloading 567.1kB/2.662MB
4f4fb700ef54: Download completeErik Osterman (Cloud Posse)
03/17/2025, 3:57 PMErik Osterman (Cloud Posse)
03/17/2025, 3:58 PMGITHUB_TOKEN=$(gh auth token)Erik Osterman (Cloud Posse)
03/17/2025, 3:58 PMErik Osterman (Cloud Posse)
03/17/2025, 3:58 PMVinny
03/17/2025, 4:07 PMErik Osterman (Cloud Posse)
03/17/2025, 4:22 PMGITHUB_TOKEN like aboveHaitham
03/17/2025, 5:19 PMAndrey Kalmykov
03/17/2025, 9:49 PMErik Osterman (Cloud Posse)
03/17/2025, 10:06 PMErik Osterman (Cloud Posse)
03/17/2025, 10:07 PMVinny
03/17/2025, 10:07 PMAndrey Kalmykov
03/18/2025, 5:56 AMAndrey Kalmykov
03/18/2025, 3:01 PMErik Osterman (Cloud Posse)
03/19/2025, 3:00 PM