Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

CircleCI integration doesn't work #53

Open
tor-legit opened this issue Dec 14, 2022 · 0 comments
Open

CircleCI integration doesn't work #53

tor-legit opened this issue Dec 14, 2022 · 0 comments

Comments

@tor-legit
Copy link

I tried to use the manual for the circleCI integration, but I got an error:
I fetched the ring_session_cookie from request to graphql_unstable, but still received that my organization doesn't exist.
I ran the following command:
export ORG=my_org; export SESSION=my_session; export RCOOKIE={extracted data from my authenticated session}
./gitoops circleci -debug -organization $ORG -neo4j-password test -neo4j-uri="neo4j://localhost:7687/" -cookie $RCOOKIE -session $SESSION
WARN[0000] 1 errors on organization: Either the org 'github/my_org' does not exist, or you do not have permission to view it
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x12745ff]

goroutine 1 [running]:
github.com/ovotech/gitoops/pkg/circleci.(*OrganizationIngestor).GetOrganizationId(...)
(...)/gitoops/pkg/circleci/organization.go:40
github.com/ovotech/gitoops/pkg/circleci.(*CircleCI).Sync(0xc000028840)
(...)/gitoops/pkg/circleci/circleci.go:55 +0x17f
main.cmdCircleCI(0x12c03e0?)
(...)/gitoops/cmd/cmd_circleci.go:27 +0x119
main.main()
(...)/gitoops/cmd/main.go:65 +0x2f2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant