Commit Graph
100 Commits
Author SHA1 Message Date
Shane McDonald 6ba053d4ee Update release date in changelog for 19.2.1 2021-06-17 14:39:39 -04:00
Shane McDonald 03e73156ea Allow inventory updates to run in container groups 2021-06-16 17:11:43 -04:00
Shane McDonald d1d3711fee Add yamllint to dev dependencies 2021-06-16 15:41:09 -04:00
Shane McDonald d671366cad Add flake8 back to requirements_dev.txt 2021-06-16 15:41:08 -04:00
Shane McDonald f9043864ce Create make target for api linter tasks 2021-06-16 15:41:08 -04:00
Shane McDonald 188f0417d2 Fix typo 2021-06-14 13:38:41 -04:00
Shane McDonald d38401fd18 Bump version to 19.2.1 2021-06-14 12:32:20 -04:00
Shane McDonald dadf8940cc Remove outdated info from changelog 2021-06-14 12:32:10 -04:00
Shane McDonald 301d7a02c2 Update README.md 2021-06-09 17:21:39 -04:00
Shane McDonald 81e6ead99c Update README.md 2021-06-09 17:20:44 -04:00
Shane McDonald f882ac420d Fix tests 2021-06-09 13:48:23 -04:00
Shane McDonald 373cd9c20b Remove usage of AWXReceptorJob in metadata.py 2021-06-09 13:48:23 -04:00
Shane McDonald 673afdf1b5 Only install ansible-core for collection tests
Faster!
2021-06-09 13:48:23 -04:00
Shane McDonald 070034047c Merge pull request #10377 from kdelee/control_plane_ee
Break out control plane EE as its own thing
2021-06-08 17:25:01 -04:00
Shane McDonald 3063073395 Merge pull request #9980 from fosterseth/fix_t4958_rename_collection
Rename awx_collection modules
2021-06-08 15:12:04 -04:00
Shane McDonald 023cc68ba2 Surface default instance group names in /api/v2/settings/all 2021-06-07 12:22:58 -04:00
Shane McDonald ec8ac6f1a7 Introduce distinct controlplane instance group 2021-06-07 11:25:59 -04:00
Shane McDonald d3b20e6585 Merge pull request #10362 from shanemcd/runner-alpha-5
Bump to Ansible Runner alpha 5 release
2021-06-04 16:51:19 -04:00
Shane McDonald 239f20ede5 Bump to Ansible Runner alpha 5 release 2021-06-04 12:22:53 -04:00
Shane McDonald 137fedfc9b Rename custom venv export command and add usability tweaks
- Uses a positional argument instead of a named arg
- More helpful output
2021-06-04 09:11:21 -04:00
Shane McDonald 256a47618f Ignore awx venv
- General usability / readibility improvements
2021-06-04 09:11:20 -04:00
Shane McDonald 5adfacba64 Merge pull request #10321 from kdelee/management_cmd_ee_creds
Create default EE in seperate awx-managment cmd
2021-06-02 18:37:52 -04:00
Shane McDonald 52eeace20f Register default EEs when booting dev env 2021-06-02 18:19:41 -04:00
Shane McDonald 223c5bdaf6 Tweaks to register_default_execution_environments command
- The credential will always be updated. I dont think we want to decrypt the password here for comparison
- Preserve newlines in help text
2021-06-02 16:26:58 -04:00
Shane McDonald 64bd49da16 Delete dependabot.yml 2021-06-01 09:19:33 -04:00
Shane McDonald cabc60792b Bump version and update for 19.2.0 2021-06-01 08:18:21 -04:00
Shane McDonald 63d702d1aa Bump receptor and receptorctl 2021-05-25 11:58:10 -04:00
Shane McDonald afa3501194 Use base image from quay.io/centos/centos 2021-05-11 16:24:59 -04:00
Shane McDonald 1ad561c307 Fix CSP error on Safari
This was causing:

