Skip to content

Commit

Permalink
Enable build test module (specify tests_module_type=mvn by default)
Browse files Browse the repository at this point in the history
  • Loading branch information
gflores-jahia committed Aug 1, 2023
1 parent f34c1d6 commit f2cf00a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/on-code-change.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ jobs:
nexus_username: ${{ secrets.NEXUS_USERNAME }}
nexus_password: ${{ secrets.NEXUS_PASSWORD }}
module_id: jcontent
tests_module_type: "npm"

sonar-analysis:
name: Sonar Analysis
Expand Down Expand Up @@ -83,7 +82,8 @@ jobs:
jahia_image: jahia/jahia-ee-dev:8-SNAPSHOT
should_use_build_artifacts: true
should_skip_testrail: true
github_artifact_name: jcontent-standalone-artifacts-${{ github.run_number }}
github_artifact_name: content-editor-standalone-artifacts-${{ github.run_number }}
bastion_ssh_private_key: ${{ secrets.BASTION_SSH_PRIVATE_KEY_JAHIACI }}
jahia_license: ${{ secrets.JAHIA_LICENSE_8X_FULL }}
docker_username: ${{ secrets.DOCKERHUB_USERNAME }}
docker_password: ${{ secrets.DOCKERHUB_PASSWORD }}
Expand All @@ -99,6 +99,7 @@ jobs:
incident_google_client_email: ${{ secrets.INCIDENT_GOOGLE_CLIENT_EMAIL }}
incident_google_api_key_base64: ${{ secrets.INCIDENT_GOOGLE_PRIVATE_KEY_BASE64 }}
zencrepes_secret: ${{ secrets.ZENCREPES_WEBHOOK_SECRET }}
timeout_minutes: 90
- name: Test Report
uses: dorny/test-reporter@v1
if: success() || failure()
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/on-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,13 @@ jobs:
nexus_username: ${{ secrets.NEXUS_USERNAME }}
nexus_password: ${{ secrets.NEXUS_PASSWORD }}
module_id: jcontent
tests_module_type: "npm"


sbom:
name: SBOM processing
needs: build
runs-on: ubuntu-latest
container:
image: cyclonedx/cyclonedx-cli:0.24.2
image: cyclonedx/cyclonedx-cli:0.24.2
steps:
- uses: jahia/jahia-modules-action/sbom-processing@v2
with:
Expand Down Expand Up @@ -116,4 +115,3 @@ jobs:
with:
nexus_username: ${{ secrets.NEXUS_USERNAME }}
nexus_password: ${{ secrets.NEXUS_PASSWORD }}
tests_module_type: "npm"

0 comments on commit f2cf00a

Please sign in to comment.