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

add new workflow to generate release info html files #418

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
56 changes: 56 additions & 0 deletions .github/workflows/generate_release_info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: Generate Release Info HTML files

on:
push:
paths:
- tools/release_info/release_main_info_*.json
workflow_dispatch:

env:
INSTALLER_LOCATION: "https://github.com/test-fullautomation/RobotFramework_AIO/releases"

jobs:
release-info:
name: generate release info html files
runs-on: ubuntu-latest
steps:
- name: checkout source
uses: actions/checkout@v4

- name: Set up Python
uses: actions/[email protected]
with:
python-version: "3.9"

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y pandoc
python -m pip install -r tools/release_info/requirements.txt

- name: Clone repositories
run: |
chmod +x ./cloneall
./cloneall --config-file=./config/repositories/repositories_extended.conf

- name: Generate release info
run: |
export AIO_VERSION_DATE=$(date +%m.%Y)
export RobotPythonSitePackagesPath=${{ runner.workspace }}/robotframework-testsuitesmanagement

VARIANTS=("extended" "original")
for variant in "${VARIANTS[@]}"
do
export AIO_NAME="RobotFramework AIO (${variant})"
. ./include/bash/common.sh && create_testsuitmanagement_package_context_file
python tools/release_info/release_info.py --configfile ./release_info_config_OSS_${variant}.json
done

- name: Upload as artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: release-info-files
path: |
tools/release_info/release_info_RobotFramework_AIO_*.html
tools/release_info/release_changelog.html
4 changes: 4 additions & 0 deletions tools/release_info/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
PythonExtensionsCollection
colorama
pypandoc
lxml
Loading