Comments (14)
I'm glad to help writing a CI workflow for github actions and help for the deploy pipeline
from liveactionmap.
@GabrieleCalarota thanks for offering to help! With the docker container finally set up, we can finally start integrating a CI workflow.
from liveactionmap.
I'm writing a CI pipeline in this PR on my forked repo
It will need a lot of rework, as the project is not born along with linting
from liveactionmap.
As I see that the PR is merged is this Issue still valid or to be closed?
from liveactionmap.
It's still valid because CD pipeline and tests still need to be implemented.
from liveactionmap.
Ah, Sorry.
from liveactionmap.
Hey, So sadly I never worked with GitHub CI. However is there a chance to have a simple webhook trigger to have it auto-deploy on my docker host? @GabrieleCalarota Can you hop in discord so we can discuss the details?
from liveactionmap.
Hey, So sadly I never worked with GitHub CI. However is there a chance to have a simple webhook trigger to have it auto-deploy on my docker host? @GabrieleCalarota Can you hop in discord so we can discuss the details?
Sure, why don't we use GitHub discussions?
from liveactionmap.
They're not enabled here. And personally, at least discord feels more... I think easy would be a suitable word?
from liveactionmap.
If there is a chance to add
curl -X POST \
--fail \
-F token=GITLAB_TOKEN \
-F ref=GITLAB_REF_NAME \
https://gitlab.com/api/v4/projects/34155787/trigger/pipeline
to the CI after all tests are complete?
from liveactionmap.
If there is a chance to add
curl -X POST \ --fail \ -F token=GITLAB_TOKEN \ -F ref=GITLAB_REF_NAME \ https://gitlab.com/api/v4/projects/34155787/trigger/pipeline
to the CI after all tests are complete?
Yes, there should be a way or an action for doing normal POST or webhook triggers. But why don't we move the CD pipeline to github instead of having the deployment somewhere else where from the code?
Also is that the official deployment of the repo? @kinshukdua
from liveactionmap.
Yeah it is, we're discussing it over on discord.
from liveactionmap.
Ok fine, sorry didn't have time to download it yet
Anyway: https://github.com/marketplace/actions/trigger-gitlab-ci
I think this action would do the trick, will you set GITLAB_TOKEN and GITLAB_REF_NAME as repo secret?
For best practice, I would add also GITHUB_URL and PROJECT_ID as secrets
the code at the end would be :
- name: trigger Job
uses: appleboy/gitlab-ci-action@master
with:
url: ${{ secrets.GITLAB_URL }}
token: ${{ secrets.TOKEN }}
project_id: ${{ secrets.PROJECT_ID }}
ref: ${{ secrets.GITLAB_REF_NAME }}
from liveactionmap.
If you could take a look @GabrieleCalarota since I don't know how to make it run only after merge. Atm, it seems to run on merge requests as well,
And erm, It seams to have failed
from liveactionmap.
Related Issues (20)
- Cache Nominatim geocoding API HOT 1
- Add time to popup HOT 2
- Persistently store scraped tweets HOT 14
- Move periodic tasks away from cron jobs HOT 4
- Dynamic Fronted HOT 3
- Analitics HOT 2
- Community: Discord server HOT 2
- IP Blocking - Russia? HOT 15
- Backend API HOT 1
- Feature Suggestion: Plane Tracking HOT 7
- Adding collaborators who are able to check pull requests and Issues HOT 1
- Connection error with geolocator HOT 2
- add website domain in repo website HOT 7
- API: Markers HOT 2
- Add a .onion link HOT 5
- API: Zones
- Self-host a Nominatim Service HOT 1
- Remove temporary tweets file after every x minutes. HOT 1
- Trigger GitLab CI
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 liveactionmap.