0.0.5 • Published 4 years ago

@implementit/build-tools v0.0.5

Weekly downloads
11
License
-
Repository
-
Last release
4 years ago

Using gitlab-ci.yml

  1. Install this lib npm i @implementit/build-tools --save-dev

  2. Create .env.example file in root of your project:

    APP_VERSION=latest
    DOCKER_PATH=path-to-project-docker-registry
    COMPOSE_PROJECT_NAME=any-project-name
  3. Create .gitlab-ci.yml file in root of your project:

    image: implementit/docker:ubuntu
    
    stages:
      - prepare
      - run
    
    generate-ci-process:
      stage: prepare
      only:
        - merge_requests
        - master
      artifacts:
        paths:
          - .gitlab-ci.dynamic.yml
      script:
        - npm ci
        - npx impl-generate-ci-process > .gitlab-ci.dynamic.yml
    
    run:
      stage: run
      only:
        - merge_requests
        - master
      trigger:
        include:
          - artifact: .gitlab-ci.dynamic.yml
            job: generate-ci-process
  4. Add .gitlab-ci.dynamic.yml and .env files to .gitignore

0.0.5

4 years ago

1.0.0-rc5

5 years ago

1.0.0-rc6

5 years ago

1.0.0-rc7

5 years ago

1.0.0-rc3

5 years ago

1.0.0-rc4

5 years ago

1.0.0

5 years ago

1.0.0-rc1

5 years ago

1.0.0-rc2

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago