Implement Dart workflow in Travis CI to deploy in Firebase - dart

I'm new to both Firebase and Travis CI. Done some home work with Dart for sometime.
I'm trying to implement Travis CI for building my Angular Dart Project and deploying to Firebase.
It is going through the build and test fine, and while deploying i'm getting the below message.
Error: Specified public directory does not exist, can't deploy hosting
I have chosen build/web as my public directory while creating the firebase.json file. Seems like build directory is a different one in Travis CI.
What is the build directory?
Can i see some build files done in Travis CI for my project?
If so how?
Below is my GitHut Repository which i'm trying to automate the workflow.
Git Hub: https://github.com/Harikrishnadhas/siththargnaanaalayam
And Travis CI Build page shows the error here.
Travis CI : https://travis-ci.org/Harikrishnadhas/siththargnaanaalayam/builds/255561107
Kindly help!

Please find the answer to my question below
https://github.com/travis-ci/travis-ci/issues/8131
Currently Travis Doesn't build the dart project, hence script for same has to be added.

Related

Gitlab CI/CD deploy an Umbraco project to a windows server

I want to have a gitlab runner build my Umbraco project, I have been using publish to folder from rider and manually copying the files over to the server and amending the web.config etc. I'm wondering if the runner can do this or something to that effect?
The idea is to trigger the runner when a branch is merged. It will build the project, then push the files to a windows based server using FTP. I'm wondering does anyone have any advice on this, are there any pitfalls?
I haven't tried this yet I'm wondering whether it is possible.

Artifacts for ASP.NET MVC project in GITLAB

I have a asp.net mvc project, which is already there in GitLab repository.
I have configured a specific windows runner for my project.
I have installed visual studio in the runner machine.
Now I am able to build my code whenever pipeline runs.
I want to create an artifact package and use to deploy to my azure app service in next stage in pipelne.
How to create the artifact after build, and where these artifacts getting stored (runner machine or git repo)?
Also It would be great if someone can help with script to web deploy (instaed of FTP) the app service in deploy stage
Thanks in advance.
Regards,
Naresh Ede.
I have written the YAML file like below to build and generate artifacts.
The solution build was successful when i'm seeing the log, but getting a warning at generating artifacts
stages:
- build
solution-build:
stage: build
script:
- MSBuild.exe 'my-awesome-app.sln' /p:OutputPath="c:\Builds\awesome-
project"
artifacts:
paths:
- artifacts/
Job Log:
Uploading artifacts...
108 Runtime platform arch=386 os=windows pid=19556 revision=577f813d version=12.5.0
109 WARNING: binaries/: no matching files
110 ERROR: No files to upload

The SDK 'Microsoft.NET.Sdk' specified could not be found error in Jekin build

I am very new to CI/CD. I'm now trying to integrate Jekins, xunit test, asp.net core and gitlab.
I created a new freestyle project and linked to my gitlab. after that, I configured the MSBuild from global tool configuration. after that, I configured the Build session like that . When I start building, I got this . I have already tried to add path variable MSBuildSDKsPath to C:\Program Files\dotnet\sdk\2.1.500\Sdks but it doesn't work. pls help me, Thanks

Build Erlang using gitlab-ci

I have tried to search the Internet a lot but I couldn't find any information on how to build Erlang applications on Gitlab. I know I can build Erlang using travis-ci but again I was unable to find how to link my Gitlab Repository with travis-ci.
All the help will be appreciated.
Starting from version 8.0, GitLab Continuous Integration (CI) is fully integrated into GitLab itself and is enabled by default on all projects.
See documentation
Create Runner
Create .gitlab-ci.yml into your project root
Put into .gitlab-ci.yml next code:
Example
stages:
- build
build_my_project:
stage: build
script:
- make get-deps
- make compile
Take a look at the documentation page "Test a Clojure application".
Basically, you've got the Debian package system (apt-get) and you need to install whatever you want to use. You might use the packages from Erlang Solutions or you might use Kerl to install from scratch.

Unity3D + Jenkins Configuration

I'm using Unity3D, Jenkins and Bitbucket private repository. Jenkins is installed in cloud service. I want to automate buildings and probably run some tests in Jenkins before pushing to repository.
I have configured Jenkins properly to such step that it works when pushing some changes to repository, but this configuration doesn't contain configuration of Unity3D Build Plugin. In order to get Unity3D Build Plugin working properly you must configure it by providing the directory of your Unity3D Editor. Problem here is that Jenkins is installed in cloud service and Unity3D Editor on my computer. If you want to configure Unity3D Build Plugin you must provide it's .exe file location. So my question is that is it possible to tell Jenkins that is installed in cloud service that Unity3D installation directory is located at my computer? If yes how it is done?
right now it's a limitation on the plugin. I hope to fix this. Open a bug in the issue tracker (https://issues.jenkins-ci.org/browse/JENKINS) and let's move the conversation there!

Resources