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

Draft: publish Leap Micro 6.1 Vagrant boxes (Base and Default) #3197

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
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
12 changes: 12 additions & 0 deletions gocd/vagrant-publisher.gocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,15 @@ pipelines:
tasks:
- script: |
ruby obs-to-vagrantcloud.rb --url https://download.opensuse.org/distribution/leap/15.6/appliances/boxes/Leap-15.6.aarch64-libvirt_aarch64.json --organization opensuse --new-box-name Leap-15.6.aarch64
publish_Leap_Micro_6_1_Default_x86_64:
resources:
- staging-bot
tasks:
- script: |
ruby obs-to-vagrantcloud.rb --url https://download.opensuse.org/distribution/leap-micro/6.1/appliances/openSUSE-Leap-Micro.x86_64-Default-Vagrant.json --organization opensuse --new-box-name Leap_Micro_6.1_Default.x86_64
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That URL is wrong, it points to some SBOM json file

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ouch! You are of course correct. Looks like there is no boxes subdirectory for the Leap Micro 6.1 image.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could it be that we are missing an entry here:
https://build.opensuse.org/projects/openSUSE:Leap:Micro:6.1/prjconf

%if "%_repository" == "images"
Type: kiwi
Repotype: staticlinks
[...]

I think the Repotype should also contain vagrant, like here.

%if "%_repository" == "images"
Type: kiwi
Repotype: staticlinks vagrant
[...]

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added. I noticed that totest-manager was misconfigured and it didn't find the openQA jobs, I fixed that in the config. The next published snapshot should have the proper .json files again.

(CC @lkocman)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @Vogtinator!

(Fun question from when I was comparing prjconf's: Why is this not needed on devel:microos:images? My guess would be that there the images are published on another URL, hence everything is setup properly)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(Fun question from when I was comparing prjconf's: Why is this not needed on devel:microos:images? My guess would be that there the images are published on another URL, hence everything is setup properly)

Good question. It's possible that this is not actually caused by Repotype: vagrant but the custom OBS -> d.o.o sync script ("publish_distro") does something weird here.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lkocman When is the next snapshot supposed to be published?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Fabian, I was not sure if the releases are frozen as there are so few updates for Leap Micro (something Lubos mentioned a while back)...

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmm, OpenQA seems to be finished with the same result as 5.7, but I see no changed files. Apparently no new release was published.

publish_Leap_Micro_6_1_Base_x86_64:
resources:
- staging-bot
tasks:
- script: |
ruby obs-to-vagrantcloud.rb --url https://download.opensuse.org/distribution/leap-micro/6.1/appliances/openSUSE-Leap-Micro.x86_64-Base-Vagrant.json --organization opensuse --new-box-name Leap_Micro_6.1_Base.x86_64
2 changes: 2 additions & 0 deletions gocd/vagrant-publisher.gocd.yaml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ pipelines:
['https://download.opensuse.org/distribution/leap/15.5/appliances/boxes/Leap-15.5.aarch64-libvirt_aarch64.json', 'Leap-15.5.aarch64'],
['https://download.opensuse.org/distribution/leap/15.6/appliances/boxes/Leap-15.6.x86_64.json', 'Leap-15.6.x86_64'],
['https://download.opensuse.org/distribution/leap/15.6/appliances/boxes/Leap-15.6.aarch64-libvirt_aarch64.json', 'Leap-15.6.aarch64'],
['https://download.opensuse.org/distribution/leap-micro/6.1/appliances/openSUSE-Leap-Micro.x86_64-Default-Vagrant.json', 'Leap_Micro_6.1_Default.x86_64'],
['https://download.opensuse.org/distribution/leap-micro/6.1/appliances/openSUSE-Leap-Micro.x86_64-Base-Vagrant.json', 'Leap_Micro_6.1_Base.x86_64'],
].each do |url, box_name| %>
publish_<%= box_name.gsub('.', '_') %>:
resources:
Expand Down
Loading