forked from jhipster/generator-jhipster
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
185 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# | ||
# Copyright 2013-2023 the original author or authors from the JHipster project. | ||
# | ||
# This file is part of the JHipster project, see https://www.jhipster.tech/ | ||
# for more information. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
name: Handle logs | ||
description: Handle logs | ||
inputs: | ||
name-suffix: | ||
description: Suffix to append to the name | ||
required: true | ||
application-path: | ||
description: Application path | ||
required: true | ||
upload-java-test-results: | ||
description: Upload Java test results | ||
required: false | ||
default: 'false' | ||
upload-cypress-snapshots: | ||
description: Upload Cypress snapshots | ||
required: false | ||
default: 'false' | ||
runs: | ||
using: composite | ||
steps: | ||
- name: 'BACKEND: Store failure logs' | ||
uses: actions/upload-artifact@v3 | ||
if: always() && upload-java-test-results != 'false' | ||
with: | ||
name: log-${{ inputs.name-suffix }} | ||
path: ${{ inputs.application-path }}/**/test-results/**/*.xml | ||
- name: 'E2E: Store failure screenshots' | ||
uses: actions/upload-artifact@v3 | ||
if: always() && inputs.upload-cypress-snapshots != 'false' | ||
with: | ||
name: screenshots-${{ inputs.name-suffix }} | ||
path: ${{ inputs.application-path }}/**/cypress/screenshots | ||
- name: Dump docker logs | ||
if: always() | ||
uses: jwalton/gh-docker-logs@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# | ||
# Copyright 2013-2023 the original author or authors from the JHipster project. | ||
# | ||
# This file is part of the JHipster project, see https://www.jhipster.tech/ | ||
# for more information. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# https://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
# | ||
|
||
name: Setup JHipster BOM | ||
description: Checkout JHipster BOM and build it | ||
runs: | ||
using: composite | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: jhipster-bom | ||
repository: jhipster/jhipster-bom | ||
ref: main | ||
fetch-depth: 1 | ||
- uses: jhipster/actions/build-jhipster-bom@v0 | ||
with: | ||
jhipster-bom-path: jhipster-bom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.