Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
iogbole committed Aug 15, 2020
1 parent 328f88b commit 9eaf36f
Showing 1 changed file with 14 additions and 22 deletions.
36 changes: 14 additions & 22 deletions .github/workflows/DockerBuildPush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
release:
types: [published]
jobs:
push_to_registry:
build_and_push_to_registry:
name: Push ConfigMyApp Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
Expand All @@ -17,25 +17,17 @@ jobs:
repository: appdynamicscx/configmyapp
tags: "latest"
dockerfile: docker/Dockerfile

- name: TestCase1- Basic ConfigMyApp
run: |
echo Running basic CMA,
pwd,
ls -ltr,
./start.sh -a Jenkins_API -c configmyappdemo-2044no-uzyczrm0.appd-cx.com -p appd -u appd
- name: TestCase2- BT_ONLY
run: |
echo Running BT_ONLY,
./start.sh -a Jenkins_API -c configmyappdemo-2044no-uzyczrm0.appd-cx.com -p appd -u appd --bt-only
- name: TestCase3- Action suppression
run: |
echo Running Action Suppression,
./start.sh -a Jenkins_API -c configmyappdemo-2044no-uzyczrm0.appd-cx.com -p appd -u appd --suppress-action
- name: TestCase4-SIM and DB

test_docker_image:
name: Docker image QA
runs-on: ubuntu-latest
container:
image: appdynamicscx/configmyapp:latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: TestCase1- Basic and BT configuration
run: |
echo Running SIM and DB,
./start.sh -a IoT_API -c configmyappdemo-2044no-uzyczrm0.appd-cx.com -p appd -u appd --include-database --database-name 'ConfigMyApp' --include-sim
echo Running docker image,
./docker/run.sh

0 comments on commit 9eaf36f

Please sign in to comment.