summaryrefslogtreecommitdiffstats
path: root/Makefile (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove sso app (#15550)Djebran Lezzoum2024-10-151-2/+2
| | | Remove sso app.
* Remove Keycloak (#15567)jessicamack2024-10-151-3/+0
| | | remove keycloak
* Remove TACACS+ authentication (#15547)Djebran Lezzoum2024-10-151-3/+0
| | | | | Remove TACACS+ authentication from AWX. Co-authored-by: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com>
* Remove LDAP authentication (#15546)Djebran Lezzoum2024-10-151-6/+2
| | | Remove LDAP authentication from AWX
* 🧪 Publish awxkit's coverage to Codecov (#15525)Sviatoslav Sydorenko (Святослав Сидоренко)2024-09-181-1/+1
| | | | It's already being generated, just not uploaded. This patch addresses that.
* 🧪 Upload ansible-test coverage to Codecov (#15527)Sviatoslav Sydorenko (Святослав Сидоренко)2024-09-171-3/+16
|
* 🧪 Upload coverage from the rest of CI jobs (#15526)Sviatoslav Sydorenko (Святослав Сидоренко)2024-09-171-6/+18
|
* 🧪 Delegate source filtering to coverage.py (#15528)Sviatoslav Sydorenko (Святослав Сидоренко)2024-09-171-1/+1
| | | | | This drops the coverage source spec from the `pytest` args as it's already configured in `coveragerc` which is a better place for keeping it.
* 🧪 Pass specific report files to `codecov-cli` (#15520)Sviatoslav Sydorenko (Святослав Сидоренко)2024-09-141-2/+2
| | | | | The automatic discovery is currently unreliable. Ref: https://github.com/codecov/codecov-cli/issues/500
* 🧪 Gather coverage @ CI and upload to Codecov (#15499)Sviatoslav Sydorenko (Святослав Сидоренко)2024-09-131-8/+10
|
* Remove old UI (#15414)Hao Liu2024-08-221-79/+5
| | | | | | * Remove source code for old UI * Rename ui-next to ui * Remove license scan for javascript dependencies
* Make ui_next the default UI (#15405)Seth Foster2024-07-291-6/+0
| | | | | | | | | | | | | Change django url dispatcher to serve up ui_next files instead of old ui files Old UI will not be served with this change Github CI still runs old ui tests (to be removed in another PR) Remove the Github workflows that build old UI --------- Signed-off-by: Seth Foster <fosterbseth@gmail.com>
* Do not use cache in github image build action (#15308)Alan Rominger2024-06-281-10/+25
| | | | | * Do not use cache in actual image build action * Add cache args to kube prod builds
* Pass the Makefile python exe to ansible-playbook (#15282)Alan Rominger2024-06-181-7/+10
|
* Option for dev env to enable ssl for postgres (#15151)Seth Foster2024-06-051-0/+3
| | | | | | | | | | | PG_TLS=true make docker-compose This will add some extra startup commands for the postgres container to generate a key and cert to use for postgres connections. It will also mount in pgssl.conf which has ssl configuration. This can be useful for debugging issues that only surface when using ssl postgres connections.
* Add cython to VENV_BOOTSTRAP for grpcio (#15256)Satoe Imaishi2024-06-051-1/+1
|
* Centralized logging via otelChris Meyers2024-05-311-0/+6
|
* Use $(shell ...) to filter the redis docker volumesJeff Bradberry2024-04-171-1/+1
| | | | | Makefiles use $() for variable templating, so trying to use it directly as a shell subcommand doesn't work.
* Clean the postgres 15 volume (#15083)Alan Rominger2024-04-091-1/+1
|
* Update DOCKER_COMPOSE command to `docker compose` (#15056)Hao Liu2024-04-021-1/+1
| | | | | | | * Update DOCKER_COMPOSE command docker-compose will stop being supported soon and this is causing CI flake setting DOCKER_COMPOSE default to `docker compose` * Give AWX network a static name
* Editable dependencies in docker compose development environment (#14979)Hao Liu2024-03-191-2/+11
| | | | * Editable dependencies in docker compose development environment
* Mismatch dependencies version (#14986)Cesar Francisco San Nicolas Martinez2024-03-141-1/+1
| | | | | | | * Fixed mismatch between setuptools version in the makefile and requirements file * Fix mismatch of versions in makefile and requirements * Added maturin license
* AAP-13369 Python 3.9 -> 3.11 upgrade (#14771)Dave2024-03-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Python 3.9 -> 3.11 upgrade * Test: updating azure-keyvault to 4.2.0 * Revert "Test: updating azure-keyvault to 4.2.0" This reverts commit cf0b83699442e0c0de4a1152d4af8543a5e05b88. * Test: updating azure-keyvault to latest and adding azure-identity * Fix licenses * Adding new licenses * Revert "Fix licenses" This reverts commit da3876911ef5ebbe7a8adbddd336ced3039b6228. * Fixing dependencies * Test: updating azure-keyvault to 4.2.0 * Fix licenses * Revert "Fix licenses" This reverts commit da3876911ef5ebbe7a8adbddd336ced3039b6228. * Fixing dependencies --------- Co-authored-by: César Francisco San Nicolás Martínez <csannico@redhat.com>
* Upgrade to postgres:15 (#14230)John Westcott IV2024-03-071-3/+0
| | | | * Upgrade to postgres:15 * Changed postgres:15 to quay.io/sclorg/postgresql-15-c9s
* In development environment not auto-reload explicitly STOPPED processes (#14958)Hao Liu2024-03-061-3/+1
| | | | | Not auto-reload explicitly STOPPED processes In development/debug workflow sometime we explicitly STOP processes this will make sure auto-reload does not start them back up
* Convert swagger release fixture to env var (#14940)Hao Liu2024-02-291-1/+1
| | | | `pytest awx/main/tests/docs --release=$(VERSION_TARGET)` where --release is required breaks test discovery and running in vscode (from within the container)
* Multi-arch build for AWX images in ghcr.io (#14899)Hao Liu2024-02-201-21/+43
| | | | | | build amd64 and ARM image for - awx - awx_devel - awx_kube_devel
* Add dockerx make target for building awx for arm64Christian M. Adams2024-02-141-0/+23
| | | | Signed-off-by: Christian M. Adams <chadams@redhat.com>
* shhhhhhhhhhhhhhhChris Meyers2024-02-141-1/+1
| | | Hopefully silence some setuptools
* remove the ldap volume when cleaning all volumesthedoubl3j2024-02-141-1/+1
|
* Add ldap support to vault container in docker dev environment (#14777)Jake Jackson2024-02-091-1/+2
| | | | | | | | | | | * add ldap_auth mount and configure it * added in key engines, userpass auth method, still needs testing * add policies and fix ldap_user * start awx automation for vault demo and move ldap * update docs with new flags/new credentials
* Update setuptools-scm (#14716)jessicamack2023-12-111-1/+1
| | | | | | | | | | | | | | | * properly format requirement * upgrade setuptools_scm * Revert "properly format requirement" This reverts commit 4c8792950fbdbc623c5c373b970850bc2eb5b844. * test ansible-runner package upgrade * Revert "test ansible-runner package upgrade" This reverts commit ba4b74f2bb173441195574ff70a4bc946391661f.
* Add TLS certificate auth for HashiCorp Vault (#14534)Andrew Austin2023-12-061-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add TLS certificate auth for HashiCorp Vault Add support for AWX to authenticate with HashiCorp Vault using TLS client certificates. Also updates the documentation for the HashiCorp Vault secret management plugins to include both the new TLS options and the missing Kubernetes auth method options. Signed-off-by: Andrew Austin <aaustin@redhat.com> * Refactor docker-compose vault for TLS cert auth Add TLS configuration to the docker-compose Vault configuration and use that method by default in vault plumbing. This ensures that the result of bringing up the docker-compose stack with vault enabled and running the plumb-vault playbook is a fully working credential retrieval setup using TLS client cert authentication. Signed-off-by: Andrew Austin <aaustin@redhat.com> * Remove incorrect trailing space Co-authored-by: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com> * Make vault init idempotent - improve error handling for vault_initialization - ignore error if vault cert auth is already configured - removed unused register * Add VAULT_TLS option Make TLS for HashiCorp Vault optional and configurable via VAULT_TLS env var * Add retries for vault init Sometime it took longer for vault to fully come up and init will fail --------- Signed-off-by: Andrew Austin <aaustin@redhat.com> Co-authored-by: Hao Liu <44379968+TheRealHaoLiu@users.noreply.github.com> Co-authored-by: Hao Liu <haoli@redhat.com>
* allow pytest --migrations to succeed (#14663)23.5.0Chris Meyers2023-11-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * allow pytest --migrations to succeed * We actually subvert migrations from running in test via pytest.ini --no-migrations option. This has led to bit rot for the sqlite migrations happy path. This changeset pays off that tech debt and allows for an sqlite migration happy path. * This paves the way for programatic invocation of individual migrations and weaving of the creation of resources (i.e. Instance, Job Template, etc). With this, a developer can instantiate various database states, trigger a migration, assert the state of the db, and then have pytest rollback all of that. * I will note that in practice, running these migrations is dog shit slow BUT this work also opens up the possibility of saving and re-using sqlite3 database files. Normally, caching is not THE answer and causes more harm than good. But in this case, our migrations are mostly write-once (I say mostly because this change set violates that :) so cache invalidation isn't a major issue. * functional test for migrations on sqlite * We commonly subvert running migrations in test land. Test land uses sqlite. By not constantly exercising this code path it atrophies. The smoke test here is to continuously exercise that code path. * Add ci test to run migration tests separately, they take =~ 2-3 minutes each on my laptop. * The smoke tests also serves as an example of how to write migration tests. * run migration tests in ci
* Consolidate image and server setup in several checks (#14477)Alan Rominger2023-09-251-12/+1
|
* Add makefile target to load dev image into Kind (#13775)Hao Liu2023-09-191-0/+4
| | | | Signed-off-by: Rick Elrod <rick@elrod.me> Co-authored-by: Rick Elrod <rick@elrod.me>
* Enable collection integration tests on GHARick Elrod2023-09-051-1/+1
| | | | | | | | | | | | | | | There are a number of changes here: - Abstract out a GHA composite action for running the dev environment - Update the e2e tests to use that new abstracted action - Introduce a new (matrixed) job for running collection integration tests. This splits the jobs up based on filename. - Collect coverage info and generate an html report that people can download easily to see collection coverage info. - Do some hacks to delete the intermediary coverage file artifacts which aren't needed after the job finishes. Signed-off-by: Rick Elrod <rick@elrod.me>
* Tell Makefile and pre-commit.sh that they are bashRick Elrod2023-07-141-0/+1
| | | | | | | | | | | | | | | On some systems, /bin/sh is a bash symlink and running it will launch bash in sh compatibility mode. However, bash-specific syntax will still work in this mode (for example using == or pipefail). However, on systems where /bin/sh is a symlink to another shell (think: Debian-based) they might not have those bashisms. Set the shell in the Makefile, so that it uses bash (since it is already depending on bash, even though it is calling it as /bin/sh by default), and add a shebang to pre-commit.sh for the same reason. Signed-off-by: Rick Elrod <rick@elrod.me>
* Add optional pgbouncer to dev environment (#14083)Rick Elrod2023-07-051-0/+3
| | | Signed-off-by: Rick Elrod <rick@elrod.me>
* Enhancing vault integrationJohn Westcott IV2023-06-301-1/+4
| | | | | | | | | | Added persistent storage Auto-create vault and awx via playbooks Create a new pattern for custom containers where we can do initialization Auto-install roles needed for plumbing via the Makefile
* Add hashivault option as docker-compose optional container (#14161)Alan Rominger2023-06-261-0/+3
| | | Co-authored-by: Sarabraj Singh <singh.sarabraj@gmail.com>
* Removing psycopg2 referencesJohn Westcott IV2023-06-141-1/+1
|
* Lazy init VERSION vars in Makefile (#14093)Jesse Wattenbarger2023-06-141-1/+1
|
* Rename heartbeet daemon to ws_heartbeat (#14041)Rick Elrod2023-05-241-2/+2
| | | Signed-off-by: Rick Elrod <rick@elrod.me>
* Update make target for extracting strings to do so for ui_next tooChristian M. Adams2023-05-111-0/+2
|
* Allow running AWX checks on forks (#13938)Alan Rominger2023-05-021-1/+4
|
* Fallback on PYTHON path in MakefileJesse Wattenbarger2023-04-211-2/+14
| | | | | | | | | | | | | | - Change default PYTHON in Makefile to be ranked choice - Fix `PYTHON_VERSION` target that expects just a word - Use native GNU Make `$(subst ,,)` instead of `sed` - Add 'version-for-buildyml' target to simplify ci If I understand correctly, this change should make '$(PYTHON)' work how we want it to everywhere. Before this change, on develpers' machines that don't have a 'python3.9' in their path, make would fail. With this change, we will prefer python3.9 if it's available, but we'll take python3 otherwise.
* Remove unnecessary egg-link linkingHao Liu2023-04-191-1/+1
| | | | | | we link awx.egg-link from `tools/docker-compose/awx.egg-link` to `/tmp/awx.egg-link` than we move `/tmp/awx.egg-link` to `/var/lib/awx/venv/awx/lib/python3.9/site-packages/awx.egg-link` bonus... now we dont have to set PYTHON=python3.9
* Make target should not call make directlyHao Liu2023-04-191-7/+7
| | | | | | https://www.gnu.org/software/make/manual/html_node/MAKE-Variable.html make target should always call make with $(MAKE)
* Use different dockerfile for docker-compose-buildHao Liu2023-04-191-14/+29
| | | | | | - use different dockerfile for awx_devel and awx image - make all Dockerfile* targets PHONY (bc its cheap to run) - fix HEADLESS not working for awx-kube-build