Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile + docker-compose + Github Actions #8

Merged
merged 9 commits into from
Jul 23, 2023
Merged

Conversation

nvuillam
Copy link
Member

  • Dockerfile for codetotal server (v0, to review with @itayox to decrease size)
  • docker-compose-dev, to locally build codetotal image and run it with MegaLinter: npm run codetotal:dev
  • docker-compose-megalinter, to run megalinter server only: npm run start:megalinter
  • docker-compose, to run codetotal with megalinter: npm run codetotal
  • GHA: Build & Deploy automatically ghcr.io/oxsecurity/codetotal-server:alpha when pushing to alpha
  • GHA: Build & Deploy automatically ghcr.io/oxsecurity/codetotal-server:beta when pushing to development

@nvuillam nvuillam merged commit d6fdf7e into development Jul 23, 2023
2 checks passed
@nvuillam nvuillam deleted the dockerfile branch July 23, 2023 22:14
nvuillam added a commit that referenced this pull request Aug 7, 2023
* Initial commit

* Run unit tests in CI

* Change workflow file name

* Run lint and build in CI

* Rename workflow file to build

* Load configuration from ENV variables using dotenv

* Add a note about .env file in the readme

* Fix production build not loading configuration properly

* Update README.md

Update .env variable info

* Fix jest and cypress types collision

* Fix typo in readme

* Dockerfile + docker-compose + Github Actions (#8)

* Dockerfile init

* Multistage

* dev version

* Copy node_modules

* Working docker-compose v0

* github job perms

* Docker-compose for different purposes

* Deploy Beta

---------

Co-authored-by: Nicolas Vuillamy <[email protected]>

* Display megalinter errors to the user

* Remove unused code

* Move form loader to the button

* Add file upload loader

* Fix file upload form transition

* Fix highlight in light mode

* Adding language detection for snippet code

* Add back to homepage button

* Add file uploader unit tests

* Breakdown language-detection

* Simplify use of language detection

* Move reolve icon

* Rename name map file

* Move resolveId and test

* Unit test language detection

* toBeUndefined();

* Small UI fixes

* Export issues to CSV

* Online documentation for GitHub Pages (#17)

* Doc v0

* Change npm i to npm ci

* v0.1

* More doc :)

* links to ML & OX

* fix doc

---------

Co-authored-by: Nicolas Vuillamy <[email protected]>
Co-authored-by: itayox <[email protected]>

* MegaLinter setup (#18)

* MegaLinter setup

* Fixes

* Disable pre-commit handled linters

* Use Cupcake flavor

* config

* Fixes

* cspell + semver upgrade

* Config

* Upgrade ML to 7.2.1

* lycheeignore

* disable kics & csslint + config trivy

* checkov + jscpd

* Disable temporary some linters

---------

Co-authored-by: Nicolas Vuillamy <[email protected]>

* Fix jscpd config (#19)

Co-authored-by: Nicolas Vuillamy <[email protected]>

* HTTP server breakdown

* Fix typescript error

* Docs + CNAME

* Previous version display

* Add retry mechanism

* Update debugging information

* Enable re-scanning

* Remove text transform

* Migrate turbo-repo

* Fix switching between reports

* Fix button not clickable

* Reset report store on init

* Replace Megalinter with MegaLinter label (#24)

* Replace Megalinter with MegaLinter label

* Inline disable devskim false positive

---------

Co-authored-by: Nicolas Vuillamy <[email protected]>

* Fix footer text

* Move api routes under /api and serve index.html for all GET requests

* http unit tests

* Add the test file

* Add static folder path to unit test

* Release management

* Move parseSBOM

* Fix unit test

* Increase resource value text limit to 600px

* Images versions + README

* cspell

* Aply ML fixes

* Quick Start

* SBOM for python

* SBOM for python

* SBOM for python #2

* Update contributing examples with iconPngUrl

* Use megalinter api beta

* [MegaLinter] Apply linters fixes

---------

Co-authored-by: Itay <[email protected]>
Co-authored-by: itayox <[email protected]>
Co-authored-by: Nicolas Vuillamy <[email protected]>
Co-authored-by: eyalatox <[email protected]>
Co-authored-by: Eyal Paz <[email protected]>
Co-authored-by: nvuillam <[email protected]>
nvuillam added a commit that referenced this pull request Aug 7, 2023
* Initial commit

* Run unit tests in CI

* Change workflow file name

* Run lint and build in CI

* Rename workflow file to build

* Load configuration from ENV variables using dotenv

* Add a note about .env file in the readme

* Fix production build not loading configuration properly

* Update README.md

Update .env variable info

* Fix jest and cypress types collision

* Fix typo in readme

* Dockerfile + docker-compose + Github Actions (#8)

* Dockerfile init

* Multistage

* dev version

* Copy node_modules

* Working docker-compose v0

* github job perms

* Docker-compose for different purposes

* Deploy Beta

---------

Co-authored-by: Nicolas Vuillamy <[email protected]>

* Display megalinter errors to the user

* Remove unused code

* Move form loader to the button

* Add file upload loader

* Fix file upload form transition

* Fix highlight in light mode

* Adding language detection for snippet code

* Add back to homepage button

* Add file uploader unit tests

* Breakdown language-detection

* Simplify use of language detection

* Move reolve icon

* Rename name map file

* Move resolveId and test

* Unit test language detection

* toBeUndefined();

* Small UI fixes

* Export issues to CSV

* Online documentation for GitHub Pages (#17)

* Doc v0

* Change npm i to npm ci

* v0.1

* More doc :)

* links to ML & OX

* fix doc

---------

Co-authored-by: Nicolas Vuillamy <[email protected]>
Co-authored-by: itayox <[email protected]>

* MegaLinter setup (#18)

* MegaLinter setup

* Fixes

* Disable pre-commit handled linters

* Use Cupcake flavor

* config

* Fixes

* cspell + semver upgrade

* Config

* Upgrade ML to 7.2.1

* lycheeignore

* disable kics & csslint + config trivy

* checkov + jscpd

* Disable temporary some linters

---------

Co-authored-by: Nicolas Vuillamy <[email protected]>

* Fix jscpd config (#19)

Co-authored-by: Nicolas Vuillamy <[email protected]>

* HTTP server breakdown

* Fix typescript error

* Docs + CNAME

* Previous version display

* Add retry mechanism

* Update debugging information

* Enable re-scanning

* Remove text transform

* Migrate turbo-repo

* Fix switching between reports

* Fix button not clickable

* Reset report store on init

* Replace Megalinter with MegaLinter label (#24)

* Replace Megalinter with MegaLinter label

* Inline disable devskim false positive

---------

Co-authored-by: Nicolas Vuillamy <[email protected]>

* Fix footer text

* Move api routes under /api and serve index.html for all GET requests

* http unit tests

* Add the test file

* Add static folder path to unit test

* Move parseSBOM

* Fix unit test

* Increase resource value text limit to 600px

* Add loading state to SBOM tab panel

* SBOM for python

* SBOM for python

* SBOM for python #2

* Renaming and moving files around

* Fix details panel

* Disable details tab

* Fix submit button loader position

* Remove unused files

* Remove duplicate files

* [MegaLinter] Apply linters fixes

* Try resolve stylelint css error

* Try resolve stylelint css error

* [MegaLinter] Apply linters fixes

---------

Co-authored-by: Nicolas Vuillamy <[email protected]>
Co-authored-by: Nicolas Vuillamy <[email protected]>
Co-authored-by: eyalatox <[email protected]>
Co-authored-by: Eyal Paz <[email protected]>
Co-authored-by: itayox <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants