Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #10 from ingrammicro/release/mirage
Browse files Browse the repository at this point in the history
Release/mirage
  • Loading branch information
jrguerrero authored Aug 12, 2022
2 parents 504f3cf + bd0dd7b commit df692ca
Show file tree
Hide file tree
Showing 20 changed files with 29 additions and 7 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

## v0.3.0 (August 12th, 2022)

* Replace chef-client packages with cinc-client ones v17.10.0 - [Issue IMCO-1215](https://jira.int.zone/browse/IMCO-1215)

## v0.2.0 (July 2nd, 2021)

* Add chef-client version 14.15.6-1 - [Issue IMCO-492](https://jira.int.zone/browse/IMCO-492)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.0
0.3.0
3 changes: 0 additions & 3 deletions chef-client/chef-client-14.10.9-1-x64.msi

This file was deleted.

3 changes: 0 additions & 3 deletions chef-client/chef-client-14.15.6-1-x64.msi

This file was deleted.

Binary file added cinc-client/debian/10/cinc_17.10.0-1_amd64.deb
Binary file not shown.
Binary file added cinc-client/debian/10/cinc_17.10.0-1_arm64.deb
Binary file not shown.
Binary file added cinc-client/debian/11/cinc_17.10.0-1_amd64.deb
Binary file not shown.
Binary file added cinc-client/debian/11/cinc_17.10.0-1_arm64.deb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added cinc-client/el/8/cinc-17.10.0-1.el8.aarch64.rpm
Binary file not shown.
Binary file added cinc-client/el/8/cinc-17.10.0-1.el8.x86_64.rpm
Binary file not shown.
24 changes: 24 additions & 0 deletions cinc-client/retriever.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/usr/bin/env ruby
version='17.10.0'
build='1'
default_archs = %w(arm64 amd64)
{
'el/7' => ['el/7', 'cinc-<version>-<build>.el7.<arch>.rpm', %w(aarch64 x86_64)],
'el/8' => ['el/8', 'cinc-<version>-<build>.el8.<arch>.rpm', %w(aarch64 x86_64)],
'debian/9' => ['debian/9', 'cinc_<version>-<build>_<arch>.deb', %w(amd64)],
'debian/10' => ['debian/10', 'cinc_<version>-<build>_<arch>.deb'],
'debian/11' => ['debian/11', 'cinc_<version>-<build>_<arch>.deb'],
'windows/2016' => ['windows/2016', 'cinc-<version>-<build>-<arch>.msi', %w(x64)],
'windows/2019' => ['windows/2019', 'cinc-<version>-<build>-<arch>.msi', %w(x64)],
'windows/2022' => ['windows/2022', 'cinc-<version>-<build>-<arch>.msi', %w(x64)],
'ubuntu/18.04' => ['ubuntu/18.04', 'cinc_<version>-<build>_<arch>.deb'],
'ubuntu/22.04' => ['ubuntu/22.04', 'cinc_<version>-<build>_<arch>.deb'],
'ubuntu/20.04' => ['ubuntu/20.04', 'cinc_<version>-<build>_<arch>.deb'],
}.each do |dir, (path, file_format, archs)|
dir = "#{%x(pwd).chomp}/#{dir}"
archs ||= default_archs
archs.each do |arch|
file = file_format.gsub('<version>', version).gsub('<build>', build).gsub('<arch>', arch.to_s)
puts "echo '#{dir} -> #{arch}' && mkdir -p #{dir} && curl 'http://downloads.cinc.sh/files/stable/cinc/17.10.0/#{path}/#{file}' >'#{dir}/#{file}' && echo && echo"
end
end
Binary file not shown.
Binary file not shown.
Binary file added cinc-client/ubuntu/20.04/cinc_17.10.0-1_amd64.deb
Binary file not shown.
Binary file added cinc-client/ubuntu/20.04/cinc_17.10.0-1_arm64.deb
Binary file not shown.
Binary file added cinc-client/ubuntu/22.04/cinc_17.10.0-1_amd64.deb
Binary file not shown.
Binary file not shown.

0 comments on commit df692ca

Please sign in to comment.