mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:55:49 +00:00
Update testing_flow.yml
This commit is contained in:
parent
b47867fa07
commit
92a01916c6
1 changed files with 45 additions and 6 deletions
47
.github/workflows/testing_flow.yml
vendored
47
.github/workflows/testing_flow.yml
vendored
|
@ -8,18 +8,25 @@ on:
|
|||
jobs:
|
||||
see-the-contexts:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: alpine:latest
|
||||
credentials:
|
||||
username: ${{ DOCKERHUB_USERNAME }}
|
||||
password: ${{ DOCKERHUB_TOKEN }}
|
||||
|
||||
steps:
|
||||
- name: Checkout pull request HEAD
|
||||
- name: Checkout PR HEAD
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.ref }}
|
||||
token: ${{ secrets.MY_PAT }}
|
||||
# token: ${{ secrets.MY_PAT }}
|
||||
|
||||
- name: install curl
|
||||
run: apk --no-cache add curl
|
||||
|
||||
- name: Create a file
|
||||
run: |
|
||||
touch file8.txt
|
||||
echo "added dummy file 6" > file8.txt
|
||||
echo "added dummy file 6" > file28.txt
|
||||
|
||||
- name: commit and push
|
||||
run: |
|
||||
|
@ -29,6 +36,38 @@ jobs:
|
|||
git commit -m "generated"
|
||||
git push
|
||||
|
||||
|
||||
tee-the-contexts:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: alpine:latest
|
||||
credentials:
|
||||
username: ${{ DOCKERHUB_USERNAME }}
|
||||
password: ${{ DOCKERHUB_TOKEN }}
|
||||
|
||||
steps:
|
||||
- name: Checkout PR HEAD
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.ref }}
|
||||
# token: ${{ secrets.MY_PAT }}
|
||||
|
||||
- name: Create a file
|
||||
run: |
|
||||
echo "added dummy file 6" > Jenkinsfile_main
|
||||
|
||||
- name: commit and push
|
||||
run: |
|
||||
git config user.name jstan-isch
|
||||
git config user.email stanleyikegwuonu@gmail.com
|
||||
git add .
|
||||
git commit -m "generated"
|
||||
git push
|
||||
|
||||
vee-the-contexts:
|
||||
needs: [see-the-contexts, tee-the-contexts]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Repository Dispatch
|
||||
run: |
|
||||
curl \
|
||||
|
|
Loading…
Reference in a new issue