```
[Error] Refused to execute a script because its hash, its nonce, or
'unsafe-inline' does not appear in the script-src directive of the Content
Security Policy. (migrations_notran, line 16)
```
2021-05-03 17:12:30 -04:00
Shane McDonald 929ed3e09d Merge pull request #10074 from shanemcd/bump-19.1.0
Bump changelog and version files for 19.1.0
2021-05-01 07:56:47 -04:00
Shane McDonald f83a005038 Bump changelog and version files for 19.1.0 2021-05-01 07:43:01 -04:00
Shane McDonald f94db36273 Forcibly ensure that the correct ansible-runner command is used for CG pods 2021-04-30 12:34:26 -04:00
Shane McDonald 77c573d64a Fix bug where incorrect EE was being used for Container Group pods 2021-04-30 12:21:03 -04:00
Shane McDonald 0badc2fff7 Explicitly set args for container group pods
A user may try to use an EE that does not have the custom entrypoint script used
by the default AWX EE
2021-04-30 12:16:52 -04:00
Shane McDonald 8374b41e21 Improve error handling / display when Ansible Runner errors 2021-04-27 14:20:27 -04:00
Shane McDonald 0cbfd1129f Update to AWX EE 0.2.0 2021-04-23 14:32:42 -04:00
Shane McDonald 208bde6215 Update to Runner 2.0.0 alpha 2 2021-04-23 14:32:30 -04:00
Shane McDonald 146fb720db Stop installing kubectl/oc
These are no longer needed with Container Groups v2 under Receptor
2021-04-23 09:15:15 -04:00
Shane McDonald 27c15caddd Allow users to set password policies via AUTH_PASSWORD_VALIDATORS 2021-04-22 18:13:36 -04:00
Shane McDonald cfc8b485ee Fix linter 2021-04-21 17:48:21 -04:00
Shane McDonald 21c493724c Remove resource profiling feature 2021-04-21 17:47:45 -04:00
Shane McDonald 658543c0fd Fix up some test fallout 2021-04-21 17:40:43 -04:00
Shane McDonald 17b8589ff2 Add option for ignoring tls on Container Registry credentials 2021-04-21 16:28:13 -04:00
Shane McDonald bcf911daf1 Fix permission assignment on rendered registry auth files
- This file shouldnt need the executable bit
- Should have been setting permissions before writing any data
- No need to close the file since we're using open w/ a context manager
2021-04-21 16:03:11 -04:00
Shane McDonald edaec8dfbb Stop instructing folks to install from devel 2021-04-21 13:22:03 -04:00
Shane McDonald 7fd5a4e79a Fix issue where ad-hoc commands for multiple hosts ran on single host 2021-04-21 12:41:51 -04:00
Shane McDonald e30b4ca875 Dont reap pods when settings.RECEPTOR_RELEASE_WORK = False 2021-04-19 09:06:23 -04:00
Shane McDonald 4a62932ecd Store auth.json is pdd_wrapper directory 2021-04-13 11:54:43 -04:00
Shane McDonald 5df50066a6 Update version and changelog for version 19 2021-04-07 12:29:34 -04:00
Shane McDonald 2d48b24ef2 Update pod reaper to work with receptor launched pods 2021-04-05 17:45:15 -04:00
Shane McDonald 6294ddfded AWX_CONTAINER_GROUP_KEEP_POD -> RECEPTOR_KEEP_WORK 2021-04-05 17:44:40 -04:00
Shane McDonald 2e6e38e77c Update placeholder image variable in inventory file 2021-04-05 09:03:47 -04:00
Shane McDonald 7b25216ee9 Cluster dev env: only run migrations on first node 2021-04-03 13:23:29 -04:00
Shane McDonald f985376d64 Remove invocation of Ansible from launch script
This was missed in the initial EE PR. Ansible is no longer installed inside of
the web & task containers, causing this to show up in the container logs:

