Skip to content

Commit

Permalink
- Adopt official APIM docker image #447
Browse files Browse the repository at this point in the history
  • Loading branch information
rathnapandi committed Dec 11, 2023
1 parent c05fc8d commit 4d07ed5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ jobs:
docker load -i ~/cache-docker/$CACHE_FILE_CASSANDRA
- name: Run docker images
run: |
pwd
ls -l
mkdir licenses
echo ${{ secrets.APIM_LIC }} | base64 -di > licenses/apim.lic
docker-compose run --rm start_cassandra
Expand Down
20 changes: 20 additions & 0 deletions Integration_test_setup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@

# Purpose
The project is using Integration-Tests to simulate tasks the API-Developer is doing. That means, creating the API for the first time, doing frequent changes, subscribe with applications, etc.
For that TravisCI is using, which is starting an API-Manager V7.x Docker-Container to perform these integration tests. This document describes the steps to setup Github to run Integration tests.

## Steps
- Use a license without hostname binding, The license file is used as environment variable on github CI / CD pipeline. To use license file as environment variable, do base64 encodeing
```bash
base64 -i ~/Downloads/API-7.7-Docker-Temp.lic

```
- Go to Actions secrets and variables on Github page and update variable APIM_LIC
- Create a service account on Amplify and copy client_id and password, the credentials is used to download the docker images from Axway repository.

- Go to Actions secrets and variables on Github page and update variable
Perform the following steps:
- Update Github variable AXWAY_DOCKER_REG_PASS with client_id
- Update Github variable AXWAY_DOCKER_REG_USER with client_secret


0 comments on commit 4d07ed5

Please sign in to comment.