bonch.dev-quasar-gitlab-ci

Installing all needed dependencies to run gitlab-ci runner in Bonch.dev Kubernetes Kluster

Usage no npm install needed!

<script type="module">
  import bonchDevQuasarGitlabCi from 'https://cdn.skypack.dev/bonch.dev-quasar-gitlab-ci';
</script>

README

Bonch.dev Quasar Kubernetes Kluster helper

This packages used to upgrade your project to use it in our (bonch.dev) Kluster

You need to update your quasar.conf.js in {build} block

    ...
    distDir: process.env.BUILDER ? "./dist" : `dist/${ctx.modeName}`,
    devtool: ctx.debug ? 'source-map' : '',
    env: ctx.prod ? {
      DEVTOOLS: ctx.debug || null
    } : { },
    ...

And in {boot} block:

    ...
    'devtools',
    ...

If you need to work with vanilla Vue:

Just update .gitlab/docker/Dockerfile.review in RUN yarn build

Replace --debug with --mode development

And delete ./src/boot/devtools.js file

Working with branches

Branch Type of deploy Need to deploy manual?
master Production Yes
staging Staging No
%any_another_name% Review Yes