diff --git a/Dockerfile b/Dockerfile index 2becebc..edb3af9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/README.md b/README.md index 72e3625..f8d68b1 100644 --- a/README.md +++ b/README.md @@ -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 "**************************************************" @@ -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. diff --git a/install-tools.sh b/install-tools.sh index 1e73209..c2858d0 100644 --- a/install-tools.sh +++ b/install-tools.sh @@ -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