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

Feature/epmrpp 93163 merge develop to orgs #3950

Merged
merged 30 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
9e0b6c0
EPMRPP-92444 || Launch owner checkbox is not checked by default (#3918)
Vadim73i Jul 17, 2024
e2577d0
EPMRPP-91800 || If log doesn't have microseconds in log_time in datab…
maria-hambardzumian Jul 17, 2024
26b4919
EPMRPP-89421 || Display number of tests related to each Unique Error …
maria-hambardzumian Jul 18, 2024
f04ef79
Create dockerhub-release-revision.yml
hlebkanonik Jul 19, 2024
23fca71
EPMRPP-93055 || EPMRPP-93054 || Bugfixes related to unique errors (#3…
maria-hambardzumian Jul 19, 2024
458fed5
EPMRPP-89423 || Add 2 events for Login page (#3927)
maria-hambardzumian Jul 22, 2024
86fe0db
EPMRPP-91756 || Remove old plugins mechanism (#3925)
AmsterGet Jul 22, 2024
b6070df
Update release.yml
AmsterGet Jul 22, 2024
5c7f530
EPMRPP-87094 || Integration connection section layout is broken with …
Vadim73i Jul 23, 2024
46e801d
EPMRPP-81950 || modal focus issue fix (#3933)
Vadim73i Jul 23, 2024
0cd3ba3
Fix local plugins overriding (#3932)
AmsterGet Jul 23, 2024
ddb9e70
EPMRPP-81950 || modal focus fix (#3934)
Vadim73i Jul 23, 2024
678d9a7
EPMRPP-93091 || Unique error page is blinking when expanding cluster …
maria-hambardzumian Jul 23, 2024
dcc6191
Create build-revision-image.yaml
hlebkanonik Jul 24, 2024
a5189b8
EPMRPP-89691 || Update event parameter "pattern_analysis" (#3928)
maria-hambardzumian Jul 24, 2024
f1e5e88
Update build-revision-image.yaml
hlebkanonik Jul 24, 2024
3254b87
EPMRPP-92637 || Wrong value in "element_name" parameter is sent when …
maria-hambardzumian Jul 24, 2024
5ca19f2
Update build-revision-image.yaml
hlebkanonik Jul 24, 2024
fc1e014
Update build-revision-image.yaml
hlebkanonik Jul 24, 2024
792ea15
Update build-revision-image.yaml
hlebkanonik Jul 24, 2024
2692898
Update build-revision-image.yaml
hlebkanonik Jul 24, 2024
5552917
EPMRPP-91529 || Launch merge. Incorrect limitation for value in the '…
maria-hambardzumian Jul 25, 2024
1476959
EPMRPP-93183 || "Unique bugs table" widget is broken (#3937)
maria-hambardzumian Jul 25, 2024
64020ac
EPMRPP-88471 || Update dropdown options width (#3940)
maria-hambardzumian Jul 29, 2024
d37a16e
EPMRPP-91757 || use modal and toggle from ui kit (#3941)
Vadim73i Jul 30, 2024
0d6a316
EPMRPP-92684 || EPMRPP-93124 || EPMRPP-92671 || Jira Cloud Bug fix…
maria-hambardzumian Aug 1, 2024
35ced61
EPMRPP-92671 || Extra None Values Displayed in Options (#3947)
maria-hambardzumian Aug 1, 2024
cb85347
EPMRPP-93163 || merge develop to organizations
BlazarQSO Aug 2, 2024
17e5a78
EPMRPP-93163 || fix import
BlazarQSO Aug 4, 2024
1aaf7be
EPMRPP-93163 || Use the properties of the new modal component
BlazarQSO Aug 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/build-revision-image.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build revision Docker image

on:
workflow_dispatch:
inputs:
version:
description: 'Release version'
required: true

jobs:
variables-setup:
name: Setting variables for docker build
runs-on: ubuntu-latest
environment: rc
steps:
- name: Create variables
id: vars
run: |
echo "platforms=${{ vars.BUILD_PLATFORMS }}" >> $GITHUB_OUTPUT
echo "version=${{ github.event.inputs.version }}" >> $GITHUB_OUTPUT
echo "tag=${{ github.event.inputs.version }}" >> $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 }}
additional-tag: 'latest'
build-platforms: ${{ needs.variables-setup.outputs.platforms }}
version: ${{ needs.variables-setup.outputs.version }}
date: ${{ needs.variables-setup.outputs.date }}
secrets: inherit
89 changes: 89 additions & 0 deletions .github/workflows/dockerhub-release-revision.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
name: Retag RC Docker image (revision)

on:
workflow_dispatch:

env:
AWS_REGION: ${{ vars.AWS_REGION }} # set this to your preferred AWS region, e.g. us-west-1
ECR_REPOSITORY: ${{ vars.ECR_REPOSITORY }} # set this to your Amazon ECR repository name
TARGET_REGISTRY: ${{ vars.TARGET_REGISTRY }} # set to target registry (DockerHub, GitHub & etc)
TARGET_REPOSITORY: ${{ vars.TARGET_REPOSITORY }} # set to target repository
PLATFORMS: ${{ vars.BUILD_PLATFORMS }} # set target build platforms. By default linux/amd64
RELEASE_MODE: ${{ vars.RELEASE_MODE }}

jobs:
retag-image:
name: Retag and push image
runs-on: ubuntu-latest
environment: rc
# if: github.event.pull_request.base.ref == 'master' || github.event.pull_request.base.ref == 'main'
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Get the latest git tag
id: get_version
uses: oprypin/find-latest-tag@v1
with:
repository: ${{ github.repository }}
releases-only: true

- name: Get next Docker version
id: next_version
run: |
DOCKER_IMAGE_NAME="${{ github.repository }}"
INPUT_VERSION=${{ steps.get_version.outputs.tag }}
TAGS_JSON=$(curl -s "https://hub.docker.com/v2/repositories/${DOCKER_IMAGE_NAME}/tags/?page_size=1000")
LATEST_REVISION_NUMBER=$(echo "$TAGS_JSON" | jq -r --arg INPUT_VERSION "$INPUT_VERSION" '.results[] | select(.name | startswith($INPUT_VERSION+"-r")) | .name' | awk -F-r '{print $2}' | sort -nr | head -n1)
if [[ -z "$LATEST_REVISION_NUMBER" ]]; then
NEXT_VERSION="$INPUT_VERSION-r1"
else
NEXT_VERSION="$INPUT_VERSION-r$(($LATEST_REVISION_NUMBER + 1))"
fi
echo $NEXT_VERSION
echo "tag=$NEXT_VERSION" >> $GITHUB_OUTPUT

- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
with:
# role-to-assume: arn:aws:iam::123456789012:role/my-github-actions-role
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ env.AWS_REGION }}

- name: Login to Amazon ECR
id: login-ecr
uses: aws-actions/amazon-ecr-login@v1
with:
mask-password: 'true'

- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.REGESTRY_USERNAME }}
password: ${{ secrets.REGESTRY_PASSWORD }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Retag and Push Docker Image
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
IMAGE_TAG: ${{ steps.next_version.outputs.tag }}
run: |
docker buildx imagetools create $ECR_REGISTRY/$ECR_REPOSITORY:latest --tag $TARGET_REGISTRY/$TARGET_REPOSITORY:$IMAGE_TAG --tag $TARGET_REGISTRY/$TARGET_REPOSITORY:latest

- name: Summarize
env:
ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }}
IMAGE_TAG: ${{ steps.next_version.outputs.tag }}
run: |
echo "## General information about the build:" >> $GITHUB_STEP_SUMMARY
echo "" >> $GITHUB_STEP_SUMMARY
echo "- :whale: Docker image: $TARGET_REGISTRY/$TARGET_REPOSITORY:$IMAGE_TAG" >> $GITHUB_STEP_SUMMARY
echo "- :octocat: The commit SHA from which the build was performed: [$GITHUB_SHA](https://github.com/$GITHUB_REPOSITORY/commit/$GITHUB_SHA)" >> $GITHUB_STEP_SUMMARY


2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: v${{ github.event.inputs.version }}
tag_name: ${{ github.event.inputs.version }}
release_name: Release ${{ github.event.inputs.version }}
draft: false
prerelease: false
Expand Down
4 changes: 2 additions & 2 deletions app/localization/translated/be.json
Original file line number Diff line number Diff line change
Expand Up @@ -1131,8 +1131,8 @@
"LaunchLevelEntities.launchNumberEntityHint": "Гэты фільтр прымае толькі лічбы.",
"LaunchLevelEntities.launchNumberPlaceholder": "Увядзіце нумар",
"LaunchLevelEntities.ownerName.placeholder": "Увядзіце імя карыстальніка",
"LaunchMergeModal.launchDescriptionHint": "Description should have size not more than 1024 symbols.",
"LaunchMergeModal.launchNameHint": "Launch name should have size from 1 to 256.",
"LaunchMergeModal.launchDescriptionHint": "Апісанне павінна мець памер не больш за 2048 знакаў",
"LaunchMergeModal.launchNameHint": "Назва запуску павінна мець памер ад 1 да 256",
"LaunchStatistics.noDataMessage": "Няма запускаў",
"LaunchStatisticsControls.ContentFieldsValidationError": "Абярыце па меншай меры адзін элемент",
"LaunchStatisticsControls.CriteriaFieldLabel": "Крытэрыі для віджэта",
Expand Down
2 changes: 1 addition & 1 deletion app/localization/translated/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -1130,7 +1130,7 @@
"LaunchLevelEntities.launchNumberEntityHint": "Este filtro solo acepta números",
"LaunchLevelEntities.launchNumberPlaceholder": "Ingrese el número",
"LaunchLevelEntities.ownerName.placeholder": "Ingrese el nombre de usuario",
"LaunchMergeModal.launchDescriptionHint": "La descripción debe tener como máximo 1024 símbolos.",
"LaunchMergeModal.launchDescriptionHint": "La descripción debe tener como máximo 2048 símbolos.",
"LaunchMergeModal.launchNameHint": "El nombre de la ejecución debe tener entre 1 y 256 caracteres.",
"LaunchStatistics.noDataMessage": "No hay ejecuciones",
"LaunchStatisticsControls.ContentFieldsValidationError": "Debe seleccionar al menos un elemento",
Expand Down
2 changes: 1 addition & 1 deletion app/localization/translated/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@
"LaunchLevelEntities.launchNumberEntityHint": "Этот фильтр принимает только цифры.",
"LaunchLevelEntities.launchNumberPlaceholder": "Введите номер",
"LaunchLevelEntities.ownerName.placeholder": "Введите имя пользователя",
"LaunchMergeModal.launchDescriptionHint": "Description should have size not more than 1024 symbols.",
"LaunchMergeModal.launchDescriptionHint": "Описание должно иметь размер не более 2048 символов",
"LaunchMergeModal.launchNameHint": "Имя запуска должно быть длиной от 1 до 256.",
"LaunchStatistics.noDataMessage": "Нет запусков",
"LaunchStatisticsControls.ContentFieldsValidationError": "Необходимо выбрать минимум один элемент",
Expand Down
4 changes: 2 additions & 2 deletions app/localization/translated/uk.json
Original file line number Diff line number Diff line change
Expand Up @@ -1131,8 +1131,8 @@
"LaunchLevelEntities.launchNumberEntityHint": "Цей фільтр приймає тільки цифри.",
"LaunchLevelEntities.launchNumberPlaceholder": "Введіть номер",
"LaunchLevelEntities.ownerName.placeholder": "Введіть ім’я користувача",
"LaunchMergeModal.launchDescriptionHint": "Description should have size not more than 1024 symbols.",
"LaunchMergeModal.launchNameHint": "Launch name should have size from 1 to 256.",
"LaunchMergeModal.launchDescriptionHint": "Опис повинен мати розмір не більше 2048 символів",
"LaunchMergeModal.launchNameHint": "Назва запуску повинна мати розмір від 1 до 256",
"LaunchStatistics.noDataMessage": "Запусків Немає",
"LaunchStatisticsControls.ContentFieldsValidationError": "Потрібно вибрати принаймні один елемент",
"LaunchStatisticsControls.CriteriaFieldLabel": "Критерії для віджету",
Expand Down
2 changes: 1 addition & 1 deletion app/localization/translated/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@
"LaunchLevelEntities.launchNumberEntityHint": "此过滤器仅接受数字",
"LaunchLevelEntities.launchNumberPlaceholder": "请输入编号",
"LaunchLevelEntities.ownerName.placeholder": "请输入所有者姓名",
"LaunchMergeModal.launchDescriptionHint": "描述文本的长度应不超过1024个字符",
"LaunchMergeModal.launchDescriptionHint": "描述文本的长度应不超过2048个字符",
"LaunchMergeModal.launchNameHint": "测试任务名字的取值范围是1~256。",
"LaunchStatistics.noDataMessage": "没有运行测试任务",
"LaunchStatisticsControls.ContentFieldsValidationError": "您必须至少选择一项测试项",
Expand Down
Loading
Loading