Skip to content

Commit

Permalink
Merge pull request #995 from gazebo-tooling/azeey/rendering_sdformat_…
Browse files Browse the repository at this point in the history
…stable

Use stable branches for gz-rendering and sdformat
  • Loading branch information
iche033 authored Aug 29, 2023
2 parents d60ee56 + 3e6c506 commit 8f7ee4c
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 15 deletions.
4 changes: 2 additions & 2 deletions jenkins-scripts/dsl/gz-collections.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ collections:
- name: gz-rendering
major_version: 8
repo:
current_branch: main
current_branch: gz-rendering8
- name: sdformat
major_version: 14
repo:
current_branch: main
current_branch: sdf14
- name: gz-fuel-tools
major_version: 9
repo:
Expand Down
5 changes: 2 additions & 3 deletions jenkins-scripts/dsl/ignition.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,10 @@ gz_branches = [ 'cmake' : [ '3' ],
'gui' : [ '7' ],
'launch' : [ '6' ],
'math' : [ '7' ],
'msgs' : [ '9', '10' ],
'msgs' : [ '9', '10'],
'physics' : [ '6' ],
'plugin' : [ '2' ],
'rendering' : [ '7' ],
'rendering' : [ '7' , '8'],
'sensors' : [ '7' ],
'sim' : [ '7' ],
'tools' : [ '2' ],
Expand All @@ -87,7 +87,6 @@ gz_extra_debbuild = [ 'gui8',
'fuel-tools9',
'launch7',
'physics7',
'rendering8',
'sensors8',
'sim8',
'transport13',
Expand Down
12 changes: 6 additions & 6 deletions jenkins-scripts/dsl/ignition_collection.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ gz_collection_jobs =
'ign_msgs-gz-10-win',
'ign_physics-gz-6-win',
'ign_plugin-gz-2-win',
'ign_rendering-ci-win',
'ign_rendering-gz-8-win',
'ign_sensors-ci-win',
'ign_tools-gz-2-win',
'ign_transport-gz-13-win',
Expand All @@ -299,7 +299,7 @@ gz_collection_jobs =
'gz_msgs-ci-gz-msgs10-jammy-amd64',
'gz_physics-ci-gz-physics6-jammy-amd64',
'gz_plugin-ci-gz-plugin2-jammy-amd64',
'gz_rendering-ci-main-jammy-amd64',
'gz_rendering-ci-gz-rendering8-jammy-amd64',
'gz_sensors-ci-main-jammy-amd64',
'gz_sim-ci-main-jammy-amd64',
'gz_tools-ci-gz-tools2-jammy-amd64',
Expand All @@ -316,14 +316,14 @@ gz_collection_jobs =
'ignition_msgs-ci-gz-msgs10-homebrew-amd64',
'ignition_physics-ci-gz-physics6-homebrew-amd64',
'ignition_plugin-ci-gz-plugin2-homebrew-amd64',
'ignition_rendering-ci-main-homebrew-amd64',
'ignition_rendering-ci-gz-rendering8-homebrew-amd64',
'ignition_sensors-ci-main-homebrew-amd64',
'ignition_tools-ci-gz-tools2-homebrew-amd64',
'ignition_transport-ci-gz-transport13-homebrew-amd64',
'ignition_utils-ci-gz-utils2-homebrew-amd64',
'sdformat-ci-main-jammy-amd64',
'sdformat-ci-main-homebrew-amd64',
'sdformat-sdf-main-win'
'sdformat-ci-sdformat14-jammy-amd64',
'sdformat-ci-sdformat14-homebrew-amd64',
'sdformat-sdf-14-win'
],
]

Expand Down
8 changes: 6 additions & 2 deletions source-repo-scripts/merge_forward_pull_request.bash
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ fi

set -e

CURRENT_BRANCH=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p')
LOCAL_BRANCH=$(git rev-parse --abbrev-ref HEAD)
REMOTE_BRANCH=$(git rev-parse --abbrev-ref HEAD@{upstream})
REMOTE=${REMOTE_BRANCH/\/$LOCAL_BRANCH/}
CURRENT_BRANCH="${REMOTE}:${LOCAL_BRANCH}"

ORIGIN_URL=$(git remote get-url origin)
ORIGIN_ORG_REPO=$(echo ${ORIGIN_URL} | sed -e 's@.*github\.com.@@' | sed -e 's/\.git//g')
Expand All @@ -58,4 +61,5 @@ gh pr create \
--repo "$ORIGIN_ORG_REPO" \
--base "$TO_BRANCH" \
--body "$BODY" \
--head "$CURRENT_BRANCH"
--head "$CURRENT_BRANCH" \
--web
8 changes: 6 additions & 2 deletions source-repo-scripts/release_pull_request.bash
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,10 @@ fi

set -e

CURRENT_BRANCH=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p')
LOCAL_BRANCH=$(git rev-parse --abbrev-ref HEAD)
REMOTE_BRANCH=$(git rev-parse --abbrev-ref HEAD@{upstream})
REMOTE=${REMOTE_BRANCH/\/$LOCAL_BRANCH/}
CURRENT_BRANCH="${REMOTE}:${LOCAL_BRANCH}"

ORIGIN_URL=$(git remote get-url origin)
ORIGIN_ORG_REPO=$(echo ${ORIGIN_URL} | sed -e 's@.*github\.com.@@' | sed -e 's/\.git//g')
Expand Down Expand Up @@ -73,4 +76,5 @@ gh pr create \
--repo "$ORIGIN_ORG_REPO" \
--base "$TO_BRANCH" \
--body "$BODY" \
--head "$CURRENT_BRANCH"
--head "$CURRENT_BRANCH" \
--web

0 comments on commit 8f7ee4c

Please sign in to comment.