Skip to content

Commit

Permalink
RC-3882 Merge pull request #1 from UCBoulder/cs-fork-from-sepe
Browse files Browse the repository at this point in the history
RC-3882 Update to python3.9 and add additional modules, bins
  • Loading branch information
Venator-Fox authored Dec 7, 2023
2 parents 4d35b43 + 22ba47d commit 1a3d64a
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ on:

jobs:
release:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Build and Deploy
steps:
- uses: actions/checkout@v2

- uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.9"

- name: Install dependencies
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ on:

jobs:
release:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
name: Test Build
steps:
- uses: actions/checkout@v2

- uses: actions/setup-python@v2
with:
python-version: "3.8"
python-version: "3.9"

- name: Install dependencies
run: |
Expand All @@ -22,4 +22,4 @@ jobs:
- name: Build image
run: |
ansible-builder build -v3 --tag=awx-ee:test-build
ansible-builder build -v3 -t awx-ee:test-build --container-runtime=docker
2 changes: 1 addition & 1 deletion build/requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ansible-builder==1.2.0
ansible-builder==3.0.0
19 changes: 17 additions & 2 deletions execution-environment.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
---
version: 1
version: 3
images:
base_image:
name: quay.io/centos/centos:stream9
dependencies:
ansible_core:
# Require minimum of 2.15 to get ansible-inventory --limit option
package_pip: ansible-core>=2.15.0rc2,<2.16
ansible_runner:
package_pip: ansible-runner
galaxy: spec/galaxy.yml
python: spec/requirements.txt
system: spec/bindep.txt
python: spec/requirements.txt
additional_build_steps:
append_base:
- RUN $PYCMD -m pip install -U pip
append_final:
- COPY --from=quay.io/ansible/receptor:devel /usr/bin/receptor /usr/bin/receptor
- RUN mkdir -p /var/run/receptor
- RUN git lfs install --system
12 changes: 11 additions & 1 deletion spec/bindep.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
python38-devel [platform:rpm compile]
python3.9-devel [platform:rpm compile]
openldap-devel [platform:rpm compile]
gcc [platform:rpm compile]
git-core [platform:rpm]
libcurl-devel [platform:rpm compile]
subversion [platform:rpm]
git-lfs [platform:rpm]
sshpass [platform:rpm]
rsync [platform:rpm]
epel-release [platform:rpm]
python-unversioned-command [platform:rpm]
unzip [platform:rpm]
2 changes: 2 additions & 0 deletions spec/galaxy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ collections:
- name: community.hashi_vault
- name: community.vmware
- name: vmware.vmware_rest
- name: community.zabbix
- name: crowdstrike.falcon
12 changes: 12 additions & 0 deletions spec/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,15 @@ ansible-modules-hashivault==5.1.1
jmespath==1.0.1
# Required by community.general LDAP plugins
python-ldap==3.4.3

# CS and RC specifics
ansible-sign==0.1.1
ncclient==0.6.15
paramiko==2.12.0
pyOpenSSL==23.3.0
toml==0.10.2
pexpect==4.9.0
python-daemon==3.0.1
pyyaml==6.0.1
six==1.16.0
crowdstrike-falconpy==1.3.0

0 comments on commit 1a3d64a

Please sign in to comment.