Shane McDonald
2d7420317b
Bump VERSION to 6.1.0
2019-07-18 13:08:52 -04:00
Shane McDonald
7936dff188
Change the devel containers to be based on Fedora instead of CentOS
...
since we need a more recent version of sqlite.
2019-07-12 15:11:22 -04:00
Shane McDonald
4f829ab93f
Release 6.0.0
2019-07-01 12:47:37 -04:00
Shane McDonald
f05bed6366
Use the source tree as the working directory for our dev env
2019-06-25 18:28:01 -04:00
Shane McDonald
2882f4afb5
Revert "upgrade pip and setuptools"
...
This reverts commit 76ebcf914b .
2019-06-19 16:02:52 -04:00
Shane McDonald
aaceccc426
Revert "Fix offline builds"
...
This reverts commit fe850dff38 .
2019-06-19 16:02:43 -04:00
Shane McDonald
fe850dff38
Fix offline builds
...
pip 19 added support for something called `pyproject.toml`. Several packages have been setting the option `build-backend = "setuptools.build_meta”` (bcrypt, attrs, jaraco) which seems to be the root of the problem when building from source. Until the community sorts this out I’m inclined to avoid pip 19.
2019-06-18 18:48:54 -04:00
Shane McDonald
08aff9bd2c
AWX 5.0.0
2019-06-18 10:12:42 -04:00
Shane McDonald
75ef30d21b
Always consider devel tag as a cache source
...
When you do `make docker-compose-build` on your branch without any changes, this will use the devel tag as a cache source. This will speed things up if you havent made any local changes to the Makefile or requirements files.
2019-06-11 14:01:35 -04:00
Shane McDonald
b00979792e
Clean up related to isolated env
...
- Made make target names consistent with our other commands
- Found some unnecessary code, deleted it
2019-06-06 10:15:11 -04:00
Shane McDonald
99704af302
Fix some ansible warnings
2019-06-04 20:37:03 -04:00
Shane McDonald
a13b733191
Update node in sdist builder image
2019-06-04 20:36:39 -04:00
Shane McDonald
f18f9ec0ef
Bring isolated dev env current
...
There was quite a bit of drift between the main Dockerfile and this one since we last touched it. It’s heavier than it needs to be, but by using the main development image as the base here, we have less duplicated and outdated code overall.
2019-06-03 16:48:45 -04:00
Shane McDonald
ef22986aa0
Install latest tini from RPM
2019-06-03 16:03:51 -04:00
Shane McDonald
be3d095067
Downgrade ptyprocess
...
See https://github.com/pexpect/ptyprocess/commit/8be490695de2aead22c55928c2cf02e330fbf3dd#diff-522adf759addbd3b193c74ca85243f7d for more info
2019-06-03 13:42:45 -04:00
Shane McDonald
49b54f2d60
Fix python3 fallout in translations management script
2019-05-30 14:41:03 -04:00
Shane McDonald
2f77c67a62
Changes to enable tests in k8s
2019-05-28 13:22:15 -04:00
Shane McDonald
5ca0cdb124
Avoid DNS timeout in non-Docker for Mac installs
...
Shaves 20 seconds off of rebooting the dev environment on Linux.
2019-05-10 12:31:08 -04:00
Shane McDonald
7d8a910be7
Improve dev environment init process
...
This ensures that /etc/passwd is always written, regardless of how the container starts.
2019-05-10 10:14:51 -04:00
Shane McDonald
015234287c
Ensure that a root user is always present in development environment
...
@AlanCoding was seeing errors in the development container when trying to run some commands as root. This fixes that.
2019-05-10 09:16:28 -04:00
Shane McDonald
22858f0044
Remove --squash option from awx-devel-build
...
This was intended to save us CI time if / when we switch away from static nodes for Zuul. After merging this in I discovered that this option does not work with `docker build --cache-from`, which will be more benefical in terms of speed improvements anyway.
2019-05-08 22:22:38 -04:00
Shane McDonald
0be8fe521a
Refactor Dockerfiles
...
This commit does a few things:
- Add the `--squash` option to the `awx-devel-build` make target. This reduces the resulting image size from 2.12 GB to 1.37 GB. I think we can get this down even more by inspecting the image contents.
- Reorganize commands so that the cache expires less often. Before this commit, any changes to the Makefile would essentially cause the entire image to rebuild.
- Break yum dependencies up into multiple lines. This makes it easier to see what changes in a diff.
- Use `n` to install our required version of node (rather `curl node | bash`). I’ve found this to be easier to maintain / more portable when working with other Dockerfiles.
- General organizational changes to make things easier to parse visually.
2019-05-08 20:36:41 -04:00
Shane McDonald
3bfb54d2fd
Fix memcached configuration in local Docker installs
...
Related: https://github.com/ansible/awx/issues/3719
Signed-off-by: Shane McDonald <me@shanemcd.com >
2019-04-16 12:51:28 -04:00
Shane McDonald
298eaa0b32
Move secret key from configmap to secret
2019-03-29 15:24:50 -04:00
Shane McDonald
fcf6b4ae45
Fix bug where init scripts didnt create the admin user correctly
2019-03-27 19:43:47 -04:00
Shane McDonald
c3ba851908
Fix docker-compose installs
...
In a series of unfortunate events, my patch yesterday didnt actually work. This fixes that.
2019-03-27 13:06:55 -04:00
Shane McDonald
c44bf6f903
Allow for platform specific variables in docker-compose install
...
This changes the default docker_compose_dir on macos to a writeable location
2019-03-27 09:32:04 -04:00
Shane McDonald
a6d031f46f
Fix permissions of sensitive files in docker-compose installation
2019-03-27 09:31:10 -04:00
Shane McDonald
2b6cf97157
Do not set credentials via environment variables
2019-03-26 15:13:28 -04:00
Shane McDonald
07e5a00f14
Remove “standalone Docker” installation path
...
This has been a burden to maintain. docker-compose is now required
2019-03-26 15:13:28 -04:00
Shane McDonald
0eaeadad87
Fix python3 offline installs
2019-03-22 13:30:09 -04:00
Shane McDonald
14d86ef5d3
Merge pull request #3426 from sugitk/patch-1
...
propose the change translation in Japanese
2019-03-18 09:36:42 -04:00
Shane McDonald
e09684462c
Working out some python3 kinks
2019-03-12 11:27:50 -04:00
Shane McDonald
b29a9cd86e
Fix dev environment when running as root on the host
...
Without this, CURRENT_UID isnt actually passed in from the host, and wipes out /etc/passwd even when we’re actually running as root.
I tested this as a non-root user on Linux, and on Docker for Mac
2019-03-06 17:08:56 -05:00
Shane McDonald
42fbb81337
AWX 3.0.0
2019-01-22 09:32:39 -05:00
Shane McDonald
04da4503db
Python 3 / Upstream Kubernetes
2019-01-15 14:09:05 -05:00
Shane McDonald
d273472927
Enable py3 SCL if needed
2019-01-15 14:09:05 -05:00
Shane McDonald
5aa99b2ca1
Dependency updates for Python 3
2019-01-15 14:09:05 -05:00
Shane McDonald
e3872ebd58
Bump version to 2.1.2
2018-12-11 12:30:10 -05:00
Shane McDonald
18c4771a38
Extract latest strings from source code for translations
2018-11-27 12:31:52 -05:00
Shane McDonald
a9ae4dc5a8
Clean up after yourselves, people!
2018-11-26 11:31:58 -05:00
Shane McDonald
0398b744a1
Add a note about —force-with-lease to contributing documentation.
2018-11-26 11:31:36 -05:00
Shane McDonald
fbec6a60bf
Bump version to 2.1.0
2018-11-01 11:37:28 -04:00
Shane McDonald
04625f566b
Bump version to 2.0.2
2018-11-01 09:50:02 -04:00
Shane McDonald
a361b5da6e
Fix permissions when running dev container as non-root user
...
I wanted to pass `—user` to `docker-compose` up, but that option doesnt exist. To get around this, I had to record the uid on the host (CURRENT_UID), interpolate the variable in tools/docker-compose.yml, and detect that inside the container. I then piggy-backed on the /etc/passwd hack we use for scenarios with unpredictable uids.
2018-10-24 10:30:04 -04:00
Shane McDonald
7df63830ed
Remove reference to file that doesnt exist anymore
2018-10-24 10:30:03 -04:00
Shane McDonald
ee1d5e43b9
Fix fallout from https://github.com/ansible/awx/pull/2392
...
There were some upstream changes that I overwrote but shouldn’t have.
2018-10-10 11:41:34 -04:00
Shane McDonald
de60165a49
Fix broken defaults in awx installer
2018-10-09 19:15:32 -04:00
Shane McDonald
7a5cfd05a3
Run tests in Docker as non-root user
2018-10-09 15:16:01 -04:00
Shane McDonald
b9279ebd5e
Port downstream installer changes
2018-10-09 14:39:39 -04:00
Shane McDonald
7249b21214
Merge pull request #2368 from backeby/fix
...
Fixed typo Ansbile->Ansible
2018-10-04 16:04:43 -05:00
Shane McDonald
b75f8ceca6
Do not default to pulling latest from DockerHub
2018-10-03 17:50:07 -05:00
Shane McDonald
bfc74497b0
Fix error in image_build role
...
I think I derped up and commited something in an old stash.
2018-10-03 14:44:26 -05:00
Shane McDonald
3701567ad7
Revert "first-parent requires git >= 1.8.4"
...
This reverts commit 1af0ee2f8c .
# Conflicts:
# installer/roles/image_build/templates/Dockerfile.j2
2018-09-28 15:48:33 -04:00
Shane McDonald
86140dec08
Revert "Fix sdist builder image"
...
This reverts commit 97472cb91b .
# Conflicts:
# installer/roles/image_build/tasks/main.yml
2018-09-28 15:48:33 -04:00
Shane McDonald
50fe0392ed
Updates to versioning system.
...
https://github.com/ansible/awx/issues?q=%22--first-parent%22
2018-09-28 15:48:33 -04:00
Shane McDonald
62e3b9e3b6
Driveby cleanup: use built-in Make variable
2018-09-26 21:27:07 -04:00
Shane McDonald
9fc4c03e5b
Merge pull request #2197 from Spredzy/minor_fixes_contributing.md
...
CONTRIBUTING.md: Fixing ToC indendation and wrong links
2018-09-20 17:51:00 -04:00
Shane McDonald
0bb1b0ed45
Merge pull request #2272 from ansible/delete-shrinkwrap
...
delete old npm-shrinkwrap lock file
2018-09-18 14:01:16 -04:00
Shane McDonald
1b4c3f56fa
Merge pull request #2113 from kialam/upgrade-node-lts
...
Upgrade Node and NPM to LTS
2018-09-18 12:46:30 -04:00
Shane McDonald
6c5334c7d3
Update docs for new Node and NPM version requirements
2018-09-18 12:37:41 -04:00
Shane McDonald
1371e394de
Update Node version in dev container image
2018-09-18 12:37:20 -04:00
Shane McDonald
ec67feef2f
Bump npm version in package.json
...
This is what’s served out of the 8.x LTS yum repos.
2018-09-18 12:18:21 -04:00
Shane McDonald
89e656b2a4
Update Node version in sdist builder
2018-09-18 12:17:52 -04:00
Shane McDonald
580004b395
Merge remote-tracking branch 'downstream/release_3.3.0' into devel
...
# Conflicts:
# awx/main/notifications/slack_backend.py
2018-09-18 08:11:50 -04:00
Shane McDonald
90bd27f5a8
Whitespace fix
...
I’m not actually this pedantic, I just need something to tag.
2018-09-12 13:41:56 -04:00
Shane McDonald
b3f2f7efe5
Fix broken file ref
2018-09-05 00:06:11 -04:00
Shane McDonald
1b8cb45024
Update translations
2018-08-17 13:56:34 -04:00
Shane McDonald
07cb2aa9bb
Fix / improve minishift dev env playbook
...
- Redo how we detect / set the minishift path
- Log into the correct admin account, once.
- Make sure commands that fail cause tasks to fail (s/;/&&/)
2018-08-15 15:01:40 -04:00
Shane McDonald
19c5564ec8
Update translation strings
2018-08-15 14:56:58 -04:00
Shane McDonald
ae207b5f33
Merge pull request #2175 from shanemcd/kubernetes-fun
...
Pull in downstream k8s installer changes
2018-08-15 11:51:42 -04:00
Shane McDonald
2b9954c373
Pull in downstream k8s installer changes
...
- Secretification of secret stuff
- Backup / restore
2018-08-14 12:37:19 -04:00
Shane McDonald
2e6a7205e7
Fix broken conditional
2018-08-14 11:19:15 -04:00
Shane McDonald
047b5755bf
Merge pull request #2170 from matburt/fix_web_wait_deployment
...
Add some env variables to the web deployment
2018-08-13 13:32:22 -04:00
Shane McDonald
61c21c5ac0
Merge pull request #2808 from wwitzel3/release_3.3.0
...
disable computed for create preload data mgmt cmd
2018-08-09 10:14:52 -04:00
Shane McDonald
1c32df0fcd
Move django-oauth-toolkit into requirements_git.txt
...
All SCM based requirements need to go into this file because of how we built Ansible Tower (offline).
2018-08-06 19:00:54 -04:00
Shane McDonald
090b3fad8e
Update translation template files
2018-08-03 15:07:19 -04:00
Shane McDonald
f6aee3dd41
Fix error in Dutch translation file
2018-08-02 12:30:16 -04:00
Shane McDonald
c97edaf9e0
Merge pull request #2744 from shanemcd/release_3.3.0
...
Fix syntax in nginx config
2018-08-02 11:26:49 -04:00
Shane McDonald
be7a40daf3
Fix syntax in nginx config
...
Broke in 6f5259d017
2018-08-02 11:24:51 -04:00
Shane McDonald
b8a51244e4
Extract latest strings
2018-08-02 11:23:32 -04:00
Shane McDonald
3cc35fc598
Pull updated localization files
2018-08-02 11:23:32 -04:00
Shane McDonald
795f26e7b9
Lock down version of setuptools_scm
...
This was causing offline pip installs to fail for some weird reason:
The 'setuptools_scm>=1.15.0' distribution was not found and is required by the application
Even though it is there. v2.x still works.
2018-07-27 15:28:41 -04:00
Shane McDonald
8f7931e02f
Merge pull request #2076 from john-westcott-iv/fix_node_link
...
Change node.js macOS installer link (old link was dead)
2018-07-18 12:21:11 -04:00
Shane McDonald
65a5f2dc9b
Merge pull request #2052 from robruma/feature/callback_script_enhancement
...
Adding ability to ignore SSL certificate validation errors, cleanup p…
2018-07-16 13:13:51 -04:00
Shane McDonald
467a1fafcc
Merge pull request #1880 from luisico/compose-web-wait-for
...
AWX launchers should wait for other containers to be ready
2018-07-16 13:11:06 -04:00
Shane McDonald
ad33dff6af
Merge pull request #1949 from willthames/k8s_use_context
...
Use use-context to set Kubernetes context
2018-07-16 12:59:36 -04:00
Shane McDonald
9b941e8b05
Merge pull request #2040 from kivio/tiller-namespace-configuration
...
#2039 add tiller-namespace as argument
2018-07-16 10:10:23 -04:00
Shane McDonald
3f8b80e415
Merge pull request #2028 from basos9/fix-nginx-log
...
FIX nginx use selected log formatting
2018-07-16 09:47:05 -04:00
Shane McDonald
93ddda13fd
Merge pull request #2216 from ansible/rollback-task-reaper-pr
...
Revert "fix celery task reaper"
2018-06-18 19:24:29 -04:00
Shane McDonald
4f5a0d5a08
Merge pull request #1994 from taylorsmithgg/patch-1
...
Update INSTALL.md
2018-06-18 14:15:45 -04:00
Shane McDonald
8aa651faba
Update translations
2018-06-14 14:37:18 -04:00
Shane McDonald
246e63bdb6
Update translation templates
2018-05-31 10:53:57 -04:00
Shane McDonald
cb91b97fd0
Update pot files
2018-05-07 17:35:14 -04:00
Shane McDonald
17b6051233
Merge pull request #1826 from shanemcd/update-install-docs
...
Update install docs
2018-04-30 12:05:11 -04:00
Shane McDonald
6f4ef29ae7
Update install docs
...
- Document openshift_skip_tls_verify
- Document openshift_pg_emptydir
- Add minimum minishift specs
- Move minishift section below variable reference
2018-04-30 12:02:57 -04:00
Shane McDonald
4fdf462b98
Merge branch 'release_3.3.0' into awx/devel
...
# Conflicts:
# awx/ui/client/src/standard-out/standard-out-factories/main.js
# awx/ui/package.json
2018-04-27 10:17:59 -04:00
Shane McDonald
5313e069ca
Merge pull request #1799 from shanemcd/devel
...
Fix Helm PostgreSQL deployment name
2018-04-25 11:22:39 -04:00
Shane McDonald
e5faf0798f
Always pull memcached image
2018-04-25 11:17:37 -04:00
Shane McDonald
e623c3d7cd
Don’t hardcode Helm PostgreSQL deployment name
2018-04-25 11:17:26 -04:00