Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(build): add grace test runs to daily PR checks #20210

Merged
merged 1 commit into from
Nov 30, 2020
Merged

Conversation

gshif
Copy link
Contributor

@gshif gshif commented Nov 30, 2020

Closes #

Describe your proposed changes here.

  • CHANGELOG.md updated with a link to the PR (not the Issue)
  • Well-formatted commit messages
  • Rebased/mergeable
  • Tests pass
  • http/swagger.yml updated (if modified Go structs or API)
  • Feature flagged (if modified API)
  • Documentation updated or issue created (provide link to issue/pr)
  • Signed CLA (if not already signed)

@gshif gshif self-assigned this Nov 30, 2020
@gshif gshif requested a review from danxmoran November 30, 2020 22:00
@gshif gshif added area/2.x OSS 2.0 related issues and PRs area/build labels Nov 30, 2020
background: true
- run: docker run --net host -v /var/run/docker.sock:/var/run/docker.sock -v ~/project:/grace/test-results/grace-results quay.io/influxdb/grace:daily
- store_artifacts:
path: ~/project
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we add this block:

- store_test_results:
    path: ~/project

To match grace_nightly?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually we should remove the store_test_results: from grace_nightly.The results are being uploaded by store_artifact step

- run:
command: ./bin/linux/influxd --store=memory --log-level=debug
background: true
- run: docker run --net host -v /var/run/docker.sock:/var/run/docker.sock -v ~/project:/grace/test-results/grace-results quay.io/influxdb/grace:daily
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is --net host the flag that enables the Docker image to see the influxd instance running in the background?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The short answer is yes

Copy link
Contributor

@danxmoran danxmoran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that it ran & passed on this PR, LGTM

@gshif gshif merged commit ead9e17 into master Nov 30, 2020
@gshif gshif deleted the gs-add-grace-daily branch November 30, 2020 22:46
gshif added a commit that referenced this pull request Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build area/2.x OSS 2.0 related issues and PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants