DevOps with Bitbucket Pipelines - Automated Build and Deploy

Share business templates, ideas, experiences, etc with fellow Servoy developers here

DevOps with Bitbucket Pipelines - Automated Build and Deploy

Postby sbutler » Mon Nov 13, 2023 9:32 pm

Earlier this year we released our Servoy DevOps tools with support for GitHub actions. Since then, we've had several of you request support for Bitbucket Pipelines. Today we announce that is generally available for everyone to use.

The docker image (which is the Bitbucket Pipe) is now public, and able to be used: https://hub.docker.com/r/itechpros/servoy-war-builder

There is documentation on usage at https://support.servoycomponents.com/po ... -pipelines

The example repo showing Servoy WAR build with SFTP is available at https://bitbucket.org/itechpros/servoy- ... rc/master/

To use the DevOps tools you'll need a license key which you can get at http://servoycomponents.com/devops and each purchase comes with some free support hours from us to help get your project up and running.
Scott Butler
iTech Professionals, Inc.
SAN Partner

Servoy Consulting & Development
Servoy University- Training Videos
Servoy Components- Plugins, Beans, and Web Components
Servoy Guy- Tips & Resources
ServoyForge- Open Source Components
User avatar
sbutler
Servoy Expert
 
Posts: 765
Joined: Sun Jan 08, 2006 7:15 am
Location: Cincinnati, OH

Re: DevOps with Bitbucket Pipelines - Automated Build and De

Postby vik.lamp.vl » Wed Nov 15, 2023 11:23 am

Thanks alot!
Thats one of the things we experimented with. It will help us alot.

Great work!
vik.lamp.vl
 
Posts: 39
Joined: Wed May 26, 2021 3:37 pm
Location: Germany

Re: DevOps with Bitbucket Pipelines - Automated Build and De

Postby vik.lamp.vl » Fri Dec 01, 2023 11:07 am

Hey Scott,

i had time to tinker and test your bitbucket pipeline this week.
What can i say, it works perfectly! Thanks alot for this :)

I just had to edit one line in the bitbucket-pipelines.yml
the
Code: Select all
- pipe: docker://itechpros/servoy-war-builder:latest
with
Code: Select all
:1.0.11
i got the error "cant find servoy version 23.09.1.3903" or somthing like that.
Switched it to
Code: Select all
:latest
and it just works.

Plus i edited the yml file some more that only specific branches gets build, so that it wont run on every commit we are doing.

Have a great weekend and looking forward to test out the auto-deploy feature when it releases.

-Vik
vik.lamp.vl
 
Posts: 39
Joined: Wed May 26, 2021 3:37 pm
Location: Germany

Re: DevOps with Bitbucket Pipelines - Automated Build and De

Postby paul_bromwell » Fri Dec 01, 2023 8:07 pm

Hey Vik!

Glad you got it working in your BitBucket environment!

Regarding the Docker image versions, the reason why it was throwing an error for "0.1.11" and not for "latest" is because we have a mapping in the code for available Servoy versions (to know where to download it from), and Servoy version 2023.09.1.3903 wasn't in that mapping, so it threw an error. I've added that version to the available versions for Docker image "0.2.0". You can find documentation for that in our KnowledgeBase article on the WAR exporter: https://support.servoycomponents.com/po ... y_Versions

We try to keep people off of "latest" just in case we introduce an error that isn't caught by our plethora of unit tests. If you use the tagged version, you won't have to worry about bugged versions going forward. Just a recommendation.

Also in that version, we added the POST_WAR_EXTRAS_FOLDER option, which allows you to add files into the WAR after the WAR is built (say, to inject Jasper Reports, for example), so if that fits your use case, please feel free to give it a go!

Thanks,

Paul
Paul Bromwell, Jr.
iTech Professionals, Inc.
SAN Partner

Servoy Consulting & Development
Servoy University- Training Videos
Servoy Components- Plugins, Beans, and Web Components
Servoy Guy- Tips & Resources
ServoyForge- Open Source Components
paul_bromwell
 
Posts: 4
Joined: Tue Jan 29, 2019 6:31 pm


Return to Sharing Central

Who is online

Users browsing this forum: No registered users and 2 guests