From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leon Romanovsky Subject: Re: [PATCH rdma-core V1 2/2] travis: Upload assets to github release Date: Mon, 30 Jan 2017 22:19:53 +0200 Message-ID: <20170130201953.GM6005@mtr-leonro.local> References: <20170130062316.16268-1-leon@kernel.org> <20170130062316.16268-3-leon@kernel.org> <20170130170956.GC29502@obsidianresearch.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="1QGDfz3Tkbtkncdd" Return-path: Content-Disposition: inline In-Reply-To: <20170130170956.GC29502-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org> Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jason Gunthorpe Cc: dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org, linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-rdma@vger.kernel.org --1QGDfz3Tkbtkncdd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Jan 30, 2017 at 10:09:56AM -0700, Jason Gunthorpe wrote: > On Mon, Jan 30, 2017 at 08:23:16AM +0200, Leon Romanovsky wrote: > > > + # Deploy assets to Github releases > > + # https://docs.travis-ci.com/user/deployment/releases/ > > + provider: releases > > + api_key: > > + # This is encrypted OAth token generated by > > + # Travis CLI tool (travis setup releases) limited to specific repo. > > + secure: G9sQd578nctgaety6f27P4p5nyrEgXdvMs1g+K2Hj7GPWxBpQ1Jm7kUlahcwfnYXpYqXen9b2dzyGzaLxjLL5rv6rbtOYp9SVrvybQrnJwkB0HCERKVMwEPsLPOB2lMouBDfk4+iUGdxtcw8Y5UU/xqKcAjkHkM5YpF5HauEX1Jj+Ep/XpX5DEcsVmFwkDgPKJOZv/eUgz1eVtXNFIvmSwJ+QuuUz64JpEpKMY4u7bFu0+2qWqACj19P/Rnufxpr+o5yoCuVNVptoRHMIWJiWZsrd2IhmL3knBoPoxNXSOWqQCK6DCW1KYOOVVAfFoD4YWhWrt6MuB3hh7lgLkS0rsdG9+iMlosl4SOkWZF8ZTkmrmtt6yx+s18tFdNI46QKzaA4wS/1hktweIFizYvmEwUCU8sNK5y9PMfDoGJGwiF1FzWrnLItKMiib0sTGO4Umgc0DKTazVRlIJYooOOOnBGubRudNx3elBTy4C/txSmqR39/6GYlvcyUDJMqB/oQJj2erQ5Gu8VykW5zjko6+3miX3C7GFVQ781BLxAdyNl4WRjZ9ibzjMbK3MC7f0ho1hST6cvBBmy2UnIdvB6zMayHZ/gtXKsDqE386k5FwSuTLT2V7942uFRVJiEwhVmgmBzbZND7PTj4s9GPrL2HLlJOgZooRZdx/ZcT/YNPFbA= > > So this is a restricted oauth token for your github account then? It is encrypted token, you can't use it without knowing how to decrypt it. https://docs.travis-ci.com/user/encryption-keys/ https://docs.travis-ci.com/user/environment-variables/#Encrypted-Variables > > You are comfortable with this? I'm fine with that. > > > +if [[ $TRAVIS_TAG == v* ]] && [ "$TRAVIS_OS_NAME" = "linux" ]; then > > + # Let's create release for vX tags only. > > + git archive --prefix rdma-core/ --output rdma-core-$TRAVIS_TAG.tar.gz HEAD > > Should be > > --prefix rdma-core-$TRAVIS_TAG/ > > I think.. I have no opinion about that, because I'm not going to use this tar.gz file. > > Jason --1QGDfz3Tkbtkncdd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkhr/r4Op1/04yqaB5GN7iDZyWKcFAliPn+kACgkQ5GN7iDZy WKc/zxAAw7CrpwXm4mhiYMAWNGs142ZOzH9xv5Fn3wjXBUVH8OauOrQmTbjbsLgs AHeXn66pufXGrfSPaP/JJl5VlF8QfUAVCsqqB++wJ9IMI2ATr5Dv5tNNG8PmaS81 /PCN7OXKY2si4+l2S9lCb1p2l+T8GVM8Wiy/kZP05QWck4Fa/UKKxkFQDD886cH8 ImRs4bMAMbAlj+VTarW+IEhYHbI9uPPa6Fa1+QnjKRy80DqKt8JIpoZ2GGhUkuBi s821tDG+pk/IFZdN3GU8kGvPQY64w6h42JqzysHYlSkayJ3TwxZMxyK/BxYsX9Ew qKMv+6Zupj/mtty/1xHs3Xa2ooxdWxPjrA2wy4vS8vR4XbVB3TrdR/qLxxxrtpeD ec9x0JhxRsuRbXzSxzcDSAjP6G2Tpw3SbtcHdXkDIkcjUyRnscgbT550AgFnLkuz JaH+JM2s/gUx82oJa2cU31+U3994y4KEfpNX/vgaTUTXetOf1rT5cmCxxyOmheFM VQy0YA6b7j3F89Va9G6CisFWoit+HClUipOoEL1RMqzbI2TmUDqLKnkewIIndrws AJjdAuw3kMwL+7hmuJT1Mdtw8nanqne3udpHZF85WnBibSwyGFzxllS3CvqiD5CR LOONkQQRmHbdv+pqjC0/rIziUAS138uGmJBUv55A98wKDkWTu1U= =s7Tg -----END PGP SIGNATURE----- --1QGDfz3Tkbtkncdd-- -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html