Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

cicd

This directory contains a settings.xml + script file that can be used to deploy to the SonaType OSS repository from a Travis CI build.

The full instructions are here: http://knowm.org/configure-travis-ci-to-deploy-snapshots/

gpg

documentation

expiration date of current keys: 2021-11-28

issues with outdated openssl version in travis-ci (30.11.2019)

-> docker ruby image (ruby 2.6.5p114) uses openssl 1.1.1d; travis-ci uses openssl 1.0.2g -> preferred command would be "openssl enc -e -v -iter 3 -aes-256-cbc -pass pass:$ENCRYPTION_PASSWORD -in ./xxx.gpg -out xxx.gpg.enc" two issues:

steps to create / renew pubring.gpg.enc + secring.gpg.enc

run docker image

  • docker run --rm -it --mount type=bind,src=D:\Users\joerg2\Daten\java\git\GCViewer\cicd\gpg,dst=/usr/gpg ruby/travis /bin/bash
  • cd /usr/gpg

create private + public key

encrypt keys

  • export ENCRYPTION_PASSWORD=
  • openssl enc -e -v -aes-256-cbc -md sha1 -pass pass:$ENCRYPTION_PASSWORD -in ./pubring.gpg -out ./pubring.gpg.enc
  • openssl enc -e -v -aes-256-cbc -md sha1 -pass pass:$ENCRYPTION_PASSWORD -in ./secring.gpg -out ./secring.gpg.enc