Skip to content

Commit

Permalink
Merge pull request #56108 from code-dot-org/pablo-code-org-patch-9
Browse files Browse the repository at this point in the history
Update ci_pipeline.yml
  • Loading branch information
pablo-code-org committed Jan 30, 2024
2 parents bdcc46d + dbbfee1 commit aac7bfb
Showing 1 changed file with 27 additions and 6 deletions.
33 changes: 27 additions & 6 deletions .github/workflows/ci_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ name: CI Pipeline

on:
workflow_dispatch:
# Add additional trigger events as needed (e.g., push, pull_request, etc.)
inputs:
pr_id:
description: 'Pull Request ID'
required: true
default: '55766'

env:
AWS_DEFAULT_REGION: us-east-1
Expand Down Expand Up @@ -40,12 +44,29 @@ jobs:

- name: Set up Docker Environment
run: docker build -t code-dot-org-testing-docker-image -f ./code-dot-org/docker/dockerfiles/Dockerfile ./code-dot-org
- name: Run ls Unit Tests without working dir

- name: Aggressive Debugging of Docker Container
run: |
docker run \
code-dot-org-testing-docker-image \
/bin/bash -c "ls -la ."
echo "Debugging Root Directory"
docker run code-dot-org-testing-docker-image /bin/bash -c "ls -la /"
echo "Debugging Home Directory"
docker run code-dot-org-testing-docker-image /bin/bash -c "ls -la /home"
echo "Debugging Code-dot-org Directory"
docker run code-dot-org-testing-docker-image /bin/bash -c "ls -la /home/code-dot-org"
echo "Debugging Docker Directory"
docker run code-dot-org-testing-docker-image /bin/bash -c "ls -la /home/code-dot-org/docker"
echo "Debugging Docker Files Directory"
docker run code-dot-org-testing-docker-image /bin/bash -c "ls -la /home/code-dot-org/docker/dockerfiles"
echo "Searching for ui_tests.sh in Entire Filesystem"
docker run code-dot-org-testing-docker-image /bin/bash -c "find / -type f -name 'ui_tests.sh' 2>/dev/null"
echo "Displaying Environment Variables"
docker run code-dot-org-testing-docker-image /bin/bash -c "printenv"
- name: Update Cache
uses: actions/cache@v2
Expand Down

0 comments on commit aac7bfb

Please sign in to comment.