```
/usr/bin/launch_awx.sh: line 18: ansible: command not found
/usr/bin/launch_awx.sh: line 19: ansible: command not found
```
2021-04-03 11:53:41 -04:00
Shane McDonald fccfef442c Make logs more readable in development environment
This uses https://github.com/coderanger/supervisor-stdout to prefix process
names before log messages in the dev env
2021-04-02 14:16:51 -04:00
Shane McDonald 5180fccd12 Update receptor version used in dev environment 2021-03-31 16:20:26 -04:00
Shane McDonald c39a4051d7 Use receptorctl from pypi 2021-03-31 15:10:25 -04:00
Shane McDonald 4a726b7f6f Fix race condition that causes InvalidGitRepositoryError 2021-03-30 13:33:17 -04:00
Shane McDonald 54308c5fa1 Use Ansible Runner 2.0 alpha 1 2021-03-30 09:08:39 -04:00
Shane McDonald 4beeeae9f1 Fix k8s credentials that use a custom ca cert 2021-03-29 17:49:50 -04:00
Shane McDonald b73759e380 Fix collection test 2021-03-29 15:03:28 -04:00
Shane McDonald a5b29201a4 Update tests to use ee fixture 2021-03-29 14:45:21 -04:00
Shane McDonald f80c2cbfc3 Delete test for unused code 2021-03-29 14:45:03 -04:00
Shane McDonald 3d533e5661 Fix container group OPTIONS request 2021-03-29 13:26:59 -04:00
Shane McDonald 91351f7e3b Fix default setting for KEEP_POD 2021-03-29 13:13:05 -04:00
Shane McDonald 9bc0bf0ee7 Fix inventory updates when running inside of k8s 2021-03-29 13:09:56 -04:00
Shane McDonald 9d17d40b86 Add setting for keeping container group pod after job run
Helpful for debugging
2021-03-29 13:09:31 -04:00
Shane McDonald eeb6aaaea9 Always use EE resolving logic 2021-03-29 13:09:13 -04:00
Shane McDonald 1e9b221486 Use revolved EE for Container Group tasks 2021-03-29 13:05:57 -04:00
Shane McDonald 8fb393c0a1 Fix awxkit function that detects private data directories in job args 2021-03-29 09:11:56 -04:00
Shane McDonald eac7c409d1 Hide commands that are being run for make black 2021-03-26 17:11:04 -04:00
Shane McDonald f8a698d127 Update minikube.md 2021-03-25 15:21:01 -04:00
Shane McDonald 8bb90dde33 Devel images are now on Quay 2021-03-25 13:27:19 -04:00
Shane McDonald 14f42af700 Update CHANGELOG.md 2021-03-23 10:30:59 -04:00
Shane McDonald ff00239c09 Update CHANGELOG.md 2021-03-22 13:05:52 -04:00
Shane McDonald fc7b2212e6 Merge pull request #9652 from shanemcd/fix-changelog-dates
Fix changelog dates
2021-03-22 12:53:36 -04:00
Shane McDonald ade0734af7 Fix changelog dates 2021-03-22 12:42:40 -04:00
Shane McDonald 1efd189d52 Revert "Remove search filtering from changelog"
This reverts commit f6fb3e0b41.
2021-03-22 12:40:11 -04:00
Shane McDonald fd63937fa2 Create a wrapper directory for the private data dir 2021-03-22 09:24:48 -04:00
Shane McDonald f6fb3e0b41 Remove search filtering from changelog
This has not landed yet
2021-03-19 09:01:33 -04:00
Shane McDonald 9f91190f4b Add changelog entries for installer directory and custom venv removals 2021-03-18 18:56:47 -04:00
Shane McDonald d7b8a20a75 Use correct image for awx-manage inventory_import 2021-03-18 15:18:47 -04:00
Shane McDonald d98e4c304f Fix paths used for detecting and copying awx-logos 2021-03-18 15:09:45 -04:00
Shane McDonald 19d0524461 Dont require is_container_group in payload when creating InstanceGroups 2021-03-16 16:46:24 -04:00
Shane McDonald 876d4316e1 Fix collection tests 2021-03-15 14:14:03 -04:00
Shane McDonald 4a4d25329b Update instance_group module with is_container_group 2021-03-15 13:34:45 -04:00
Shane McDonald e6f06a95da Remove unnecessary code from launch script
- Ansible is no longer installed on the control plane
- We register the instance / instance group at dispatcher startup
2021-03-15 13:30:31 -04:00
Shane McDonald b15a75676d Fix container group tests 2021-03-15 13:28:40 -04:00
Shane McDonald 1c4a376758 Explicit db field for is_container_group
We now have Container Groups that dont require a credential.
2021-03-15 13:28:39 -04:00
Shane McDonald 836335b4c5 Update inventory_import to run inside of an EE 2021-03-15 12:17:19 -04:00
Shane McDonald afe8dc6ad9 Fix sdb in dev env 2021-03-05 17:41:25 -05:00
Shane McDonald 6df65c95a7 Update INSTALL.md 2021-03-04 18:34:39 -05:00
Shane McDonald 119e80c717 Delete the old installer directory 2021-03-04 18:28:49 -05:00
Shane McDonald 69edef430c Get clustered dev env working 2021-03-04 14:56:22 -05:00
Shane McDonald a3a47834fd Create admin user / run create_preload_data when dev env boots 2021-03-04 11:26:43 -05:00
Shane McDonald aab58f5ae7 Dont require credential for Container Groups
Might want to follow up and make this only apply to Tower on Kubernetes
2021-03-03 18:56:07 -05:00
Shane McDonald 29ff69a774 For container group pods, use namespace Tower is deployed into by default 2021-03-03 18:56:07 -05:00
Shane McDonald 609b17aa20 Use receptor 0.9.6 2021-03-03 18:56:07 -05:00
Shane McDonald e23a2b4506 Use var instead of set_fact 2021-03-03 18:56:07 -05:00
Shane McDonald eba12a6207 Add ui_next to .dockerignore 2021-03-03 18:56:07 -05:00