However, I struggled a lot with such trivial task as deploying existing Ruby application from GitLab.com to my Google Container Engine. Basically, there was no single document or guide that covers this use case. As result, I collected necessary information from many different pages, example projects, and guides.
The first improvement I have in my mind that should increase feature adoption is to write a guide "Simple way to deploy your GitLab.com application to Google Container Engine". It should contain next resources:
Actual step-by-step instruction including creating cluster and filling Kubernetes integration page on GitLab.com project setting page.
Link to the public project dedicated to this example. So I can fork this project, fill my Kubernetes settings and it will be deployed to my cloud. Preferably without a single modification.
ToC could look like that:
Fork our GitLab.com Ruby project
Create cluster on Google Container Engine.
Connect to cluster and copy permissions to Project -> Settings -> Kubernetes
Push a change to GitLab.com project
Open IP address of your deployment. Wow, GitLab actually deployed an app to my Cloud.
Explain content of .gitlab-ci.yml file. What happens in build and deploy sections
@ayufan@markpundsack I was using auto deploy for Ruby application https://gitlab.com/dzaporozhets/sample-ruby-app and everything works great. But I have one question though. Our auto deploy feature creates service and ingress for my app but I don't know what is a preferable and easy way to expose app to the world.
@grzesiek It would be great to get an indication of Auto Deploy usage, and checking gitlab.com for projects with .gitlab-ci.yml referencing kubernetes-deploy is the best proposal I've seen.
@markpundsack What do you mean by "referencing kubernetes-deploy"? Do you mean using image: registry.gitlab.com/gitlab-examples/kubernetes-deploy, thus having jobs using this image in the database?
@markpundsack@dzaporozhets I guess that the most simple way is to check ci_builds rows that reference kubernetes-deploy in options, maybe something like
I have neither production, nor staging access, so I can't check it - we probably need to open an issue in infrastructure issue tracker. This query can take a lot of time on production, not sure if there is more efficient way.
@dzaporozhets This might be enough indeed, but I suppose that most of the projects with kubernetes service enabled do not use auto deploy feature, but I may be wrong and I'm curious what @markpundsack thinks.
GitLab is moving all development for both GitLab Community Edition
and Enterprise Edition into a single codebase. The current
gitlab-ce repository will become a read-only mirror, without any
proprietary code. All development is moved to the current
gitlab-ee repository, which we will rename to just gitlab in the
coming weeks. As part of this migration, issues will be moved to the
current gitlab-ee project.
If you have any questions about all of this, please ask them in our
dedicated FAQ issue.
Using "gitlab" and "gitlab-ce" would be confusing, so we decided to
rename gitlab-ce to gitlab-foss to make the purpose of this FOSS
repository more clear
I created a merge requests for CE, and this got closed. What do I
need to do?
Everything in the ee/ directory is proprietary. Everything else is
free and open source software. If your merge request does not change
anything in the ee/ directory, the process of contributing changes
is the same as when using the gitlab-ce repository.
Will you accept merge requests on the gitlab-ce/gitlab-foss project
after it has been renamed?
No. Merge requests submitted to this project will be closed automatically.
Will I still be able to view old issues and merge requests in
gitlab-ce/gitlab-foss?
Yes.
How will this affect users of GitLab CE using Omnibus?
No changes will be necessary, as the packages built remain the same.
How will this affect users of GitLab CE that build from source?
Once the project has been renamed, you will need to change your Git
remotes to use this new URL. GitLab will take care of redirecting Git
operations so there is no hard deadline, but we recommend doing this
as soon as the projects have been renamed.
Where can I see a timeline of the remaining steps?