Comments (7)
I am not sure I understand this request. That action only runs on pull requests. The build-deploy action runs after merge. (This image does not get re-built if it exists already).
from hub-ops.
oh - well i saw that all of nathan's pr's were failing and you mentioned that was because they don't have access to secrets. in my mind, i thought maybe pull requests didn't need to push to dockerhub and thus wouldn't need authentication. somehow on travis when you submitted a PR it would build but not push. Maybe however that was because travis stored the secrets instead of github?
essentially it would be nice to merge passing PR's is the end goal and know the containers build ok before doing so. short term we can totally deal as things seem to be working beautifully now!! thank you!
from hub-ops.
Ah, I get it now. Because the tests involve authentication and reading secrets stored in Settings -> Secrets, PR builds will only pass if they originate from branches of this repo (not from forks). So, we should make sure that contributors have the permission to push branches and create pull requests, and we should update the docs to reflect this.
from hub-ops.
In the previous travis-based CI, the deploy.py
script used files in the secrets
dir to authenticate to dockerhub and gcloud. In the move to Actions, we've followed the GitHub guides for moving secrets to repository settings. Also, the deploy script can now be run locally without fear of messing up local authentication to services.
from hub-ops.
It looks like it might be possible to run the existing Action on PRs from forks, based on this blog post by changing the event type to pull_request_target.
from hub-ops.
oh - that's worth ha shot @kcranston we do get outside contributors every once in a while.
from hub-ops.
this was fixed. closing
from hub-ops.
Related Issues (20)
- git puller quirk / fail HOT 2
- Every commit is taking hours to build HOT 1
- Travis and Hub Deployment - Currently I can't deploy hub updates HOT 5
- Update location of grafana and prometheus charts HOT 5
- Migrate deployment from Travis to Actions HOT 4
- Update docs on how to setup gcloud for cu
- Resource tracking on the hub
- Vector notebooks failing grading on the hub HOT 2
- nbgrader-hub for the spring HOT 1
- revoke user tokens at end of class HOT 5
- migrate new hub to main branch HOT 2
- Move Applications to the Earth lab ORGANIZATION and update docs HOT 3
- remove travis secrets from repo HOT 2
- issues launching the hub HOT 3
- uploading files to the new hub is hanging HOT 1
- hub launch throwing memory errors and is very slow HOT 5
- Remove students from ea-hub
- shut down grading hub for the summer
- issues shutting down the hub HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hub-ops.