-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #124 from reportportal/rc/5.11.0
Release 5.11.0
- Loading branch information
Showing
57 changed files
with
1,564 additions
and
1,094 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,35 @@ | ||
name: Build develop Docker image | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
paths-ignore: | ||
- '.github/**' | ||
- README.md | ||
|
||
jobs: | ||
variables-setup: | ||
name: Setting variables for docker build | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Create variables | ||
id: vars | ||
run: | | ||
echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT | ||
outputs: | ||
date: ${{ steps.vars.outputs.date }} | ||
|
||
call-docker-build: | ||
name: Call develop Docker build | ||
needs: variables-setup | ||
uses: reportportal/.github/.github/workflows/build-docker-image.yaml@main | ||
with: | ||
aws-region: ${{ vars.AWS_REGION }} | ||
image-tag: 'develop-${{ github.run_number }}' | ||
version: 'develop-${{ github.run_number }}' | ||
date: ${{ needs.variables-setup.outputs.date }} | ||
secrets: inherit |
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,37 @@ | ||
name: Build feature Docker image | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
branches: | ||
- 'develop' | ||
|
||
jobs: | ||
variables-setup: | ||
name: Setting variables for docker build | ||
runs-on: ubuntu-latest | ||
if: (!startsWith(github.head_ref, 'rc/') || !startsWith(github.head_ref, 'hotfix/') || !startsWith(github.head_ref, 'master') || !startsWith(github.head_ref, 'main')) | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Create variables | ||
id: vars | ||
run: | | ||
echo "tag=$(echo ${{ github.head_ref }}-${{ github.run_number }} | tr '/' '-')" >> $GITHUB_OUTPUT | ||
echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT | ||
outputs: | ||
tag: ${{ steps.vars.outputs.tag }} | ||
date: ${{ steps.vars.outputs.date }} | ||
|
||
call-docker-build: | ||
name: Call feature Docker build | ||
needs: variables-setup | ||
uses: reportportal/.github/.github/workflows/build-docker-image.yaml@main | ||
with: | ||
aws-region: ${{ vars.AWS_REGION }} | ||
image-tag: ${{ needs.variables-setup.outputs.tag }} | ||
version: ${{ needs.variables-setup.outputs.tag }} | ||
branch: ${{ github.head_ref }} | ||
date: ${{ needs.variables-setup.outputs.date }} | ||
secrets: inherit |
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,43 @@ | ||
name: Build RC Docker image | ||
|
||
on: | ||
push: | ||
branches: | ||
- "rc/*" | ||
- "hotfix/*" | ||
|
||
jobs: | ||
variables-setup: | ||
name: Setting variables for docker build | ||
runs-on: ubuntu-latest | ||
environment: rc | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Create variables | ||
id: vars | ||
run: | | ||
echo "platforms=${{ vars.BUILD_PLATFORMS }}" >> $GITHUB_OUTPUT | ||
echo "version=$(echo '${{ github.ref_name }}' | sed -nE 's/.*([0-9]+\.[0-9]+\.[0-9]+).*/\1/p')" >> $GITHUB_OUTPUT | ||
echo "tag=$(echo ${{ github.ref_name }}-${{ github.run_number }} | tr '/' '-')" >> $GITHUB_OUTPUT | ||
echo "date=$(date +'%Y-%m-%d')" >> $GITHUB_OUTPUT | ||
outputs: | ||
platforms: ${{ steps.vars.outputs.platforms }} | ||
version: ${{ steps.vars.outputs.version }} | ||
tag: ${{ steps.vars.outputs.tag }} | ||
date: ${{ steps.vars.outputs.date }} | ||
|
||
call-docker-build: | ||
name: Call release candidate Docker build | ||
needs: variables-setup | ||
uses: reportportal/.github/.github/workflows/build-docker-image.yaml@main | ||
with: | ||
aws-region: ${{ vars.AWS_REGION }} | ||
image-tag: ${{ needs.variables-setup.outputs.tag }} | ||
release-mode: true | ||
additional-tag: 'latest' | ||
build-platforms: ${{ needs.variables-setup.outputs.platforms }} | ||
version: ${{ needs.variables-setup.outputs.version }} | ||
date: ${{ needs.variables-setup.outputs.date }} | ||
secrets: inherit |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Java checks | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
paths-ignore: | ||
- '.github/**' | ||
- README.md | ||
- gradle.properties | ||
push: | ||
branches: | ||
- master | ||
- develop | ||
paths-ignore: | ||
- '.github/**' | ||
- README.md | ||
- gradle.properties | ||
|
||
jobs: | ||
call-java-cheks: | ||
name: Call Java checks | ||
uses: reportportal/.github/.github/workflows/java-checks.yaml@main | ||
with: | ||
java-version: '21' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,16 @@ | ||
FROM gradle:6.8.3-jdk11 AS build | ||
FROM --platform=$BUILDPLATFORM gradle:8.4.0-jdk21 AS build | ||
ARG RELEASE_MODE | ||
ARG APP_VERSION | ||
ARG GITHUB_USER | ||
ARG GITHUB_TOKEN | ||
WORKDIR /usr/app | ||
COPY . /usr/app | ||
RUN if [ "${RELEASE_MODE}" = true ]; then \ | ||
gradle build --exclude-task test \ | ||
-PreleaseMode=true \ | ||
-PgithubUserName=${GITHUB_USER} \ | ||
-PgithubToken=${GITHUB_TOKEN} \ | ||
-Dorg.gradle.project.version=${APP_VERSION}; \ | ||
else gradle build --exclude-task test -Dorg.gradle.project.version=${APP_VERSION}; fi | ||
|
||
# For ARM build use flag: `--platform linux/arm64` | ||
FROM --platform=$BUILDPLATFORM amazoncorretto:11.0.20 | ||
FROM --platform=$BUILDPLATFORM amazoncorretto:21.0.1 | ||
LABEL version=${APP_VERSION} description="EPAM Report portal. Jobs Service" maintainer="Andrei Varabyeu <[email protected]>, Hleb Kanonik <[email protected]>" | ||
ARG APP_VERSION=${APP_VERSION} | ||
ENV APP_DIR=/usr/app | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
# service-jobs | ||
|
||
ReportPortal cron jobs |
Oops, something went wrong.