Commit Graph
100 Commits
Author SHA1 Message Date
Shane McDonald 41321d8ad5 Merge pull request #10716 from oweel/10392-return_404_ad_hoc_command_events
Return 404 for ad_hoc_command_events list api. Remove api endtpoint
2021-07-23 17:35:57 -04:00
Shane McDonald 09479be4ba Merge pull request #10738 from shanemcd/fix-docker-clean-volumes
Fix docker-clean-volumes target when not using minikube
2021-07-23 11:06:13 -04:00
Shane McDonald 18a51d1dd0 Fix docker-clean-volumes target when not using minikube
Without this patch, you get:

```
tools/docker-compose-minikube/_sources/minikube delete
make: tools/docker-compose-minikube/_sources/minikube: No such file or directory
```
2021-07-23 09:09:33 -04:00
Shane McDonald 7882cb9008 Merge pull request #10668 from oweel/devel
Fix ignoring --no-color for awx-manage list_instances command
2021-07-22 20:46:02 -04:00
Shane McDonald 05c7d3a60e Merge pull request #10108 from saito-hideki/issue/10057
Fix to handle ask_* parameters correctly when set false
2021-07-22 20:25:14 -04:00
Shane McDonald c09050d1f2 Merge pull request #9944 from AlanCoding/schedule_teardown
Allow stable use of AWXKIT_PREVENT_TEARDOWN by disabling schedules at the end
2021-07-22 20:19:35 -04:00
Shane McDonald dd9c6270ba Dont fail when pre-built CI image is not available 2021-07-22 19:43:34 -04:00
Shane McDonald 18d9bfa06e Merge pull request #10573 from Tompage1994/collection_inv_src_proj
Default source_project to organization for inventory source
2021-07-22 17:14:32 -04:00
Shane McDonald ef82c1ce01 Merge pull request #10566 from strollo/webhook-headers-patch
Headers missing in webhook notification request
2021-07-22 17:08:56 -04:00
Shane McDonald 6a7aa77033 Merge pull request #10484 from ansible/chrismeyersfsu-patch-1
only get active long running queries
2021-07-22 15:58:10 -04:00
Shane McDonald f683c7159d Merge pull request #10481 from brigzzy/compose_up_fix
Reorder docker compose up options
2021-07-22 15:57:39 -04:00
Shane McDonald cd33db037d Merge pull request #9703 from tchellomello/double_ldap
Avoid double LDAP updates
2021-07-22 15:54:29 -04:00
Shane McDonald 8609a637f9 Merge pull request #9365 from mcharanrm/aa-workloads-firehose
tools/scripts/firehose.py: capture all job ids, attach events to all jobs ids and distribute the events
2021-07-22 15:52:16 -04:00
Shane McDonald 99ffd3898c Merge pull request #8023 from velzend/improve_logging_migrating_or_instance_not_registered
improve logging migrate or instance not registered
2021-07-22 15:50:33 -04:00
Shane McDonald c36821d6e1 Merge pull request #7273 from jamesmarshall24/devel
Remove query_parameters from page loop causing 414
2021-07-22 15:49:16 -04:00
Shane McDonald b3604ed94a Merge pull request #10511 from fosterseth/fix_haproxy_permission
run dev cluster haproxy container as root
2021-07-22 15:45:28 -04:00
Shane McDonald 0e30c6639a Merge pull request #10583 from coolbry95/waitfordb
wait for database connection
2021-07-22 14:12:30 -04:00
Shane McDonald 0aca4d658a Bash nitpick 2021-07-22 13:56:58 -04:00
Shane McDonald 6715b88633 Update upload_schema.yml 2021-07-20 15:32:11 -04:00
Shane McDonald 556f8aff17 Update upload_schema.yml 2021-07-20 15:14:36 -04:00
Shane McDonald c8322ee2f1 Merge pull request #10672 from shanemcd/actions
Reimplement CI jobs in GitHub Actions
2021-07-20 12:55:06 -04:00
Shane McDonald d2017feb55 Specify which region to upload schema to 2021-07-20 12:23:06 -04:00
Shane McDonald aa934b1dda Add post-merge GHA job for uploading api schema to s3 2021-07-20 12:23:05 -04:00
Shane McDonald 3353b3f3b7 Split out UI test and linters into different GHA jobs 2021-07-20 12:23:04 -04:00
Shane McDonald e22612fc3e Fix image push job 2021-07-20 12:23:03 -04:00
Shane McDonald baca30ef83 Dont lint GHA files 2021-07-20 12:23:02 -04:00
Shane McDonald 2622a1e764 Port CI jobs to GitHub Actions 2021-07-20 12:23:01 -04:00
Shane McDonald b0fe3d7f85 Bump ansible-runner to 2.0.1 2021-07-13 11:47:02 -04:00
Shane McDonald 73bb475503 Bump version + changelog 2021-06-28 12:25:44 -04:00
Shane McDonald 6df5c0331a Use Ansible Runner 2.0.0 release 2021-06-28 12:25:19 -04:00
Shane McDonald 1ed170fff0 Dont overwrite result_traceback if it was already set. 2021-06-28 10:51:06 -04:00
Shane McDonald 397908543d Disable activity stream for updates in status handler 2021-06-28 10:51:04 -04:00
Shane McDonald 03fb12d4c2 Force system jobs to always run on control plane 2021-06-28 10:51:04 -04:00
Shane McDonald 1ba51c0357 Fix unit tests
Signed-off-by: Shane McDonald <me@shanemcd.com>
2021-06-28 10:51:03 -04:00
Shane McDonald 2fa27000ab Prevent inventory updates started via projects from running on controlplane 2021-06-28 10:51:03 -04:00
Shane McDonald 0d7ef709bf Prevent jobs from trying to run on controlplane in k8s 2021-06-28 10:51:02 -04:00
Shane McDonald 0f25720634 Update minikube docs 2021-06-28 10:51:02 -04:00
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