AvegaGroup / deploymentPipeline

deployment pipeline at AgilaSverige
5 stars 4 forks source link

maven3 installation on ci fails #4

Closed dmarell closed 10 years ago

dmarell commented 10 years ago

W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B9316A7BC7917B12 W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B9316A7BC7917B12 W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B9316A7BC7917B12 W: GPG error: http://ppa.launchpad.net precise Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B70731143DD9F856 ... The following NEW packages will be installed: maven3 0 upgraded, 1 newly installed, 0 to remove and 154 not upgraded. Need to get 0 B/5439 kB of archives. After this operation, 6281 kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! maven3 E: There are problems and -y was used without --force-yes

sennerholm commented 10 years ago

När får du detta?

Vad har du kört innan?

dmarell commented 10 years ago

Jag fick felet efter att ha avinstallerat maven3 och kört provisioning, väntade mig då att puppet skulle installera maven åt mig, men det är å andra sidan inget normalt driftsfall.

Nu när jag kör från scratch efter en vagrant destroy funkar det hela vägen upp, med Maven och utan en extra provision-vända. Jag trodde jag gjort det men tydligen inte. Vad bra!

Nu bygger jenkinsjobbet compile-and-test bortsett från sista committen när release-pluginen försöker tagga. Som väntat. Alltså funkar allt, right? Bara skönhetsfelen kvar då typ.

Den 18 februari 2014 21:25 skrev Mikael Sennerholm <notifications@github.com

:

När får du detta?

Vad har du kört innan?

Reply to this email directly or view it on GitHubhttps://github.com/AvegaGroup/deploymentPipeline/issues/4#issuecomment-35429294 .

jelmstrom commented 10 years ago

Uppdaterade manifestet så att maven installeras före filen kopieras.

apt::ppa { 'ppa:natecarlson/maven3': }
    package { 'maven3':
      ensure => present,
      provider => 'apt',
      before=> File["/usr/share/maven3/conf/settings.xml"],
      require => Apt::Ppa['ppa:natecarlson/maven3']
    }