Commit graph

296 commits

Author SHA1 Message Date
Matt Davis
980cdbe679 pin azure deps to exact versions
* added warnings for newer-than-expected versions
* prevent passing api_version and profile for newer clients
2018-06-05 18:50:48 -07:00
Matt Davis
70d85a659e fix RPM builds with placeholder CHANGELOG
* fails in devel because the changelogs/CHANGELOG*.rst docs fileglob comes up empty
2018-05-30 16:47:48 -07:00
Zim Kalinowski
dde48560fb fixing container instance sanity & integration tests (#40774) 2018-05-28 12:59:26 +08:00
Matt Davis
e4edb2842a 2.6 changelog gen/version/root dir cleanup (#40421)
* patched in changelog gen stuff from stable-2.5
* Makefile updates
* release.py as single-source-of-truth
* Remove obsolete ansible-core-sitemap.xml file.
* Move ROADMAP.rst into README.rst.
* dynamic rpm changelog, zap old deb/rpm changelogs
* fix changelog in MANIFEST.in
* Remove obsolete hacking/update.sh script.
* Remove ref to deleted authors script.
* Remove ref to removed module-formatter script.
* Update headings to match script names.
* MANIFEST.in cleanup
* removed RELEASES.txt and versions.yml
* removed obsolete release generation playbook/bits (not used since 2.5)
* misc Makefile cleanup
* speculative changes to DEB versioning
* allow override of DEB_VERSION/DEB_RELEASE
2018-05-21 16:14:53 -07:00
Sam Doran
02bc4c570f Remove python-keyczar dependency (#38534)
* Remove python-keyczar dependency

* Remove python-keyczare from Dockerfiles

* Revert "Remove python-keyczare from Dockerfiles"

This reverts commit 264be66ad8.
2018-05-17 13:53:33 -04:00
Sertaç Özercan
6e4a2b17de [new module] Managed Azure Container Service (AKS) (azure_rm_aks) (#35888)
* add aks module and integration tests

* linting

* update tests

* sanity check

* make some changes to AKS module

* make integration test work

* add fact

* add resource_group name

* add fact test

* fix test

* fix test

* linting

* changed line endings for facts

* output kubeconfig

* Update azure_rm_aks.py

* update integration test aliases

* update aliases

* add cloud_environment and auth_source to args

* Fix comments from Jborean93 (#3)

* update

* fix

* fix

* fix

* fix

* update doc

* fix
2018-05-16 16:08:27 -07:00
Matt Clay
32d786af65 Convert more http links to https. 2018-04-25 23:12:46 -07:00
Matt Clay
c262dbfd30 Use https for links to ansible.com domains. 2018-04-23 11:33:56 -07:00
Toshio Kuratomi
19a5f96a1a README.md was renamed. Fix deb build reference to the README 2018-04-11 11:22:50 -07:00
Stephen Weber
7afa34ae8a Convert README from Markdown to ReStructured Text and use as longdesc (#22330)
* Convert README from Markdown to ReStructured Text and use as longdesc

Discussion in #13758 led to deciding to switch README to rst and having
setup.py consume it as the long_description.

* Fix long string in setup.py for pep8 compliance

* Open README.rst as read-only

* Update usages of root README.md to README.rst

Unsure about the file ./packaging/debian/docs as it (only) contains the
text README.md. I believe it's referencing ./packaging/debian/README.md
but maybe someone who knows debian packaging could review it?

* Pick up fixes that had been merged into README.md after the initial conversion to rst
2018-04-06 12:38:40 -07:00
Toshio Kuratomi
73c80862c8 Update docs and version definitions for the 2.4.4 and 2.5.0 releases 2018-04-04 14:21:04 -07:00
Joseph Herlant
00a7ff7974 Move man pages generations to rst2man (#37861) 2018-03-26 16:28:28 -07:00
zikalino
503f907b63 fix container instance version 2018-03-22 20:34:27 -07:00
Grant Slater
e3192fb3a4 Use pycrypto backend, rather than python-cryptography, on Ubuntu Precise 2018-02-19 13:39:32 -08:00
Matt Davis
26f551d1c3
initial cutover to API profiles (#35538)
* hardcoded API profiles in azure_rm_common
* changed azure_rm_securitygroup module to use api_profiles, dynamic models, kwargs on all SDK methods
* changed azure_rm_containerinstance module to use api_profiles, dynamic models, kwargs on all SDK methods
* fixed polling performance issue in azure_rm_securitygroup (default poll interval was 30s)
2018-02-09 14:26:42 -08:00
Matt Davis
b6dc27249a bump devel to 2.6 2018-02-08 15:24:37 -08:00
Toshio Kuratomi
715b930fc8 Correct message about what files to double check for release 2018-01-31 13:32:08 -08:00
Toshio Kuratomi
b5abc69125 Update version in the versions.yml file
(cherry picked from commit c8941cb103)
2018-01-31 12:35:29 -08:00
Zim Kalinowski
7d05a86bbc [new module] Add Azure Container Instance support - cloud/azure/azure_rm_containerinstance (#32025)
* first dirty container instance

* added my name ;-)

* more updates

* more updates

* removed unnecessary stuff

* container instance updates

* several fixes

* undo changes in common

* removed unnecessary references, fixed delete

* added / updated parameters

* updated samples & comments

* updated docs, comments, samples and added registry credentials

* added ip address and port

* query existing container instance (but result not used yet)

* some major changes to the module

* more fixes

* added requirement for containerinstance module

* adding integration test

* fixes for pull request

* updated version

* updated version to 2.5

* updated version

* updated integration.cloud.azure.txt as requested by test framework

* removed due to merge reasons

* updated requirements-azure.txt

* undone azure-rm-common

* lf

* properly update test requirements

* first dirty container instance

* container instance updates

* several fixes

* review related updates

* review related fixes

* undo changes in common

* added / updated parameters

* query existing container instance (but result not used yet)

* updated version to 2.5

* updated version

* removed due to merge reasons

* updated requirements-azure.txt

* undone azure-rm-common

* properly update test requirements

* minor fix - sanity

* fix one issue after rebasing

* removed files accidentally added while rebasing

* removed checking for changes

* several fixes

* fixed sanity

* updates as requested by reviewers

* removed ci as it doesn't work

* reenabled ci

* renamed container instance, removed required: false

* removed default: null

* final updates according to the review

* one more fix

* first dirty container instance

* added my name ;-)

* more updates

* more updates

* removed unnecessary stuff

* container instance updates

* several fixes

* undo changes in common

* removed unnecessary references, fixed delete

* added / updated parameters

* updated samples & comments

* updated docs, comments, samples and added registry credentials

* added ip address and port

* query existing container instance (but result not used yet)

* some major changes to the module

* more fixes

* adding integration test

* fixes for pull request

* updated version

* updated version to 2.5

* updated version

* updated integration.cloud.azure.txt as requested by test framework

* removed due to merge reasons

* updated requirements-azure.txt

* undone azure-rm-common

* lf

* properly update test requirements

* review related updates

* first dirty container instance

* container instance updates

* several fixes

* review related fixes

* undo changes in common

* added / updated parameters

* query existing container instance (but result not used yet)

* updated version to 2.5

* updated version

* removed due to merge reasons

* updated requirements-azure.txt

* undone azure-rm-common

* properly update test requirements

* minor fix - sanity

* fix one issue after rebasing

* removed files accidentally added while rebasing

* removed checking for changes

* several fixes

* fixed sanity

* updates as requested by reviewers

* removed ci as it doesn't work

* reenabled ci

* renamed container instance, removed required: false

* removed default: null

* final updates according to the review

* one more fix

* changed location as default from resource group can't handle containers

* updates to container instance

* fixed mistakes during merge

* one more fix

* another mistake

* container instance fixes

* several fixes to container instance

* return value fix

* minor update

* just one api version right now

* fixed api version

* container instance does not suppurt api version

* removed unnecessary try blocks

* removed tags related things

* fixed pep8

* final fixes?

* final updates to the module

* more fixes
2018-01-17 10:05:45 +10:00
Zim Kalinowski
1a3db9377a [new module] adding azure_rm_postgresqlserver (#33569)
* adding azure_rm_postgresqlserver

* removed semicolon placed by mistake

* updates to azure_rm_postgresqlserver

* updates to azure_rm_postgresqlserver

* updates to azure_rm_postgresqlserver

* updates to azure_rm_postgresqlserver

* updates to azure_rm_postgresqlserver

* updates to azure_rm_postgresqlserver

* updates to azure_rm_postgresqlserver

* updates to azure_rm_postgresqlserver

* Updated dependencies
2018-01-10 14:39:26 +10:00
Yuwei Zhou
6d3fafa2d5 upgrade the azure storage version (#34442) 2018-01-04 08:23:15 -08:00
James Cammarata
3388999603 Adding 2.3.3 release date to release vars 2018-01-03 14:52:48 -06:00
Matt Davis
b91117dac8
azure_rm_containerservice (#33597)
* add acr

* acr

* acr

* fix a minor error

* add tests and fixes as suggested

* use get_mgmt_svc_client to enable bi

* fixes as zim suggested

* code refinement

* get acr instance before update

* fix a bug

* remove Classic sku as it's going to deprecate

* pass sanity test

* fix sanity

* fixes based on comments

* fix broken namespace unregistered error

* fix a bug

* fix a bug

* fix

* add register namespace

* fixes tests

* remove pdb

* add ci azure test

* removed required: false

* renamed acr -> containerregistry

* fixed spelling mistake

* fixed idempotence

* fix for idempotence was wrong

* fixed a few issues

* different log when exception different than ResourceNotFound

* self.fail instead of log

* updated sample return value

* added login server in results

* fixed else

* fixed line too long

* cmp -> __ne__

* fixed trailing whitespace

* output.changed is false when instance updated

* fix for state change

* one more update

* update instance only when location or sku has changed

* fixed syntax error

* fixed acr test

* just removed unnecessary comment to trigger ci

* update return value shape

* flatten `state`
* change credential dictionary state
* add credentials to integration tests
2017-12-06 20:30:28 -08:00
ZhijunZhao
8506b7bfdc Fix azure_rm_acs due to Azure breaking API change (#33221)
* Fix azure_rm_acs due to Azure breaking API change

* resolve code review feedbacks

* resolve test failures

* better name

* ignore case for vm size

* reformat code

* resolve code review feedbacks
2017-12-04 15:41:34 -08:00
Toshio Kuratomi
6e36354740 Update version numbers for the release 2017-11-29 12:12:44 -08:00
Matt Martz
4fe08441be Deprecate tests used as filters (#32361)
* Warn on tests used as filters

* Update docs, add aliases for tests that fit more gramatically with test syntax

* Fix rst formatting

* Add successful filter, alias of success

* Remove renamed_deprecation, it was overkill

* Make directory alias for is_dir

* Update tests to use proper jinja test syntax

* Update additional documentation, living outside of YAML files, to reflect proper jinja test syntax

* Add conversion script, porting guide updates, and changelog updates

* Update newly added uses of tests as filters

* No underscore variable

* Convert recent tests as filter changes to win_stat

* Fix some changes related to rebasing a few integration tests

* Make tests_as_filters_warning explicitly accept the name of the test, instead of inferring the name

* Add test for tests_as_filters_warning

* Update tests as filters in newly added/modified tests

* Address recent changes to several integration tests

* Address recent changes in cs_vpc
2017-11-27 17:58:08 -05:00
Toshio Kuratomi
d7d1402bb7 reverse order of release numbers 2017-10-25 13:23:46 -07:00
Toshio Kuratomi
14583e4f9d Update 2.4.1 release date 2017-10-25 12:41:59 -07:00
fantashley
2087dc7384 Make RPM spec compatible with RHEL 6 (#31653)
* Make RPM spec compatible with RHEL 6

* Define __python2 macro only when undefined
2017-10-16 09:19:53 -04:00
Matt Clay
614a53734c Fix Debian packaging Dockerfile and docs. 2017-10-13 15:07:02 -07:00
Matt Clay
8acb901bf2 Update Azure tests to limit cryptography version. (#31616)
* Revert "Work around cryptography 2.1 requiring pip 8.1.2+"

This reverts commit a10a80b8a3.

* Update Azure tests to limit cryptography version.
2017-10-11 19:18:16 -07:00
Matt Clay
a10a80b8a3 Work around cryptography 2.1 requiring pip 8.1.2+ 2017-10-11 16:23:44 -07:00
Rene van Aerle
95e1d91d5d Mention Ansible in package descriptions
These values are used by software updaters to show which applications
are being updates to the user. In the case of Ubuntu, it will now show
clearly that it is updating Ansible instead of a radically simple IT
automation platform.
2017-10-05 08:41:15 -07:00
Matt Clay
e167c9338c Avoid msrest version 0.4.15 for Azure modules.
This version has known regressions preventing modules such as
azure_rm_dnsrecordset from working.
2017-10-04 15:59:52 -07:00
Andreas Olsson
ba0b91b51b Remove git:// urls from docsite and from packaging (#30459)
It's almost always preferable to clone by way of https:// rather than
using the bare git:// protocol. Not only does https:// provide
stronger guarantees it also plays nicer with corporate proxies, etc.
2017-10-03 12:16:25 -07:00
Toshio Kuratomi
9f5cba84b8 Add 2.4.1 to packaging/release/vars/versions.yml 2017-09-27 20:50:47 -07:00
Toshio Kuratomi
b7b57a811a Set the release date.
(cherry picked from commit 8c20a2e600)
2017-09-18 19:55:31 -07:00
Toshio Kuratomi
b98220f63d Bump the versions now that devel is 2.5 2017-09-06 13:13:57 -07:00
Julien Stroheker
fe1153c0af Azure acs module (azure_rm_acs.py) (#28522)
* Adding acs module

* linter issue

* Reduce the VM Size for the int. tests

* Short the name of the cluster

* Fixing the asserts and title

* Fixing VM Scale count in int. tests

* Changing the location of the tests

* trying eastus2

* disabling acs CI tests until stabilized
2017-08-29 17:59:38 -07:00
Matt Clay
caf8bbf3bd Add Azure support to ansible-test. (#28092)
* Initial Azure cloud testing support.
* Add missing Azure requirements.
* Fix test handling of setup and requirements.
* Update Azure cloud plugin.
* Add setup_azure role for integration tests.
* Update minimal Azure integration test sample.
2017-08-11 17:33:39 -07:00
Toshio Kuratomi
ef953cb415 Fix for broken azure requirements
Older setuptools does not understand ~= versioning.  Guess at a range
that could be compatible to unbreak CI.
2017-08-11 09:42:16 -07:00
Thomas Stringer
e4cd899363 Add support for Azure 2.0.0 (#27920)
* Adapt azure_rm_resource_group to azure 2.0.0 + azure Cli support

* Fix exceptions in Azure ARM plugins

* update azure_rm_networkinterface documention to reflect required params

* change state param to not required for docs in azure_rm_subnet

* fix import to reflect azure==2.0.0 changes

* add aliases and fix docs for azure_rm_storageblob

* add resource_group_name alias to azure_rm_storageaccount_facts

* fix import bug due to change in azure==2.0.0

* fix args bug and enum modules issue

* update docs to reflect azure==2.0.0

* pin management clients to a specific api_version

* update docs to reflect the new azure-ansible-base python package

* add fallback for older api resource group listing

* rework azure dependencies installation

* refactor path joining to a cross-plat solution
2017-08-11 08:22:02 -07:00
James Cammarata
be8e5f8391 Updating RELEASES and packaging vars for 2.3.2 final release 2017-08-04 15:20:41 -05:00
Matt Clay
b54d00f2de Update RPM spec and make targets. (#27712) 2017-08-03 12:35:37 -07:00
James Cammarata
622ea7ca62 Change default answer in release.yml to "no" for submodules
Since releases on 2.2 and prior are few and far between, it makes more
sense to set the default to "no" for 2.3+ now.
2017-08-01 18:50:21 -05:00
Graham Mainwaring
cde36b883c Fix pycrypto backend setting to work when multiple distros are specified in DEB_DIST 2017-07-13 12:13:54 -07:00
Graham Mainwaring
cf01068f53 Use pycrypto backend, rather than python-cryptography, on Ubuntu Trusty 2017-07-12 08:53:21 -07:00
James Cammarata
cfa8bb4255 Updating release vars versions for 2.3.1 and 2.1.6 2017-06-05 10:05:41 -05:00
James Cammarata
409fe1a3c3 Add prompt to release playbook regarding completion of CHANGELOG edits 2017-05-11 16:28:07 -05:00
James Cammarata
192606c592 Updating version vars for releases 2017-05-09 09:45:33 -05:00
James Cammarata
e9703bd68a Adding 2.3.0 release date to release vars versions 2017-04-12 08:54:19 -05:00
James Cammarata
691fbf623f Updating release vars with correct dates for 2.1.5/2.2.2 2017-03-27 16:14:41 -05:00
James Cammarata
cb6baaa1f6 Updating packaging release version yaml 2017-03-27 16:14:41 -05:00
Robin Schneider
3700bcb6dd Use HTTPS instead of legacy HTTP for ansible.com (#16870)
Mechanical edit done by this "one-liner":

```Shell
git ls-files -z "$(git rev-parse --show-toplevel)" | xargs --null -I '{}' find '{}' -type f -print0 | xargs --null sed --in-place --regexp-extended 's#http://(www\.|galaxy\.|)ansible\.com#https://\1ansible.com#g;'
```

Related to: https://github.com/ansible/ansible/issues/16869
2017-02-15 16:09:33 -08:00
James Cammarata
3ee3e3b5a8 Updating packaging releases 2017-01-16 13:06:09 -06:00
Ryan Brown
a2b4ad9da0 (docs) Remove/update mentions of git submodule in docs and error me… (#19941)
* (docs) Remove/update mentions of `git submodule` in docs and error messages.

* Remove parenthetical per @dharmabumstead
2017-01-09 12:11:39 -05:00
Toshio Kuratomi
0b440a9289 Code smell test for iteritems and itervalues (#19292)
* Code smell test for iteritems and itervalues

* Change the keydict object in authorized_keys so it doesn't throw a false postive

keydict is a bad data structure anyway.  We don't use the iteritems and
itervalues methods so just disable them so that the code-smell tests do
not trigger on it.

* Change release templates so they work with py3
2016-12-14 12:16:16 -08:00
Matt Clay
cd47cb2a15 Remove remnants of obsolete fireball mode. 2016-12-09 16:56:34 -07:00
James Cammarata
b38b408f19 Updating release playbook to conditionally use submodules 2016-12-08 11:35:19 -05:00
James Cammarata
3cdb9b228a Updating release versions for release playbook 2016-11-04 14:27:08 -05:00
James Cammarata
9646569172 Updating release versions 2016-11-03 09:27:20 -05:00
Shane McDonald
4ae0d5b843 Build debs with pbuilder (#18165)
* Build debs with pbuilder
* Update README in packaging/debian
* Add Dockerfile for building debs
* Add local_deb makefile target - Allows users to build debs using locally installed dependencies. This was the `deb` target before moving to pbuilder.
2016-10-26 14:24:15 -07:00
Loïc
0a60cceaf0 Debian need build-essential package to build deb package (#18068)
* Need build-essential package

* dpkg-dev is useless: it is a dependency of build-essential
2016-10-20 22:52:13 -04:00
Bill Nottingham
77e7ae6838 Change <support@ansible.com> - it's being retired. 2016-10-15 16:42:13 -07:00
James Cammarata
78a02555e5 Updating CHANGELOG and release versions for 2.1.2 2016-10-03 09:31:12 -05:00
James Cammarata
507700e42c Officially naming the 2.2 release "The Battle of Evermore" 2016-09-20 13:51:14 -05:00
James Cammarata
a9b725aa10 Updating packaging vars for new version 2.1.1 2016-08-03 15:48:14 -05:00
James Cammarata
a6840b940b Updating release playbook
* Now generates SHA file for tar.gz too
2016-08-03 15:48:14 -05:00
James Cammarata
3d7a7c1612 Add RELEASE.tmpl for releases and tweak release playbook 2016-07-08 12:59:41 -05:00
James Cammarata
60ef91aae7 Fixing up release playbook based on new location 2016-07-08 10:08:39 -05:00
James Cammarata
eeea6b5f54 Tweaking release vars file format and structure 2016-07-07 09:39:13 -05:00
Brian Coca
940533762d reorganized release playbook
moved versions into it's own file to keep the main play more readable
2016-07-07 09:45:36 -04:00
Evgeni Golov
0cdbc8b48d backwards compat for python-support on old Debian/Ubuntu releases 2016-03-18 11:07:23 +01:00
Evgeni Golov
de2fe08d9f update README.md 2016-03-17 18:28:23 +01:00
Evgeni Golov
3fd74890d3 migrate to dh-python 2016-03-17 18:26:54 +01:00
Evgeni Golov
f10de91e7f moden apt can install local debs with dependencies just fine 2016-03-17 18:06:42 +01:00
James Cammarata
cf27cf0a9e Updating RELEASES/etc. for devel
[ci skip]
2016-03-10 14:16:28 -05:00
Toshio Kuratomi
6c0b4bc56e Add python-setuptools to the requirements for running ansible as
python-setuptools contains the egginfo needed to make pkg_resources
work.
2016-01-13 17:24:47 -08:00
Brian Coca
2a33a13a20 updated port version 2015-12-02 16:44:57 -08:00
Laurent Vallar
fbe84d7fb2
Add missing xsltproc in Debian packaging README
fix #13140
2015-11-12 16:08:51 +01:00
Laurent Vallar
ddefff5be0
Add missing docbook-xml in Debian packaging README
fix #13139
2015-11-12 15:59:53 +01:00
James Cammarata
cc27fc368a Debian packaging updates
Fixes #13040
2015-11-06 15:51:17 -05:00
James Cammarata
297aaeac2d Backporting version release stuff from stable-1.9 2015-10-09 22:39:59 -04:00
Toshio Kuratomi
fab0e49f31 Potential fix for amazon linux's rpm doing something strange with the python_sitelib macro #12166 2015-09-06 09:08:34 -07:00
Brian Coca
4be1187fe6 much needed update to port makefile 2015-08-31 20:34:20 -04:00
Toshio Kuratomi
300eb3a843 Add six as a dependency for packaging 2015-06-02 11:43:35 -07:00
James Cammarata
ba822ce0f9 Backporting release info/changelog stuff to devel 2015-05-05 10:28:43 -05:00
James Laska
bbc05a2cf5 Improve generation of debian changelog 2015-04-09 09:30:56 -04:00
James Cammarata
2244178c6d Updating debian packaging changelog for devel 2.0 version 2015-04-06 14:09:49 -05:00
kristous
e964439b99 Update README.md
to get debuild you need to install devscripts
2015-03-27 07:47:20 +01:00
Matthieu Caneill
1b11e45f3c doc: building debian package: 'asciidoc' is a required dependency 2015-03-25 16:34:07 +01:00
Toshio Kuratomi
4f5ca4bb4c Update the packaging files through the 1.8.4 release 2015-03-03 09:17:19 -08:00
Justin Lecher
9b591d293e
Ansible is available in the main Gentoo repository
Signed-off-by: Justin Lecher <jlec@gentoo.org>
2014-12-02 08:42:49 +01:00
James Cammarata
75d05168e6 Bumping files for 1.9 2014-11-25 16:49:45 -06:00
Michel Blanc
ce58706dd0 Fixes Arch PKGBUILD
Build was failing with new Ansible submodule setup for core and extras
modules.
Integrated fix from @firecat53
Added @firecat53 to contributors.
2014-10-08 10:41:29 +02:00
James Laska
a0fecd6101 Fix packaging to work with new module location
Changes include:
 * Remove references to old module dir from .spec
 * Use setuptools find_packages find all ansible packages
2014-09-29 10:22:15 -04:00
Michael DeHaan
ae2d198342 Remove install references to library/ 2014-09-29 08:46:35 -04:00
James Cammarata
86edd0381c Adding in docs updates for 1.7.2 release 2014-09-24 15:53:36 -05:00
James Laska
6c3999b898 Make debuild happy by including a date in debian/changelog
The previous commit resolved the debian build problem, but was building
packages with the stable version.  A development version is required in
the changelog to properly build development DEB packages.
2014-08-07 08:38:23 -04:00
James Laska
c98456a73d Fix debian builds by correcting debian/changelog
Remove 1.8 debian/changelog entry with a date of "TBD" as this causes
the debian build process to fail.  We can add this back with the 1.8
release becomes a reality, or add it back now with a valid date in the
future.
2014-08-07 08:18:34 -04:00