Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • W WebApps
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TurrisTurris
  • WebApps
  • Merge requests
  • !26

Add stages (test, build, release) for GitLab CI

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Josef Schlehofer requested to merge ci-webapps into master Dec 31, 2022
  • Overview 4
  • Commits 1
  • Pipelines 8
  • Changes 2
  • This ensures that WebApps are tested, which was done before, but tests were extended to test JavaScript files to ensure that they are not empty

  • Added build stage and release stage, which ensures that there are production files, which can be used within our operating system - Turris OS and during compilating WebApps for Turris OS, we don't need to call npm run build and thats can save us some build time.

  • The file release.sh in folder .gitlab-ci is almost the same as from Sentinel DynFW repository.

What is tested:

  • test stage
  • build stage
  • release stage (I am not able to push tags, I can not enable NPM registry here... :-( )
Edited Jan 01, 2023 by Josef Schlehofer
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: ci-webapps