mergestat / syncs

MergeStat container based syncs
MIT License
5 stars 10 forks source link

`jq` error when running `github-pull-requests` sync #12

Closed patrickdevivo closed 1 year ago

patrickdevivo commented 1 year ago

See here as well: https://gke-non-autopilot-testing.console.mergestat.com/repos/a03863ed-02fa-4a1b-b5dc-7554d55b6af6/container-syncs/aa7a55f6-b4b5-4920-bd95-da69474d8324/e183e3f5-cc45-4271-9f28-54323ab0d750

03/30/2023 12:21:43 INFO: pulling git repository: https://github.com/mergestat/mergestat
03/30/2023 12:21:43 DEBUG: running sync aa7a55f6-b4b5-4920-bd95-da69474d8324
03/30/2023 12:22:38 INFO: finished git clone successfully: https://github.com/mergestat/mergestat
03/30/2023 12:22:38 INFO: pulling image docker://mergestat/sync-github-pull-requests:0.0.1
03/30/2023 12:22:43 WARN: Copying blob sha256:f56be85fc22e46face30e2c3de3f7fe7c15f8fd7c4e5add29d7f64b87abdaa09
03/30/2023 12:22:43 WARN: Copying blob sha256:63d937bb8e9740abe216b4b577c219f7feaa521a64ec5dd364ad564cceeda217
03/30/2023 12:22:43 WARN: Copying blob sha256:bbc643ebf4223d61363b720996dfcaa39a761f09069de35dad5606cd6bdd69ec
03/30/2023 12:22:43 WARN: Copying blob sha256:adf65fff9f2126de69d6e3f1326dbfb7533d880c93cd6f512dd704b53f98172c
03/30/2023 12:22:43 WARN: Copying blob sha256:adf65fff9f2126de69d6e3f1326dbfb7533d880c93cd6f512dd704b53f98172c
03/30/2023 12:22:43 WARN: Copying blob sha256:bbc643ebf4223d61363b720996dfcaa39a761f09069de35dad5606cd6bdd69ec
03/30/2023 12:22:43 WARN: Trying to pull docker.io/mergestat/sync-github-pull-requests:0.0.1...
03/30/2023 12:22:43 WARN: Getting image source signatures
03/30/2023 12:22:43 WARN: Copying blob sha256:63d937bb8e9740abe216b4b577c219f7feaa521a64ec5dd364ad564cceeda217
03/30/2023 12:23:23 WARN: Copying config sha256:57e1f7bd6d5a4bea269439dc2481a51a26240eeb09d8836333a6d2c16295885f
03/30/2023 12:23:23 WARN: Writing manifest to image destination
03/30/2023 12:23:23 WARN: Storing signatures
03/30/2023 12:23:38 INFO: running image docker://mergestat/sync-github-pull-requests:0.0.1
03/30/2023 12:23:38 INFO: 57e1f7bd6d5a4bea269439dc2481a51a26240eeb09d8836333a6d2c16295885f
03/30/2023 12:23:44 WARN: psql:/syncer/schema.sql:47: NOTICE:  relation "github_pull_requests" already exists, skipping
03/30/2023 12:23:44 WARN: jq: 1 compile error
03/30/2023 12:23:44 WARN: [env.MERGESTAT_REPO_ID, .additions, .author.login, .authorAssociation, .author.avatarUrl, .author.name, .baseRefOid, .baseRefName, .baseRepository.name, .body, .changedFiles, .closed, .closedAt .comments.totalCount, .commits.totalCount, .createdAt, .createdViaEmail, .databaseId, deletions, .editor.login, .headRefname, .headRefOid, .headRepository.name, .isDraft, .labels.totalCount, .lastEditedAt, .locked, .maintainerCanModify, .mergeable, .merged, .mergedAt, .mergedBy.login, .number, .participants.totalCount, .publishedAt, .reviewDecision, .state, .title, .updatedAt, .url, .all_labels]                                                                                                                                                                                                                                                                                        
03/30/2023 12:23:44 WARN: psql:/syncer/schema.sql:92: NOTICE:  relation "github_pull_requests_pkey" already exists, skipping
03/30/2023 12:23:44 INFO: COPY 0
03/30/2023 12:23:44 INFO: DELETE 0
03/30/2023 12:23:44 WARN: psql:/syncer/schema.sql:93: NOTICE:  relation "idx_github_pull_requests_repo_id_fkey" already exists, skipping
03/30/2023 12:23:44 WARN: jq: error: deletions/0 is not defined at <top-level>, line 1:
03/30/2023 12:23:54 ERROR: failed to run image: exit status 3