Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Docker image for Python Behavior Driven Development Pipeline
FROM rofrano/nyu-devops-base:fa24
FROM rofrano/nyu-devops-base:sp25

# This build image needs to be root to work in IBM Cloud CI/CD
USER root
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Create a Stage with a Test Job and select **Custom Docker Image** as the *Tester
```bash
#!/bin/bash
#Invoke tests here
pip install -qr requirements.txt
pipenv install --system --dev
echo "**************************************************"
echo " R U N N I N G T H E T E S T S "
echo "**************************************************"
Expand All @@ -40,12 +40,12 @@ To run locally use:
docker run --rm -it -h nyu --user vscode -v $(pwd):/app -w /app rofrano/pipeline-selenium bash
```

That will place you inside the container as the user `vscode` sitting at a `bash` prompt in the `/app` folder that has been shared with your current working directory so that you can `pip install` your dependencies and start your testing.
That will place you inside the container as the user `vscode` sitting at a `bash` prompt in the `/app` folder that has been shared with your current working directory so that you can `pipenv install` your dependencies and start your testing.

## License

Copyright (c) 2022, 2023 John Rofrano. All rights reserved.
Copyright (c) 2022, 2025 John Rofrano. All rights reserved.

Licensed under the Apache License. See [LICENSE](LICENSE)

This repo is part of the NYU masters class: **CSCI-GA.2820-001 DevOps and Agile Methodologies** created by *John Rofrano*
This repository is part of the NYU graduate class **CSCI-GA.2810-001: DevOps and Agile Methodologies** taught by [John Rofrano](http://cs.nyu.edu/~rofrano/), Adjunct Instructor, NYU Courant Institute, Graduate Division, Computer Science.
6 changes: 3 additions & 3 deletions install-tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ echo "**********************************************************************"

if [ $(uname -m) == aarch64 ]; then
echo "ARM64 platform detected."
wget -qO - https://github.com/mozilla/geckodriver/releases/download/v0.33.0/geckodriver-v0.33.0-linux-aarch64.tar.gz | tar xz
wget -qO - https://github.com/mozilla/geckodriver/releases/download/v0.36.0/geckodriver-v0.36.0-linux-aarch64.tar.gz | tar xz
else
echo "x86_64 platform detected."
wget -qO - https://github.com/mozilla/geckodriver/releases/download/v0.33.0/geckodriver-v0.33.0-linux64.tar.gz | tar xz
wget -qO - https://github.com/mozilla/geckodriver/releases/download/v0.36.0/geckodriver-v0.36.0-linux64.tar.gz | tar xz
fi;
sudo install geckodriver /usr/bin/
sudo install geckodriver /usr/local/bin/
rm geckodriver