-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Create Jenkinsfile * Add run nose to Jenkinsfile * pip3: not found * install pip * public keys for jenkins * Update Jenkinsfile * still addressing public key * Update utilitylib.py * Create greetings.yml * pwd * Update Jenkinsfile * Find test * Update Jenkinsfile * bash commands needs to pipline * Update PYTHONPATH * export PYTHONPATH * Update triggers for python-nose.yml
- Loading branch information
1 parent
6a8df70
commit 3be1aff
Showing
4 changed files
with
47 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Greetings | ||
|
||
on: [pull_request_target, issues] | ||
|
||
jobs: | ||
greeting: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/first-interaction@v1 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
issue-message: "Message that will be displayed on users' first issue" | ||
pr-message: "Message that will be displayed on users' first pull request" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
pipeline { | ||
agent any | ||
stages { | ||
stage('Install pip') { | ||
steps { | ||
//sh 'wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | gpg --dearmor | sudo tee /usr/share/keyrings/jenkins-archive-keyring.gpg > /dev/null' | ||
sh 'sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5BA31D57EF5975CA' | ||
sh 'apt-get update && apt-get install -y python3-pip' | ||
} | ||
} | ||
stage('Install Requirements') { | ||
steps { | ||
sh 'pip3 install --upgrade pip' // sh means bash | ||
sh 'pip3 install -r requirements.txt' | ||
} | ||
} | ||
stage('version') { | ||
steps { | ||
sh 'python3 --version' | ||
} | ||
} | ||
stage('Run nose2') { | ||
steps { | ||
sh 'export PYTHONPATH=$(pwd) && cd $(pwd)/test && nose2' | ||
} | ||
} | ||
// Add more stages as needed | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters