Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
Unit Test Results0 files 0 suites 0s ⏱️ Results for commit 11e673c. |
|
removed codecov, upload-artifact and publish action here as this repo doesn't generate any test reports: https://app.circleci.com/pipelines/github/hypertrace/hypertrace-service/257/workflows/f9676140-16d4-406b-8d14-afb568f57951/jobs/773/parallel-runs/0/steps/0-112 |
|
waiting for hypertrace/hypertrace-gradle-docker-plugins#22 to get merged as there's tag issue with e2e test here. In case of PR, value of env variable GITHUB_REF is in the format of I have made change in docker-compose file here so it will use |
|
|
||
| hypertrace: | ||
| image: hypertrace/hypertrace:test | ||
| image: hypertrace/hypertrace:${GITHUB_HEAD_REF} |
There was a problem hiding this comment.
Is this running as part of PR or after the merge to main?
There was a problem hiding this comment.
it runs on both push and pull_request
There was a problem hiding this comment.
But, github_head_ref will not be available on on push right? on push , we will get github.ref?
There was a problem hiding this comment.
There was a problem hiding this comment.
yeah. I can see the issue now. As we have colon : here it will be syntax error rather than pulling latest image. One solution I can think of is running this in pull_request_target so even while building github_ref will be always main as we can see here: https://github.com/hypertrace/attribute-service/runs/1654802662?check_suite_focus=true#step:6:804 and build always happens before test so this image will be already there.
this will solve the issue.
making changes
There was a problem hiding this comment.
What was wrong with test?
This is no longer an dependency. We can move ahead without this change: #57 (comment) |
| - '**/*.md' | ||
| - '**/*.txt' | ||
| pull_request: | ||
| pull_request_target: |
There was a problem hiding this comment.
If you go with this, we will need it during checkout
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
There was a problem hiding this comment.
See as followup PR if we can move to pull_request context.
Description
Migrating to GitHub actions from CircleCI as per hypertrace/hypertrace#144
Testing
changes are updates as per discussions and workflow here: hypertrace/query-service#47
Checklist:
Documentation