mergestat / syncs

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

sync-github-pull-requests:0.0.1 jq Error #17

Closed amenowanna closed 1 year ago

amenowanna commented 1 year ago

This sync is failing in our test cluster with the following error

04/04/2023 10:02:21 INFO: pulling image docker://mergestat/sync-github-pull-requests:0.0.1
04/04/2023 10:02:21 WARN: Trying to pull docker.io/mergestat/sync-github-pull-requests:0.0.1...
04/04/2023 10:02:21 WARN: Getting image source signatures
04/04/2023 10:02:21 WARN: Copying blob sha256:adf65fff9f2126de69d6e3f1326dbfb7533d880c93cd6f512dd704b53f98172c
04/04/2023 10:02:21 WARN: Copying blob sha256:f56be85fc22e46face30e2c3de3f7fe7c15f8fd7c4e5add29d7f64b87abdaa09
04/04/2023 10:02:21 WARN: Copying blob sha256:bbc643ebf4223d61363b720996dfcaa39a761f09069de35dad5606cd6bdd69ec
04/04/2023 10:02:21 WARN: Copying blob sha256:63d937bb8e9740abe216b4b577c219f7feaa521a64ec5dd364ad564cceeda217
04/04/2023 10:02:21 WARN: Copying config sha256:57e1f7bd6d5a4bea269439dc2481a51a26240eeb09d8836333a6d2c16295885f
04/04/2023 10:02:21 WARN: Writing manifest to image destination
04/04/2023 10:02:21 WARN: Storing signatures
04/04/2023 10:02:21 INFO: 57e1f7bd6d5a4bea269439dc2481a51a26240eeb09d8836333a6d2c16295885f
04/04/2023 10:02:21 INFO: pulling git repository: https://github.com/mergestat/mergestat
04/04/2023 10:03:12 INFO: finished git clone successfully: https://github.com/mergestat/mergestat
04/04/2023 10:03:12 INFO: running image docker://mergestat/sync-github-pull-requests:0.0.1
04/04/2023 10:03:12 WARN: psql:/syncer/schema.sql:47: NOTICE: relation "github_pull_requests" already exists, skipping
04/04/2023 10:03:12 WARN: psql:/syncer/schema.sql:92: NOTICE: relation "github_pull_requests_pkey" already exists, skipping
04/04/2023 10:03:12 WARN: psql:/syncer/schema.sql:93: NOTICE: relation "idx_github_pull_requests_repo_id_fkey" already exists, skipping
04/04/2023 10:03:12 WARN: jq: error: deletions/0 is not defined at <top-level>, line 1:
04/04/2023 10:03:12 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]
04/04/2023 10:03:12 WARN: jq: 1 compile error
04/04/2023 10:03:12 INFO: DELETE 0
04/04/2023 10:03:12 INFO: COPY 0
04/04/2023 10:03:17 ERROR: failed to run image: exit status 3