Skip to content

Commit

Permalink
Add ee-cloud-image
Browse files Browse the repository at this point in the history
  • Loading branch information
nleiva committed Nov 19, 2021
1 parent 027512a commit 9f72741
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .github/workflows/ee-cloud-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Workflow Name
name: Cloud EE build

# Controls when the workflow will run
on:
# Triggers the workflow on push events but only for the master branch
push:
branches:
- master
paths:
- 'ee-cloud-image/**'

# Schedule workflow run at 00:00 on Sunday
schedule:
- cron: '0 0 * * 0'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
call-deploy-workflow:
uses: nleiva/ee-builds/.github/workflows/deploy.yml@master
with:
EE_FOLDER_NAME: 'ee-cloud-image'
EE_IMAGE_TAG: 'latest'
QUAY_USER: 'nleiva'
secrets:
REDHAT_USERNAME: ${{ secrets.REDHAT_USERNAME }}
REDHAT_PASSWORD: ${{ secrets.REDHAT_PASSWORD }}
QUAY_PASSWORD: ${{ secrets.QUAY_PASSWORD }}
2 changes: 1 addition & 1 deletion .github/workflows/ee-web-image.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Workflow Name
name: General EE build
name: Web EE build

# Controls when the workflow will run
on:
Expand Down
Empty file added ee-cloud-image/bindep.txt
Empty file.
14 changes: 14 additions & 0 deletions ee-cloud-image/execution-environment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
version: 1.2

build_arg_defaults:
EE_BASE_IMAGE: 'registry.redhat.io/ansible-automation-platform-20-early-access/ee-minimal-rhel8'

dependencies:
galaxy: requirements.yml
python: requirements.txt
system: bindep.txt

additional_build_steps:
append:
- RUN pip3 install ansible-lint
1 change: 1 addition & 0 deletions ee-cloud-image/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
awscli>=1.16.312
12 changes: 12 additions & 0 deletions ee-cloud-image/requirements.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
collections:
# A mix of the two until amazon.aws absorbs all the modules required in this repo.
- name: amazon.aws
version: 1.5.0
- name: community.aws
version: 1.5.0
- name: azure.azcollection
version: 1.10.0
- name: google.cloud
version: 1.0.2
- name: kubernetes.core
version: 2.1.1

0 comments on commit 9f72741

Please sign in to comment.