Commit 19fd0f6e authored by krlwlfrt's avatar krlwlfrt
Browse files

feat: add projectmanagement and pack

parents
Loading
Loading
Loading
Loading

.editorconfig

0 → 100644
+18 −0
Original line number Diff line number Diff line
# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs
# editorconfig.org

root = true

[*]
indent_style = space
indent_size = 2

# We recommend you to keep these unchanged
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
trim_trailing_whitespace = false
 No newline at end of file

.gitignore

0 → 100644
+68 −0
Original line number Diff line number Diff line
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Typescript v1 declaration files
typings/

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

# ignore ide files
.idea
.vscode

# ignore lib
lib

# ignore docs
docs

.gitlab-ci.yml

0 → 100644
+54 −0
Original line number Diff line number Diff line
image: node:lts-alpine

cache:
  key: ${CI_COMMIT_REF_SLUG}
  paths:
    - lib
    - node_modules

stages:
  - build
  - test
  - deploy

build:npm:
  tags:
    - docker
  stage: build
  script:
    - npm install
    - npm run build

build:docker-builder:
  image: docker:stable
  stage: build
  script:
    - cd images/builder
    - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com
    - docker build -t registry.gitlab.com/openstapps/projectmanagement/builder .
    - docker push registry.gitlab.com/openstapps/projectmanagement/builder
  tags:
    - docker

build:docker-node:
  image: docker:stable
  stage: build
  script:
    - cd images/node
    - docker login -u gitlab-ci-token -p $CI_BUILD_TOKEN registry.gitlab.com/openstapps/projectmanagement/
    - docker build -t registry.gitlab.com/openstapps/projectmanagement/node .
    - docker push registry.gitlab.com/openstapps/projectmanagement/node
  tags:
    - docker

pages:
  stage: deploy
  script:
    - npm install
    - npm run documentation
    - mv docs public
  only:
    - /^v[0-9]+\.[0-9]+\.[0-9]+$/
  artifacts:
    paths:
      - public
+38 −0
Original line number Diff line number Diff line
## Summary

(Summarize the bug encountered concisely)


## Steps to reproduce

(How one can reproduce the issue - this is very important)


## Example Project

(If possible, please create an example project here on GitLab.com that exhibits the problematic behaviour, and link to it here in the bug report)

(If you are using an older version of GitLab, this will also determine whether the bug has been fixed in a more recent version)


## What is the current bug behavior?

(What actually happens)


## What is the expected correct behavior?

(What you should see instead)


## Relevant logs and/or screenshots

(Paste any relevant logs - please use code blocks (```) to format console output,
logs, and code as it's very hard to read otherwise.)


## Possible fixes

(If you can, link to the line of code that might be responsible for the problem)

/label ~meeting

.npmignore

0 → 100644
+12 −0
Original line number Diff line number Diff line
# Ignore all files/folders by default
# See https://stackoverflow.com/a/29932318
/*

# Execept this files/folders
!docs
!lib
!LICENSE
!package.json
!package-lock.json
!README.md
!src