Comments (14)
Actually, this seems to have triggered the build on the hub.
from docker.
Got the permissions, enabled build trigger. From the build logs I can see 1.1-rc74 being downloaded.
from docker.
Perhaps there is a way how to trigger commit into external repository (this one) from the oracle/opengrok deploy build stage in Travis.
from docker.
Perhaps https://martinrotter.github.io/it-programming/2016/08/26/pushing-git-travis/ would help.
from docker.
Or just add the RESTful API call to docker to perform remote build trigger would be more straightforward.
from docker.
Or just add the RESTful API call to docker to perform remote build trigger would be more straightforward.
Yes, you can configure a GitHub repo to send HTTP requests when certain event happens (e.g. new release is published), and that HTTP request URL can be a Docker Hub's trigger URL as described above.
But I just realized that it probably won't be enough if Docker Hub caches image layers (it may skip the build if Dockerfile and it's dependencies haven't changed), but I'm not sure if this is the case.
from docker.
Tried to create automated build on hub.docker.com however it was stuck in 'Creating...' over night so I will try my luck later.
from docker.
Okay, this time the automated build was successfully created. However, it expects certain JSON payload to trigger the build and Github can only supply the payloads specific to events, in this case the push event (https://developer.github.com/v3/activity/events/types/#pushevent) and there does not seem to be a way how to change the payload.
from docker.
But, only for vkotal/docker, not for OpenGrok/docker.
from docker.
It looks like this change needs to be done by whomever owns https://hub.docker.com/r/opengrok/docker/
from docker.
Okay, it's @tarzanek. I will try to enable the auto builds there as well however my vladak/docker does not seem to update the image so possibly we will have to go with the triggered push..
from docker.
Or, maybe consider moving the dockerfile into the main repo and let Maven set its version during the normal release procedure (https://github.com/oracle/opengrok/wiki/Release-process).
from docker.
Updated the webhook to be triggered only on releases.
from docker.
Seems like it's working - just created OpenGrok release 1.1-rc75, build was triggered on Docker hub with the webhook, docker pull
gets the new image, docker container exec XYZ java -jar /opengrok/lib/opengrok.jar -V
reports 1.1-rc75.
from docker.
Related Issues (16)
- SSH needed? HOT 1
- index files? HOT 7
- Is there any docker image with LDAP configure option ?? HOT 3
- Provide release candidate images HOT 6
- auto-deploy on push HOT 1
- how to index the git data ? HOT 4
- restructure src/data root HOT 1
- Tagging Docker image with OpenGrok version? HOT 6
- Opengrok docker image repository synchronization HOT 6
- '*' or '?' not allowed as first character in WildcardQuery HOT 1
- Add LDAP authentication integration HOT 1
- Push official opengrok docker image to docker hub HOT 2
- populate the webapp with initial configuration and a message before initial index is done HOT 29
- Allow user to set reindexing method and frequency
- Default URL HOT 1
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 docker.