Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • open-project-framework/opf-virtual-company-v1/source-demo-front
  • narsu-group/source-demo-front
2 results
Show changes
Commits on Source (9)
#This declares the pipeline stages
image: node:13.1
stages:
- build
- test
- deploy
cache:
paths:
- node_modules/
build:
stage: build
script:
- npm install
- npm run-script build
tags:
- docker
test:
stage: test
script:
- echo "Running react test suite......"
tags:
- docker
license_management:
stage: test
image:
name: "registry.gitlab.labranet.jamk.fi//gitlab-org/security-products/license-management:$CI_SERVER_VERSION_MAJOR-$CI_SERVER_VERSION_MINOR-stable"
name: gcr.io/kaniko-project/executor:debug
entrypoint: [""]
variables:
SETUP_CMD: $LICENSE_MANAGEMENT_SETUP_CMD
allow_failure: true
script:
- /run.sh analyze .
artifacts:
reports:
license_management: $CI_PROJECT_DIR/gl-license-management-report.json
expire_in: 1 week
dependencies: []
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
only:
refs:
- branches
variables:
- $GITLAB_FEATURES =~ /\blicense_management\b/
except:
variables:
- $LICENSE_MANAGEMENT_DISABLED
tags:
- docker
code_quality:
stage: test
image: docker:stable
allow_failure: true
services:
- docker:stable-dind
variables:
DOCKER_DRIVER: overlay2
DOCKER_TLS_CERTDIR: ""
script:
- |
if ! docker info &>/dev/null; then
if [ -z "$DOCKER_HOST" -a "$KUBERNETES_PORT" ]; then
export DOCKER_HOST='tcp://localhost:8080'
fi
fi
- docker run
--env SOURCE_CODE="$PWD"
--volume "$PWD":/code
--volume /var/run/docker.sock:/var/run/docker.sock
"registry.gitlab.labranet.jamk.fi/gitlab-org/security-products/codequality:12-0-stable" /code
artifacts:
reports:
codequality: $CI_PROJECT_DIR/gl-code-quality-report.json
expire_in: 1 week
when: always
dependencies: []
only:
refs:
- branches
- tags
except:
variables:
- $CODE_QUALITY_ENABLE
tags:
- docker
deploy:
stage: deploy
script:
- echo 'Deploy'
- master
tags:
- docker
- general
\ No newline at end of file
stages:
- test
- build_app
- scan
- deploy_app_testing
variables:
IMAGE_NAME: ${CI_REGISTRY_IMAGE}/app:latest
build_app:
stage: build_app
image: docker:stable
variables:
DOCKER_DRIVER: overlay2
services:
- docker:dind
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
script:
- docker build --cache-from $CI_REGISTRY/wimma-lab-2019/mysticons/cayac/demofrontend/app:latest --tag $CI_REGISTRY/wimma-lab-201$
- docker push $CI_REGISTRY/wimma-lab-2019/mysticons/cayac/demofrontend/app:latest
on stage: scan
variables:
ANCHORE_CLI_URL: "http://anchore-engine:8228/v1"
GIT_STRATEGY: none
image: docker.io/anchore/inline-scan:v0.3.3
services:
- name: docker.io/anchore/inline-scan:v0.3.3
alias: anchore-engine
command: ["start"]
- name: anchore/engine-db-preload:v0.3.3
alias: anchore-db
script:
- anchore-cli system wait
- anchore-cli registry add "$CI_REGISTRY" gitlab-ci-token "$CI_JOB_TOKEN" --skip-validate
- anchore_ci_tools.py -a -r --timeout 500 --image $IMAGE_NAME
artifacts:
name: ${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}
paths:
- anchore-reports/*
only:
- Development
......@@ -2,6 +2,8 @@
[![RealWorld Frontend](https://img.shields.io/badge/realworld-frontend-%23783578.svg)](http://realworld.io)
> ### React + Redux codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the [RealWorld](https://github.com/gothinkster/realworld-example-apps) spec and API.
<a href="https://stackblitz.com/edit/react-redux-realworld" target="_blank"><img width="187" src="https://github.com/gothinkster/realworld/blob/master/media/edit_on_blitz.png?raw=true" /></a>&nbsp;&nbsp;<a href="https://thinkster.io/tutorials/build-a-real-world-react-redux-application" target="_blank"><img width="384" src="https://raw.githubusercontent.com/gothinkster/realworld/master/media/learn-btn-hr.png" /></a>
......