Deploy osx apps on Gitlab CI - gitlab

is it possible to deploy osx apps using Gitlab CI ? Default Gitlab is running on linux but what I would like to get is build electron app for osx. It is possible only on osx system.
Thanks for help.
Best regards

Gitlab currently offers only shared linux runners for free. Unfortunately, there is no way to build electron app for osx using Gitlab CI.
Gitlab is currently working to make shared macOS runners available. You can track the progress here: https://gitlab.com/gitlab-com/gl-infra/infrastructure/issues/5720

Related

How do I install a Linux build runner for bitbucket using rust?

I have a CI server in an AWS cloud which hosts out BitBucket.
The runners are on a separate EC2 instance.
The code we are using is Rust.
I installed the runners on a windows EC2 and everything is fine.
I follow the instructions to install the runners on a Linux machine (Ubuntu) and the runners cannot find Cargo.
When I connect to the machine I can run it manually from any directory so it should be viewable by the build runner.
Has anyone come across this issue? I read that I might need to specific the bitness of the system when I install Rust but that did not seem to help :-(
Edit:
I have added the location of Cargo to /etc/environment and to the PATH variable in case the runner could not see it but that has not helped.

How to set specific node version for Gitlab CI on Windows?

I am developing a platform-dependend node application and use Gitlab to build it for Windows, macOS and Linux.
Gitlab supports a image directive for its CI, but this uses docker, hence Linux. Another idea was to use nvm use, but this requires admin privilege.
What is the goto method to specify a node version in my .gitlab-ci.yml?

For Tauri+Vue development, can I generate Windows exe on Ubuntu dev env?

I'm playing Tauri+Vue development on an Ubuntu box. I clone a small project from https://github.com/DominusKelvin/nota-web, it built out 2 files as below,
* /home/abc/nota-web/src-tauri/target/release/bundle/deb/nota_0.1.0_amd64.deb
* /home/abc/nota-web/src-tauri/target/release/bundle/appimage/nota_0.1.0_amd64.AppImage
Actually I want a windows exe file, is it possible to build out an exe file here? or do I have to do the development on a Windows machine?
Thanks & Regards,
Martin.
To answer your question, it's not possible yet to cross-compile a Tauri application. (Example, building a Windows artifact from a Linux machine)
The best would be to use Github Actions to build it for you.
Tauri have a pre-built action, ready to use.
You can find some examples here;
https://github.com/cloudflare/workerskv.gui/blob/master/.github/workflows/release.yml#L59
https://github.com/Levminer/authme-lite/blob/dev/.github/workflows/release-artifacts.yml#L35

What image to use in .gitlab-ci.yml file for running fastlane in gitlab-ci?

I want to integrate my fastlane into gitlab-ci and I do not know what image I will use.
Unfortunately iOS requires the code to be compiled on OSX
If you have access to a mac you can install a GitLab Runner and register it to your GitLab repository.
When setting up this runner you should give it a tag name (something like osx) and when it comes to selecting the executor, you should choose shell(so the jobs will be run directly on your mac machine).
After you have a mac runner up and running, you should also make sure you have all the tools that you normally are using like fastlane, xcode and Android Studio setup.
Now in With this setup you don't need to provide any image to your ci job. But rather give it the tag name you gave your mac runner.

how to configure Jenkins on Unix and deployment in a remote machine windows

I have an issue about Jenkins.I used a freestyle project not a maven project because it's a nodeJS project.
The Workflow is as below :
Jenkins trigger from GitLab Acceptation Merge Event.
Jenkins execute the build for testing integration.
execute shell command (linux) in actual linux OS.
Jenkins deploy the project after test success to a remote Windows Machine.
So what i want is how to deploy to a remote windows machine
Jenkins and Git are in the same machine (linux).
and deployment in a remote machine Windows.
You can plan to use a deployment automation solution like Xebialabs XL Deploy/IBM udeploy/CA Nolio as they are specialised products that will take care of a lot of the use cases related to deployment out of box and you do not have to create a scripted solution in Jenkins.
you can use gitDeploy framework, that always does the job
AFAIK, you can not deploy to a windows remote machine only using Jenkins. There is a Jenkins plugin https://wiki.jenkins-ci.org/display/JENKINS/Publish+Over+CIFS+Plugin which might be worth looking, but I doubt if it will solve all the requirements. As it is for copying files to WINS share.
I would suggest you to have a look at Ansible (http://docs.ansible.com/ansible/intro_windows.html), you can install the ansible controller on the Linux along with Git & Jenkins and configure jenkins to trigger the ansible deploy on to the target windows machine.

Resources