Bill Nottingham
dab7889715
Don't try and install content if there aren't any requirements expecting it
2020-07-20 19:45:19 -04:00
Bill Nottingham
95e69124af
Also download roles/collections during the sync job
...
Since we're writing into a per-revision cache, we can do this easily now.
2020-07-20 19:45:19 -04:00
Bill Nottingham
1f4c46d873
Invalidate the cache on a new project revision
2020-07-20 19:45:18 -04:00
Bill Nottingham
d272ee3521
Cache downloaded roles & collections
...
Populate the cache the first time the job is run for a revision
that needs them, and for future runs for that revision just
copy it into the private directory.
Delete the cache on project deletion.
2020-07-20 19:45:15 -04:00
softwarefactory-project-zuul[bot]
bedbafe0f9
Merge pull request #7613 from keithjgrant/6622-template-list-websockets
...
Add websocket support to TemplateList
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-20 20:19:57 +00:00
softwarefactory-project-zuul[bot]
676491134d
Merge pull request #7620 from keithjgrant/6621-inventory-sources-sockets
...
Inventory sources websockets
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-20 20:18:51 +00:00
softwarefactory-project-zuul[bot]
b36c5d9209
Merge pull request #7652 from jakemcdermott/fix-7651
...
Check for required node version before build or install
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-20 19:54:21 +00:00
softwarefactory-project-zuul[bot]
7296415fd9
Merge pull request #7635 from tchellomello/user_API_created
...
Exposes created attribute via API for User django ORM
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-20 19:40:47 +00:00
Ryan Petrello
34be08d38e
add tests for filtering User.created_by in the API
2020-07-20 11:28:32 -04:00
Jake McDermott
2992a5f5a4
Check node version before build or install
2020-07-20 09:13:43 -04:00
Marcelo Moreira de Mello
3803763c53
Exposes the User.created attribute via API
...
Signed-off-by: Marcelo Moreira de Mello <tchello.mello@gmail.com>
2020-07-17 15:47:17 -04:00
softwarefactory-project-zuul[bot]
f0aec0d444
Merge pull request #7641 from josephpisciotta/devel
...
Remove the NodePort type for the web svc.
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-17 19:01:27 +00:00
softwarefactory-project-zuul[bot]
765595fd11
Merge pull request #7629 from ryanpetrello/k8s-creds
...
add the ability to specify K8S/OCP credentials on a Job Template
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-17 17:07:46 +00:00
Joseph Pisciotta
75c6c068a7
Remove the NodePort type for the web svc.
2020-07-17 12:51:29 -04:00
softwarefactory-project-zuul[bot]
036780d337
Merge pull request #7559 from AlexSCorey/7513-SurveySelectAllBox
...
Removes unneeded select all checkbox in Survey List
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-16 22:39:41 +00:00
softwarefactory-project-zuul[bot]
4db3cd0326
Merge pull request #7627 from jakemcdermott/fix-7512
...
Show grant and client type validation errors
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-16 21:00:29 +00:00
softwarefactory-project-zuul[bot]
2e07ac3c2c
Merge pull request #7628 from jakemcdermott/fix-7511
...
Improve nav behavior
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-16 21:00:22 +00:00
softwarefactory-project-zuul[bot]
77717b6134
Merge pull request #7631 from jakemcdermott/fix-5236
...
Use summary job_type on host list
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-16 19:40:36 +00:00
Jake McDermott
bf74aae80e
Use summary job_type on host list
2020-07-16 14:10:55 -04:00
Alex Corey
496862592a
fixes erroneous render
2020-07-16 12:59:58 -04:00
Alex Corey
ad536ec3d9
Removes commented out line
2020-07-16 12:59:52 -04:00
Alex Corey
bc69406f31
removes unneeded select all checkbox
2020-07-16 12:59:52 -04:00
Ryan Petrello
959b81aec5
refactor k8s credential injectors to properly handle verify=f
2020-07-16 12:43:10 -04:00
Ryan Petrello
1a39cbc2f4
add tests for k8s credential usage in Job Templates
2020-07-16 12:22:11 -04:00
Ryan Petrello
715dc4ece8
add a license for ruamel.ordereddict (for openshift lib support)
2020-07-16 11:38:54 -04:00
Ryan Petrello
c44f8e9122
implement k8s credential selection in the new patternfly UI
2020-07-16 11:25:03 -04:00
Ryan Petrello
75a0382c31
show k8s credentials in the Job Template prompt on launch UI
2020-07-16 10:53:21 -04:00
Ryan Petrello
0b221a42c0
Add the ability to specify K8S/OCP credentials on a Job Template
...
see: https://github.com/ansible/awx/issues/5735
2020-07-15 17:44:07 -04:00
Jake McDermott
6f43462689
Improve nav behavior
...
* Use more selective route matching when determining if a nav item is
active
* Don't automatically collapse nav groups when user navigates to a
different group
2020-07-15 12:46:08 -04:00
Jake McDermott
d1a4f010b9
Show grant and client type validation errors
2020-07-15 12:05:51 -04:00
softwarefactory-project-zuul[bot]
79b95883a3
Merge pull request #7618 from jakemcdermott/update-deps-03
...
Fix most of this week's npm warnings
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-15 14:49:04 +00:00
Keith Grant
f1e3b4f4f0
add useWsInventorySources tests
2020-07-14 14:29:24 -07:00
Keith Grant
4fca57dfd2
add ws support to inventory sources list
2020-07-14 11:43:59 -07:00
Jake McDermott
e89326dbf2
Fix vulnerable 2nd order dependency
2020-07-14 14:42:46 -04:00
softwarefactory-project-zuul[bot]
cd6df9299f
Merge pull request #7286 from john-westcott-iv/lookup_plugins
...
Adding tower_api and tower_get_id lookup plugins
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-14 18:04:27 +00:00
softwarefactory-project-zuul[bot]
80a6d4a29d
Merge pull request #7611 from ryanpetrello/host-recent-job-type
...
add job type to Host summary_fields.recent_jobs
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-07-14 14:04:58 +00:00
John Westcott IV
222e58dd34
Adding lookup to rrule plugin test logic for new tooling
...
This change is provided with the tower_api lookup plugin because the require tower_meta module is part of this commit
2020-07-14 09:38:26 -04:00
John Westcott IV
0be7d9b21a
Removing redundant check
2020-07-14 09:38:26 -04:00
John Westcott IV
5a6c7a5788
Fixing copyrights and linting issues
2020-07-14 09:38:26 -04:00
John Westcott IV
3784f9515e
More refinement of examples
2020-07-14 09:38:26 -04:00
John Westcott IV
6638d6c2bb
Update examples
2020-07-14 09:38:26 -04:00
John Westcott IV
afbdeb5ff8
Fixing linting errors
2020-07-14 09:38:26 -04:00
John Westcott IV
381e9d2901
Reverting commit 81b192c3b0520be0897f95e2630edab295e6bf24, we should fail only if we are > max_objects
2020-07-14 09:38:26 -04:00
John Westcott IV
dd478af227
Overhaul of the testing suite
2020-07-14 09:38:26 -04:00
John Westcott IV
0424370d49
Revamp of the examples
2020-07-14 09:38:26 -04:00
John Westcott IV
1a4bb42ac5
When using return_ids send back a list of strings instead of ints.
...
When we used ints and passed this data into a nother call like:
- name: Create a job template with a looked up credential from a folded lookup
tower_job_template:
name: "{{ job_template_name }}"
credentials: >-
{{ lookup(
'awx.awx.tower_api',
'credentials',
query_params={ 'name' : credential_name },
return_ids=True,
expect_one=True,
wantlist=True
) }}
project: "{{ project_name }}"
inventory: Demo Inventory
playbook: hello_world.yml
job_type: run
state: present
register: create_jt
Ansible would raise this warning:
[WARNING]: The value 30 (type int) in a string field was converted to '30' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change.
Returning a list of strings prevents that.
2020-07-14 09:38:26 -04:00
John Westcott IV
fdb008fb8c
Added note about exception if list view return is > max_objects
2020-07-14 09:38:26 -04:00
John Westcott IV
d793f0bc99
Making the count check >= instead of just >
2020-07-14 09:38:26 -04:00
John Westcott IV
a9c16a6c90
Fixing undefined variabe
2020-07-14 09:38:26 -04:00
Alan Rominger
34c23caed3
make lookup plugin compatible with ansible.tower namespace ( #9 )
2020-07-14 09:38:26 -04:00