Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ci_pipeline.yml #56108

Merged
merged 1 commit into from
Jan 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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