Skip to content

Commit

Permalink
Develop (#32)
Browse files Browse the repository at this point in the history
### To be filled by the PR creator:

* A brief description of the changes made - 

* Do we have clean latest run report attached with this PR?
  * [ ] Yes
  * [ ] No (Please explain why)

* Does the PR contain changes to any BP core file?
  * [ ] Yes (Needs approval from at least 2 people)
  * [ ] No

* Does the PR contain changes to modules shared with other teams?
* [ ] Yes (Needs approval from at least one of the other teams that use
the module)
  * [ ] No

* Is it
  * [ ] New Testcase
  * [ ] Fix


### To be filled by the PR reviewer:

* [ ] Verify the attached run report passed in GitHub Actions (Justify
if local run)

* General
    * [ ] Use the best strategy to locate the elements
    * [ ] Comments wherever the code is not readable by itself
    * [ ] Use of the right data structure for the use case
    * [ ] Reuse logic/functionality as much as possible
    * [ ] Cleanup of any test data that is generated by the tests
    * [ ] No static waits
  • Loading branch information
Tauqir Sarwar authored Mar 18, 2024
2 parents 952a222 + 500d111 commit 66e0d5c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
29 changes: 13 additions & 16 deletions .github/workflows/docker_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,28 +80,25 @@ jobs:
with:
python-version: "3.9"

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Check out code
id: co_code
if: steps.setup_python.outcome == 'success'
uses: actions/checkout@v4

- name: Set up Docker
id: docker_env_setup
if: steps.validate_input.outcome == 'success'
if: steps.co_code.outcome == 'success'
uses: docker/setup-buildx-action@v3

- name: Build and start Docker Compose services
id: docker_compose
if: steps.docker_env_setup.outcome == 'success'
run: |
find * | awk '{print length "\t" $0}' docker-compose.yml
docker compose --file docker-compose.yml up -d
- name: Wait for services to start
run: sleep 30

- name: Check out code
id: co_code
if: steps.docker_compose.outcome == 'success'
uses: actions/checkout@v4

- name: Setup dependencies
run: |
sh install.sh
Expand Down Expand Up @@ -158,25 +155,25 @@ jobs:
with:
python-version: "3.9"

- name: Check out code
id: co_code
if: steps.setup_python.outcome == 'success'
uses: actions/checkout@v4

- name: Set up Docker
id: docker_env_setup
if: steps.setup_python.outcome == 'success'
if: steps.co_code.outcome == 'success'
uses: docker/setup-buildx-action@v3

- name: Build and start Docker Compose services
id: docker_compose
if: steps.docker_env_setup.outcome == 'success'
run: |
sudo docker compose --file docker-compose.yaml up -d
docker compose --file docker-compose.yml up -d
- name: Wait for services to start
run: sleep 30

- name: Check out code
id: co_code
if: steps.docker_compose.outcome == 'success'
uses: actions/checkout@v4

- name: Setup dependencies
id: setup_dependencies
if: steps.docker_compose.outcome == 'success'
Expand Down
Empty file modified docker-compose.yml
100644 → 100755
Empty file.

0 comments on commit 66e0d5c

Please sign in to comment.