Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mathew-jose
Copy link
Collaborator

Integrated newman cli in github actions to run a postman collection once docker images are built.

Checklist:

  • My changes generate no new warnings
  • [] I have added tests that prove my fix is effective or that my feature works
  • Any dependent changes have been merged
  • I have documented any changes if required in the docs.

uses: actions/checkout@v3

- name: Pull Images From DockerHub and Start crAPI
run: docker-compose -f deploy/docker/docker-compose.yml --compatibility up -d
Copy link
Collaborator

@piyushroshan piyushroshan May 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to prefix the docker-compose with VERSION variable so it always uses the currently built images and not remote images.
Also combine this to the previous JOB to leverage the QEMU setup.
VERSION=${{ env.TAG_NAME }} docker-compose -f deploy/docker/docker-compose.yml --compatibility up -d

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have made the changes and pushed to my branch.

@piyushroshan piyushroshan merged commit 30b3695 into OWASP:develop May 12, 2022
piyushroshan added a commit that referenced this pull request May 26, 2022
* Removed reference to Traceable from Service - Web

* Removed reference to Traceable from Service - Workshop

* build-docker-images

build-docker-images on pull request

* Removed Author meta tag

* CI workflow setup

* Fix tags syntax

* Convert env to job.build.env

* Convert job context to needs job output

* Fix workflow push condition

* Push condition workflow fix

* Removed mentions of Traceable from the source code (#22)

* Removed all Traceable mentions in crapi-community service

* Removed all Traceable mentions in crapi-identity service

* Removed all Traceable mentions in deploy configs and Removed Copyright file

* Removed all Traceable mentions in README and LICENSE

* Removed all Traceable mentions in k8 deploy configs

* Correct indentation fixing workflow issues (#34)

* Modified docker configs to support ARM builds (#20)

* Added scripts to built mailhog

* Moved from docker-compose-wait to pure docker-compose alternative

* Removed GOOS and GOARCH env variables

* Modified bash build script to only run bash files recursively

Co-authored-by: Roshan Piyush <[email protected]>

* Batch Files To Deploy Docker on Windows Machine (#19)

* Added batch files for all services

* Added the batch file to build all docker images

* Removed comments from build batch files

* Updated README

* Modified README

* Removed Print Statements

Co-authored-by: Roshan Piyush <[email protected]>

* Docker compose support variables for different release (#37)

* Docker compose support variables for different release

* Update build wrappers

* Change pull_request docker login condition (#40)

* Retrieval Of Orders Bug (#38)

Retrieval Of Orders Bug (#38)

* Added Heap memory limit for crapi-identity java application (#36)

Co-authored-by: Roshan Piyush <[email protected]>

* Update readme (#43)

* Update CI branch refs (#44)

* Workflow merge fix (#45)

* vagrant: upgrade to ubuntu jammy (#42)

vagrant: upgrade to ubuntu jammy (#42)

* chore: adds contributing guidelines, code of conduct, PR and issue templates (#46)

Co-authored-by: Jayesh Bapu Ahire <[email protected]>

* Modify Templates: Pull Request and Issues (#48)

* Update templates
* Modify guidelines
* Fix workflow path

* Max File Size Limit for Video Files (#47)

* Added Video Size Limit

* Load built images in docker (#51)

* Seperate build, run and push

* Run Postman Collection Once All Docker Images are built (#50)

* Added Postman collection and env variables
* Update ci.yml to run postman collections

Co-authored-by: Roshan Piyush <[email protected]>

* Dynamic Ports for Identity, Community and Workshop services (#49)

* Added dynamic port settings for Identity service

* Added dynamic port settings for Community service

* Added dynamic port settings for Workshop service

* Added default port numbers for the services

* Version Variable for Windows (#53)

* Set version env variable for docker-compose

* Increased memory limit for crapi-identity container (#57)

* Openapi Spec Added (#58)

Co-authored-by: mathew-jose <[email protected]>

* Update Vagrant to use prebuilt images and fix db versions (#59)

* Update Vagrant to use prebuilt images

* Fix mongo and postgres version

* Update latest on main merge (#60)

Update latest tag on main merge

* Release created -> published (#62)

Release created -> published

Co-authored-by: mathew-jose <[email protected]>
Co-authored-by: Nikhil R <[email protected]>
Co-authored-by: Mathew Jose Mammoottil <[email protected]>
Co-authored-by: Nikhil R <[email protected]>
Co-authored-by: PauloASilva <[email protected]>
Co-authored-by: Jayesh Bapu Ahire <[email protected]>
Co-authored-by: Jayesh Bapu Ahire <[email protected]>
Co-authored-by: willmccardell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants