-
Notifications
You must be signed in to change notification settings - Fork 2
58 lines (47 loc) · 1.61 KB
/
brycerunner.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: bryce Deploy Thingy
on: [push]
jobs:
DeployingPipeline:
runs-on: brycelabel
steps:
- name: "clean things up"
run: |
pwd
cd ./ticketsrus-aaron-bryce-carlos/BryceDocker
docker compose down -v
cd ../../
rm -rf ./ticketsrus-aaron-bryce-carlos
- name: "clone project"
run: git clone --branch separateBranch https://${{secrets.BRYCE_GITHUB_PAT}}@github.com/SnowSE/ticketsrus-aaron-bryce-carlos.git
#something1
- name: "run the build command"
run: |
# cd ./ticketsrus-aaron-bryce-carlos/BryceDocker
# docker compose up --build -d
- name: "Push thingy"
run: |
cd ./ticketsrus-aaron-bryce-carlos/
ls -la
docker build -t 144.17.92.12:5000/bryce2/blazor-web:1 .
docker push 144.17.92.12:5000/bryce2/blazor-web:1
kubectl apply -f kube/
# - name: "Integration Tests"
# run: |
# cd ./ticketsrus-aaron-bryce-carlos/TestTicket
# dotnet test
# - name: "Unit Test"
# run: |
# cd ./ticketsrus-aaron-bryce-carlos/UnitTest
# dotnet test
# - name: "linting"
# run: |
# cd ./ticketsrus-aaron-bryce-carlos
# dotnet format --verify-no-changes
# - name: "Teams Notification"
# uses: skitionek/notify-microsoft-teams@master
# if: always()
# with:
# webhook_url: ${{ secrets.BryceWebHook }}
# needs: ${{ toJson(needs) }}
# job: ${{ toJson(job) }}
# steps: ${{ toJson(steps) }}