8000 Initial commit of GA by esacteksab · Pull Request #998 · sigmavirus24/github3.py · GitHub
[go: up one dir, main page]

Skip to content

Initial commit of GA #998

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

Merged
merged 4 commits into from
Sep 15, 2020
Merged

Initial commit of GA #998

merged 4 commits into from
Sep 15, 2020

Conversation

esacteksab
Copy link
Contributor

This comment mentions wanting to migrate to Github Actions and away from Travis. This creates a build.yml file, which I believe is feature complete. I am missing GH_USERNAME and GH_PASSWORD env vars that I believe are set in Travis that are required for some of the tests.

* Initial commit of GA

This _should_ be feature complete, but definitely initial effort.
@opendev-zuul
Copy link
opendev-zuul bot commented Sep 13, 2020

Starting third-party-check jobs.
Warning:
Failed to update check run openstack/third-party-check: 403 Resource not accessible by integration

@opendev-zuul
Copy link
opendev-zuul bot commented Sep 13, 2020

Build failed (third-party-check pipeline) integration testing on
OpenDev. For information on how to proceed, see
https://docs.opendev.org/opendev/infra-manual/latest/developers.html#automated-testing

Warning:
Failed to update check run openstack/third-party-check: 403 Resource not accessible by integration
Failed to create check run openstack/third-party-check: 403 Resource not accessible by integration

@sigmavirus24
Copy link
Owner

Nope, there's no need for those variables. We don't have them set in Travis and I think they're only used for recording cassettes. Let me know if this is ready to merge then

@esacteksab
Copy link
Contributor Author

Nope, there's no need for those variables. We don't have them set in Travis and I think they're only used for recording cassettes. Let me know if this is ready to merge then

Perhaps I was reading it incorrectly https://github.com/esacteksab/github3.py/runs/1109377212?check_suite_focus=true is one of the failures

The other can be seen from here https://github.com/esacteksab/github3.py/actions/runs/252840955

This also shows it in action (no pun intended).

@sigmavirus24
Copy link
Owner

Oh, I don't think the notebooks ever worked, honestly. We probably shouldn't be testing those :/

- name: Run Tox
run: tox
env:
TOXENV: ${{ matrix.PYTHON.TOXENV }}
Copy link
Owner

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Apologies, but I can't tell what that does. Google and Travis' docs are letting me down. Any idea what this was intended to do so I can find the equivalent capability with Github actions?

Copy link
Owner

Choose a reason for hiding this comment

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

It's used purely by this test suite. It's a custom environment variable that ensures we never talk to the network

Copy link
Owner

Choose a reason for hiding this comment

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

record_mode = os.environ.get("GH_RECORD_MODE", "once")

8000
on: [push]

jobs:
build:
Copy link
Owner

Choose a reason for hiding this comment

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

Can we rename this to test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@@ -0,0 +1,36 @@
name: Python package
Copy link
Owner

Choose a reason for hiding this comment

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

And rename this too? I don't know what to though

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah...same. I pushed something, but mostly in fun. :-/ Naming is hard.

@esacteksab
Copy link
Contributor Author

Oh, I don't think the notebooks ever worked, honestly. We probably shouldn't be testing those :/

I can use this opportunity to get rid of them if you'd like.

* Initial commit of GA
@opendev-zuul
Copy link
opendev-zuul bot commented Sep 14, 2020

Starting third-party-check jobs.
Warning:
Failed to update check run openstack/third-party-check: 403 Resource not accessible by integration

* Initial commit of GA

Addresses comments in PR
@opendev-zuul
Copy link
opendev-zuul bot commented Sep 14, 2020

Starting third-party-check jobs.
Warning:
Failed to update check run openstack/third-party-check: 403 Resource not accessible by integration

@opendev-zuul
Copy link
opendev-zuul bot commented Sep 14, 2020

Build failed (third-party-check pipeline) integration testing on
OpenDev. For information on how to proceed, see
https://docs.opendev.org/opendev/infra-manual/latest/developers.html#automated-testing

Warning:
Failed to update check run openstack/third-party-check: 403 Resource not accessible by integration
Failed to create check run openstack/third-party-check: 403 Resource not accessible by integration

@sigmavirus24
Copy link
Owner

Yeah, let's get rid of the notebooks

@esacteksab
Copy link
Contributor Author

Yeah, let's get rid of the notebooks

Notebooks is gone.

GH_RECORD_MODE now exists in all jobs.

* Initial commit of GA
@opendev-zuul
Copy link
opendev-zuul bot commented Sep 15, 2020

Starting third-party-check jobs.
Warning:
Failed to update check run openstack/third-party-check: 403 Resource not accessible by integration

@opendev-zuul
Copy link
opendev-zuul bot commented Sep 15, 2020

Build failed (third-party-check pipeline) integration testing on
OpenDev. For information on how to proceed, see
https://docs.opendev.org/opendev/infra-manual/latest/developers.html#automated-testing

Warning:
Failed to update check run openstack/third-party-check: 403 Resource not accessible by integration
Failed to create check run openstack/third-party-check: 403 Resource not accessible by integration

@sigmavirus24
Copy link
Owner

Checked the last run on your repo and it looks good to me. I'm ignoring the py39 error on Travis and merging

@sigmavirus24 sigmavirus24 merged commit aa977aa into sigmavirus24:master Sep 15, 2020
@esacteksab
Copy link
Contributor Author
esacteksab commented Sep 15, 2020 via email

@sigmavirus24
Copy link
Owner

Sure and maybe we can figure out what's going on with https://github.com/sigmavirus24/github3.py/actions/runs/255665322 ?

@sigmavirus24
Copy link
Owner

Ah that's commitlint that we can't address now 🤷 Oh well. Yeah, let's nix Travis

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

Successfully merging this pull request may close these issues.

2 participants
0