Find Jobs
Hire Freelancers

Gitlab hooks 2

$10-30 USD

Completed
Posted over 4 years ago

$10-30 USD

Paid on delivery
We need somebody that creates hooks for Gitlab CE. Challenge: We want to have central place for all our codings (gitlab) but because we are working for many other companies to develop code it is currently hard to push all codings to the customers repositories. For our development we use our own ticketing system with our own sequence. The customer(s) need the code under their own ticket number. For example: Ticket # at us = 1248 Customer ticket # = 2587 For controlling purposes we will check in the code under our # in our gitlab. Currently the developer is making a 2nd remote and is also pushing the changes to the customer repo with his ticket number, by using command: "git push [remote] [local branch]:[upstream branch]" To centralize/stream this process we would like start using hooks method of gitlab. Our taught is as following: HOOK UPSTREAM PUSH ----------------------------------------------------- Note: when we having a downstream mirrowing then we need to have something to prevent a push to the upstream, otherwise we getting a loop mirrowing downstream --> push in origin | | new comments <-- hook push upstream Step 1) In gitlab somewhere we need to set different login creditentials, (peferred in admin part), example: Platform Login Key Password gitlab xxxx xxxx xxxx github xxxx xxxx xxxx bitbucket xxxx xxxx xxxx beanstalk xxxx xxxx xxxx cloudForge xxxx xxxx xxxx Codebase xxxx xxxx xxxx ...... etc. These need to be able to set up flexible, so no fixed fields! Perhaps as envoriment variables? Step 2) System hook On every push the some push/comments need to be pushed to the upstream. The data regarding the upstream will be in [login to view URL] in the branch. So every branch will have his own file, called "[login to view URL]", example: [login to view URL] platform: github address: [login to view URL] or xxxx@[login to view URL] client-ticket: xxxxx prefix: aaaaa suffix: bbbbb Flow: if no [login to view URL] then do nothing else push upstream. use credentials "platform" (needs to match with step 1 platform name) When address starts with @.... like in git@[login to view URL] then it needs to add login of the platform in front of the @. in combination of the key. When the address is a http or https then just use the log in credentials as given at the platform branch name prefix + client-ticket + suffix, if prefix or suffix missing then skip that part. e.g. feature_2587 or feature_2587_hello_world etc etc. I would be nice if gitlab can push a message into the origin OUR repo zo we know that push was successfull When not successfull: give the error message of unsuccesfull push When successfull: "Great, your commits were push upstream [address] to branch [branch] Optional 1) Would it be possible to do a merge in the upstream? the pushed feature branch into another branch upstream. is so we can add the following in yaml file [login to view URL] platform: github address: [login to view URL] or xxxx@[login to view URL] client-ticket: xxxxx prefix: aaaaa suffix: bbbbb merge: [upstream branch name] HOOK MIRROW DOWNSTREAM ----------------------------------------------------- Because we use gitlab CE and we need to have the update information for development, we also need to pull the latest changes from the upstream. Continuous is not something that is default in gitlab. We need to have a option/hook that will pull the latest code very xxx minutes. ------------------------------------------------------------------------------------ We are open for other suggestions, if easier to maintain/avoid issues. making developments faults less.
Project ID: 22565820

About the project

2 proposals
Remote project
Active 4 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hello Sir, I WANT TO WORK ON THIS CHALLENGING PROJECT. HAVE WORKED ON SIMILAR PROJECTS. I have 2+ years of professional experience in Python, Ruby on Rails. I am extremely interested in this project and would love to develop this project. I have expertise in RoR and strong fundamentals on its concepts like MVC Architecture, Eagerloading, Model Validations, etc that I strictly follow in my projects with best-practice tools like Rubocop, Yardgen, Rspec/MiniTest, etc. I guarantee customer satisfaction and the timely delivery of the project. I would like to discuss the requirements in detail. Developed many ruby on rails projects: [login to view URL] You can check out my gem developed in Ruby on Rails and it has 700+ download: [login to view URL] [login to view URL] My Github profile: [login to view URL] Looking forward to work on this project.
$40 USD in 5 days
5.0 (3 reviews)
3.3
3.3

About the client

Flag of AUSTRALIA
Surabuya, Australia
5.0
2
Payment method verified
Member since Oct 29, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.