forked from OpenDDS/OpenDDS
-
Notifications
You must be signed in to change notification settings - Fork 0
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 OpenDDS#4327 from iguessthislldo/igtd/ace-tao-vers…
…ions Automatically Update ACE/TAO Versions
- Loading branch information
Showing
10 changed files
with
444 additions
and
84 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,62 @@ | ||
name: "Update ACE/TAO Versions" | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 33 23 * * *' | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
update-ace-tao: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Checkout OpenDDS | ||
uses: actions/checkout@v4 | ||
with: | ||
path: OpenDDS | ||
submodules: true | ||
- name: Install Perl Dependencies | ||
uses: shogo82148/actions-setup-perl@v1 | ||
with: | ||
install-modules: | | ||
Pithub | ||
Net::SFTP::Foreign | ||
Time::Piece | ||
LWP::UserAgent | ||
LWP::Protocol::https | ||
- name: Run gitrelease.pl --update-ace-tao | ||
run: | | ||
cd OpenDDS | ||
GITHUB_TOKEN=${{secrets.GITHUB_TOKEN}} perl tools/scripts/gitrelease.pl --update-ace-tao | ||
# Help make the title and message for commit and PR | ||
perl tools/scripts/modules/ini.pm acetao.ini --join ', ' '.*/version' > ../acevers | ||
echo "ACEVERS=$(cat ../acevers)" >> $GITHUB_ENV | ||
perl tools/scripts/modules/ini.pm acetao.ini --join ', ' '.*/url' > ../acevers_urls | ||
echo "ACEVERS_URLS=$(cat ../acevers_urls)" >> $GITHUB_ENV | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v5 | ||
id: cpr | ||
with: | ||
path: OpenDDS | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
commit-message: | | ||
Update ACE/TAO to ${{env.ACEVERS}} | ||
The releases are ${{env.ACEVERS_URLS}} | ||
committer: GitHub <[email protected]> | ||
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com> | ||
signoff: false | ||
branch: workflows/update-ace-tao | ||
delete-branch: true | ||
title: Update ACE/TAO to ${{env.ACEVERS}} | ||
body: "Releases: ${{env.ACEVERS_URLS}}" | ||
labels: | | ||
dependencies | ||
- name: Check outputs | ||
if: ${{ steps.cpr.outputs.pull-request-number }} | ||
run: | | ||
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" | ||
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}" |
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,29 @@ | ||
# This file contains the common info for ACE/TAO releases. Insead of editing | ||
# this directly, run: | ||
# GITHUB_TOKEN=... ./tools/scripts/gitrelease.pl --update-ace-tao | ||
|
||
[ace6tao2] | ||
version=6.5.20 | ||
url=https://github.com/DOCGroup/ACE_TAO/releases/tag/ACE%2BTAO-6_5_20 | ||
zip-filename=ACE+TAO-src-6.5.20.zip | ||
zip-url=https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-6_5_20/ACE%2BTAO-src-6.5.20.zip | ||
zip-md5=5050fb0a2b97ad32be553102bb85b5ce | ||
tar.gz-filename=ACE+TAO-src-6.5.20.tar.gz | ||
tar.gz-url=https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-6_5_20/ACE%2BTAO-src-6.5.20.tar.gz | ||
tar.gz-md5=10cd636115d7463d96dd1bcb645b8b36 | ||
tar.bz2-filename=ACE+TAO-src-6.5.20.tar.bz2 | ||
tar.bz2-url=https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-6_5_20/ACE%2BTAO-src-6.5.20.tar.bz2 | ||
tar.bz2-md5=2551d7d445456bcb316fe5e9a4b514ea | ||
|
||
[ace7tao3] | ||
version=7.1.2 | ||
url=https://github.com/DOCGroup/ACE_TAO/releases/tag/ACE%2BTAO-7_1_2 | ||
zip-filename=ACE+TAO-src-7.1.2.zip | ||
zip-url=https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-7_1_2/ACE%2BTAO-src-7.1.2.zip | ||
zip-md5=983581a5813331fc7597d1e5ec811e1c | ||
tar.gz-filename=ACE+TAO-src-7.1.2.tar.gz | ||
tar.gz-url=https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-7_1_2/ACE%2BTAO-src-7.1.2.tar.gz | ||
tar.gz-md5=efc1f6cdf976e59c7b6c55198bd1ee3b | ||
tar.bz2-filename=ACE+TAO-src-7.1.2.tar.bz2 | ||
tar.bz2-url=https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-7_1_2/ACE%2BTAO-src-7.1.2.tar.bz2 | ||
tar.bz2-md5=949c55575b4a5753e8457eb5b5562fac |
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.