Commit graph

224 commits

Author SHA1 Message Date
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