Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
a86bcb0
Add .circleci/config.yml
akanchhaS Feb 25, 2021
78a80e3
Updated config.yml
akanchhaS Feb 25, 2021
947b2e6
Updated config.yml
akanchhaS Feb 25, 2021
1e7b174
Updated config.yml
akanchhaS Feb 25, 2021
01383b4
Updated config.yml
akanchhaS Feb 25, 2021
2c54c9f
Updated config.yml
akanchhaS Feb 25, 2021
efef4c3
Updated Config.yml with container scan
akanchhaS Feb 25, 2021
43d561e
Updated config.yml
akanchhaS Feb 25, 2021
0fd541e
Updated config.yml
akanchhaS Feb 25, 2021
66fcbff
Updated config.yml
akanchhaS Feb 25, 2021
dccb59d
Merge pull request #25 from akanchhaS/circleci-project-setup
akanchhaS Feb 25, 2021
7f66a29
Add .circleci/config.yml
akanchhaS Sep 13, 2021
f1ee77c
Add .circleci/config.yml
akanchhaS Sep 13, 2021
6042226
Updated config.yml
akanchhaS Sep 13, 2021
121a0fc
Updated config.yml
akanchhaS Sep 13, 2021
2da23a7
Updated config.yml
akanchhaS Sep 13, 2021
103d8af
Updated config.yml
akanchhaS Sep 13, 2021
3cbcab5
Merge branch 'snyk:master' into master
akanchhaS Sep 13, 2021
c2d60ae
Made it alpine image
akanchhaS Sep 13, 2021
40915b8
Update Dockerfile
akanchhaS Sep 13, 2021
55383d7
Updated config.yml
akanchhaS Sep 13, 2021
4a4df84
Updated config.yml
akanchhaS Sep 14, 2021
e9c9421
Updated config.yml
akanchhaS Sep 14, 2021
235a451
Updated config.yml
akanchhaS Sep 16, 2021
b26aaac
Merge pull request #140 from akanchhaS/circleci-editor/master
akanchhaS Sep 16, 2021
bd75be2
Add .circleci/config.yml
akanchhaS Sep 16, 2021
da00ff7
Add .circleci/config.yml
akanchhaS Sep 16, 2021
b07457a
Merge pull request #141 from akanchhaS/circleci-editor/master
akanchhaS Sep 16, 2021
8634ba1
feat: upgrade mongoose from 4.2.4 to 8.3.5
snyk-bot Jun 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 79 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
version: 2.1
orbs:
snyk: snyk/snyk@1.1.1

workflows: #creating a workflow to define the context - collection of different jobs
test-env-vars: #setting up a job to define the context which this project will use
jobs:
- build-test-monitor-app: #building the relevant context
context: Snyk # has an env var called Snyk-Token
- build-test-monitor-docker:
context: Snyk


jobs: # a collection of steps
build-test-monitor-app: # runs not using Workflows must have a `build` job as entry point #directory where steps will run
working_directory: ~/goof
docker:
- image: 'cimg/node:lts'
steps:
- checkout
- run: npm ci
- snyk/scan:
fail-on-issues: false
monitor-on-build: true
token-variable: SNYKTOKEN
organization: ninja-snyker
project: circleCi-goof
severity-threshold: high


build-test-monitor-docker: # runs not using Workflows must have a `build` job as entry point #directory where steps will run
#working_directory: ~/goof
docker:
- image: circleci/buildpack-deps:stretch
environment:
IMAGE_NAME: akanchhaS/goof
steps:
- checkout
- setup_remote_docker
- run:
name: echo "Build Docker image"
command: 'docker build -t my-new-container-circleci-goof-image .'
- snyk/scan:
fail-on-issues: false
monitor-on-build: true
token-variable: SNYKTOKEN
organization: ninja-snyker
project: circleCi-goof-container
severity-threshold: low
target-file: Dockerfile
docker-image-name: my-new-container-circleci-goof-image
build-test-monitor-iac:
docker:
- image: 'snyk/snyk-cli:npm'
parameters:
args:
default: ''
description: >
See the Snyk CLI help page for information on additional arguments:
https://support.snyk.io/hc/en-us/articles/360003812578-CLI-reference
type: string
resource_class: medium
steps:
- checkout
- scan:
additional-arguments: ' '
command: iac test
monitor-on-build: false

#workflows:
#node-tests:
#jobs:
# - node/test
#- snyk/scan:
# fail-on-issues: false
# monitor-on-build: true
# token-variable: SNYKTOKEN
# organization: panda-not-omar
# project: circleCi-dotnet-goof
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# FROM node:6-stretch
FROM node:14.1.0
FROM node:current-alpine3.14

RUN mkdir /usr/src
RUN mkdir /usr/src/goof
RUN mkdir /tmp/extracted_files
COPY . /usr/src/goof
Expand Down
Loading