Skip to content

Commit

Permalink
Remove collection related jobs from deprecated ignition_collection.dsl (
Browse files Browse the repository at this point in the history
#1145)

* Remove old brew jobs and broken colcon windows
* Add missing ionic in gazebo_libs

---------

Signed-off-by: Jose Luis Rivero <jrivero@osrfoundation.org>
Co-authored-by: j-rivero <j-rivero@users.noreply.github.com>
  • Loading branch information
j-rivero and j-rivero committed May 22, 2024
1 parent cf3b6de commit 9876e30
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 87 deletions.
5 changes: 5 additions & 0 deletions jenkins-scripts/dsl/gz-collections.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,10 @@ collections:
major_version: 8
repo:
current_branch: main
- name: gz-ionic
major_version: 1
repo:
current_branch: main
ci:
configs:
- noble
Expand Down Expand Up @@ -520,6 +524,7 @@ ci_configs:
exclude:
all:
- gz-harmonic
- gz-ionic
- __upcoming__
abichecker:
- gz-cmake
Expand Down
87 changes: 0 additions & 87 deletions jenkins-scripts/dsl/ignition_collection.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -62,25 +62,6 @@ void generate_install_job(prefix, gz_collection_name, distro, arch)
// Testing compilation from source
gz_collections_yaml.collections.each { collection ->
gz_collection_name = collection.name

if (! collection.packaging.exclude?.contains(gz_collection_name)) {
// DEBBUILD: linux package builder
// --------------------------------------------------------------
def build_pkg_job = job("gz-${gz_collection_name}-debbuilder")
OSRFLinuxBuildPkg.create(build_pkg_job)
build_pkg_job.with
{
steps {
shell("""\
#!/bin/bash -xe

/bin/bash -x ./scripts/jenkins-scripts/docker/multidistribution-ignition-debbuild.bash
""".stripIndent())
}
}
}


collection.ci.configs.each { ci_config_name ->
ci_config = gz_collections_yaml.ci_configs.find { it.name == ci_config_name }
distro = ci_config.system.version
Expand Down Expand Up @@ -153,74 +134,6 @@ gz_collections_yaml.collections.each { collection ->
""".stripIndent())
}
}

// COLCON - Windows
Globals.gazebodistro_branch = true
def gz_win_ci_job = job("ign_${gz_collection_name}-ci-win")
OSRFWinCompilation.create(gz_win_ci_job, false)
gz_win_ci_job.with
{
steps {
batchFile("""\
set IGNITION_COLLECTION=${gz_collection_name}
call "./scripts/jenkins-scripts/lib/ign_collection-base.bat"
""".stripIndent())
}
}
Globals.gazebodistro_branch = false

// MAC Brew CI job
// --------------------------------------------------------------
def gz_brew_ci_job = job("ignition_${gz_collection_name}-ci-main-homebrew-amd64")
OSRFBrewCompilation.create(gz_brew_ci_job, DISABLE_TESTS)
OSRFGitHub.create(gz_brew_ci_job,
"gazebosim/gz-${gz_collection_name}",
"main",
"ign-${gz_collection_name}")
gz_brew_ci_job.with
{
steps {
shell("""\
#!/bin/bash -xe

/bin/bash -xe
"./scripts/jenkins-scripts/lib/project-default-devel-homebrew-amd64.bash" "gz-${gz_collection_name}"
""".stripIndent())
}
}

// MAC Brew bottle install job
// --------------------------------------------------------------
def gz_brew_install_bottle_job = job("ignition_${gz_collection_name}-install_bottle-homebrew-amd64")
OSRFBrewInstall.create(gz_brew_install_bottle_job)

gz_brew_install_bottle_job.with
{
triggers {
cron('@daily')
}

def bottle_name = "ignition-${gz_collection_name}"

steps {
shell("""\
#!/bin/bash -xe

/bin/bash -x ./scripts/jenkins-scripts/lib/project-install-homebrew.bash ${bottle_name}
""".stripIndent())
}

publishers
{
configure { project ->
project / publishers << 'hudson.plugins.logparser.LogParserPublisher' {
unstableOnWarning true
failBuildOnError false
parsingRulesPath('/var/lib/jenkins/logparser_warn_on_mark_unstable')
}
}
}
}
}
}

Expand Down
2 changes: 2 additions & 0 deletions jenkins-scripts/dsl/logs/generated_jobs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,8 @@ install_ci ionic gz_fuel_tools10-install-pkg-jammy-amd64
install_ci ionic gz_fuel_tools10-install_bottle-homebrew-amd64
install_ci ionic gz_gui9-install-pkg-jammy-amd64
install_ci ionic gz_gui9-install_bottle-homebrew-amd64
install_ci ionic gz_ionic-install-pkg-jammy-amd64
install_ci ionic gz_ionic-install_bottle-homebrew-amd64
install_ci ionic gz_launch8-install-pkg-jammy-amd64
install_ci ionic gz_launch8-install_bottle-homebrew-amd64
install_ci ionic gz_math8-install-pkg-jammy-amd64
Expand Down

0 comments on commit 9876e30

Please sign in to comment.