Skip to content

Commit

Permalink
Add prereleases Ionic branches (#88)
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
azeey authored Aug 22, 2024
1 parent 5c26fab commit 40cddaf
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 8 deletions.
2 changes: 1 addition & 1 deletion gzdev.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from docopt import docopt

if __name__ == '__main__':
args = docopt(__doc__, version='gzdev-core 0.1.0', options_first=True)
args = docopt(str(__doc__), version='gzdev-core 0.1.0', options_first=True)
cmd = args['<command>']
is_valid = {'ign-docker-env': True,
'repository': True}
Expand Down
42 changes: 37 additions & 5 deletions plugins/config/repository.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,98 +33,130 @@ projects:
type: stable
- name: osrf
type: nightly
# Use nightlies in all main branches
# Use prereleases and nightlies in Ionic main branches
- name: gz-cmake4
repositories:
- name: osrf
type: stable
- name: osrf
type: prerelease
- name: osrf
type: nightly
- name: gz-common6
repositories:
- name: osrf
type: stable
- name: osrf
type: prerelease
- name: osrf
type: nightly
- name: gz-msgs11
repositories:
- name: osrf
type: stable
- name: osrf
type: prerelease
- name: osrf
type: nightly
- name: gz-fuel-tools10
repositories:
- name: osrf
type: stable
- name: osrf
type: prerelease
- name: osrf
type: nightly
- name: gz-sim9
repositories:
- name: osrf
type: stable
- name: osrf
type: prerelease
- name: osrf
type: nightly
- name: gz-gui9
repositories:
- name: osrf
type: stable
- name: osrf
type: prerelease
- name: osrf
type: nightly
- name: gz-launch8
repositories:
- name: osrf
type: stable
- name: osrf
type: prerelease
- name: osrf
type: nightly
- name: gz-math8
repositories:
- name: osrf
type: stable
- name: osrf
type: prerelease
- name: osrf
type: nightly
- name: gz-physics8
repositories:
- name: osrf
type: stable
- name: osrf
type: prerelease
- name: osrf
type: nightly
- name: gz-plugin3
repositories:
- name: osrf
type: stable
- name: osrf
type: prerelease
- name: osrf
type: nightly
- name: gz-rendering9
repositories:
- name: osrf
type: stable
- name: osrf
type: prerelease
- name: osrf
type: nightly
- name: gz-sensors9
repositories:
- name: osrf
type: stable
- name: osrf
type: prerelease
- name: osrf
type: nightly
- name: gz-tools3
- name: gz-transport14
repositories:
- name: osrf
type: stable
- name: osrf
type: prerelease
- name: osrf
type: nightly
- name: gz-transport14
- name: gz-utils3
repositories:
- name: osrf
type: stable
- name: osrf
type: prerelease
- name: osrf
type: nightly
- name: gz-utils3
- name: sdformat15
repositories:
- name: osrf
type: stable
- name: osrf
type: prerelease
- name: osrf
type: nightly
- name: sdformat15

# Use nightlies in all main branches
- name: gz-tools3
repositories:
- name: osrf
type: stable
Expand Down
2 changes: 1 addition & 1 deletion plugins/ign-docker-env.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def normalize_args(args):
def main():
try:
ignition_version, linux_distro, docker_args, vol_args = normalize_args(
docopt(__doc__, version='gzdev-docker-env 0.1.0'))
docopt(str(__doc__), version='gzdev-docker-env 0.1.0'))
rocker_cmd = build_rocker_command(ignition_version, linux_distro, docker_args, vol_args)
_check_call(rocker_cmd)
except KeyError:
Expand Down
2 changes: 1 addition & 1 deletion plugins/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ def remove_all_installed():

def main():
try:
args = normalize_args(docopt(__doc__,
args = normalize_args(docopt(str(__doc__),
version='gzdev-repository 0.2.0'))
config = load_config_file()
validate_input(args)
Expand Down

0 comments on commit 40cddaf

Please sign in to comment.