TypeCobolTeam / TypeCobol-WebSite

WebSite for TypeCobol team
Other
0 stars 0 forks source link

Add CI/CD #4

Closed NicolasStr closed 5 years ago

NicolasStr commented 5 years ago

Let's add some CI with travis-ci (I suppose we should use this tool because of easiness)

Goal of this CI is:

@TypeCobolTeam/newcomer Please tell me what you think about it, I think creating a new branch is the best idea, but I don't know how we should name it.

smedilol commented 5 years ago

Here's what we currently do: Run CI on a branch each time a commit is pushed on it. For PR, AppVeyor will first clone the target branch of the PR (usually develop) and the merge the branch of the PR on it (it's a local merge) then run CI on this local branch.

I'd prefer to use the same process for all our repositories: So use master branch to tag stuff ready to be realeased. Use develop branch which contains stuff for the next release. When you work on an issue, create a branch that starts with the ID of the issue.

smedilol commented 5 years ago

See : https://github.com/TypeCobolTeam/TypeCobol/wiki/BranchingModel

smedilol commented 5 years ago

Of to test Travis, but first we need to check which permissions are needed. If Travis ask for a full repo access this will not be possible due to our security constraint.

smedilol commented 5 years ago

After discussion, we have to use master branch to publish web site. So let's use:

When we release, we

NicolasStr commented 5 years ago

Ok so finally, we're going to use the corporate azure devops @ EI.

We just need to create a pipeline definition in a YAML file azure-pipelines.yml

PR to follow

NicolasStr commented 5 years ago

PR #13 is a first try for CI/CD on Azure Devops @ EI.

NicolasStr commented 5 years ago

Update: We will work on CI/CD at end of dev when we will be ready release the site.

NicolasStr commented 5 years ago

CI/CD is in a WIP current state. I am working in Netlify's integration with tests.

NicolasStr commented 5 years ago

It's done and it's working!