File tree Expand file tree Collapse file tree 4 files changed +8
-2
lines changed
Expand file tree Collapse file tree 4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ before_install:
88 - gem update --system $RUBYGEMS_VERSION
99 - gem --version
1010 - bundle -v
11+ - echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
1112script :
1213 - ' bundle exec rake $CHECK'
1314bundler_args : --without system_tests
@@ -57,3 +58,7 @@ deploy:
5758 tags : true
5859 all_branches : true
5960 condition : " $DEPLOY_TO_FORGE = yes"
61+ env :
62+ global :
63+ - DOCKER_USERNAME=dodevopsdocker
64+ - secure : " BICZFuIFHECl1h8ilXbEo4Mt24H5Qt/r6U/DzBYYCpz+ktb+gcF+YZoalQ96+XImXMcBpOH1xEhX+N2wZkxjbyY3sUDOTA/j2fqdW1BQ5vJaYFs13vCxVE/GuGKCdQZ1FCWMBPw6B7ugeN6JBm3MWJGdB1dBcpgAmHxpZbvEFxjNM4Fnjh589cUrmiaZwadrdQoSPjw91giRFB9h7gGEEkEwyTGlDG53jYozTD+eKox0OPKxrvTNQbCN15kvv5KZsZoij2MikhFhMoMsmgCoaVCAj0tl5YFQYvaqHkA16PcINMehap3TctOGpH0MzBHzc/tE7dr7SAUMgfwUmMkJ4aNQAO/PnI5TK0USCOF4uClg/5g2DrqCq1YZJeyVzWjkTmmj+eAz84MSjZNszaYC+6O6L0omVFVKFEKShCsZzAqt/4Ygk/wGVJdjO7nffdOG7tAull64oq+3pF1aXNFgHoWIIIxOsmEgO9co2F9fBwjWF7nA3itWBiMFOU2HlF68Ks8mpzMLdPsQCYP/S7/rwmR0r2dSqcRWNctlcbF2Tq2QI+of+49+2DNyzMyDCzD0AaMcTTk4agwjKZuIUFfDb9Lej2A2dhu/Swk5nhY4sGjGnO3YCJsmWGazWlQ4vfRnPDg48MEuqn5/68KHKuJ4PiMXlnQ6yYm1GcqgGcH8yrc="
Original file line number Diff line number Diff line change 5656 Optional[Hash] $dependencies = undef ,
5757 Optional[String] $zypper_repo_url = undef ,
5858) {
59- if ($facts [' os' ][' family' ] == ' Suse' ) {
59+ if ($facts [' os' ][' family' ] == ' Suse' and $zypper_repo_url ) {
6060 zypprepo { 'ocsinventory-repo' :
6161 baseurl => $zypper_repo_url ,
6262 enabled => 1,
Original file line number Diff line number Diff line change 11{
22 "name" : " dodevops-ocsinventoryagent" ,
3- "version" : " 0.2 .0" ,
3+ "version" : " 0.3 .0" ,
44 "author" : " Dennis Ploeger" ,
55 "summary" : " Installs the OCS Inventory agent for linux" ,
66 "license" : " MIT" ,
Original file line number Diff line number Diff line change 55 on_supported_os . each do |os , os_facts |
66 context "on #{ os } " do
77 let ( :facts ) { os_facts }
8+ let ( :params ) { { 'zypper_repo_url' => 'https://example.com' } }
89
910 it { is_expected . to compile }
1011 # noinspection RubyResolve
You can’t perform that action at this time.
0 commit comments