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
51
.github/workflows/testing_flow.yml
vendored
51
.github/workflows/testing_flow.yml
vendored
|
@ -8,18 +8,25 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
see-the-contexts:
|
see-the-contexts:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container:
|
||||||
|
image: alpine:latest
|
||||||
|
credentials:
|
||||||
|
username: ${{ DOCKERHUB_USERNAME }}
|
||||||
|
password: ${{ DOCKERHUB_TOKEN }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout pull request HEAD
|
- name: Checkout PR HEAD
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
ref: ${{ github.event.pull_request.head.ref }}
|
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
|
- name: Create a file
|
||||||
run: |
|
run: |
|
||||||
touch file8.txt
|
echo "added dummy file 6" > file28.txt
|
||||||
echo "added dummy file 6" > file8.txt
|
|
||||||
|
|
||||||
- name: commit and push
|
- name: commit and push
|
||||||
run: |
|
run: |
|
||||||
|
@ -28,7 +35,39 @@ jobs:
|
||||||
git add .
|
git add .
|
||||||
git commit -m "generated"
|
git commit -m "generated"
|
||||||
git push
|
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
|
- name: Repository Dispatch
|
||||||
run: |
|
run: |
|
||||||
curl \
|
curl \
|
||||||
|
|
Loading…
Reference in a new issue