This repository was archived by the owner on Apr 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree
build/azure-devops/eschool-graphql Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121
2222 - uses : actions/setup-dotnet@v1
2323 with :
24- dotnet-version : ' 5.0.100-preview.7.20366.6 '
24+ dotnet-version : ' 5.0.x '
2525
2626 # If this run was triggered by a pull request event, then checkout
2727 # the head of the pull request instead of the merge commit.
Original file line number Diff line number Diff line change 1+ name : ESchool.GraphQL
2+
3+ on :
4+ push :
5+ paths :
6+ - " src/ApiGateways/eSchool.GraphQL/**"
7+ - " .github/workflows/eschool.graphql.yml"
8+ - " src/Libraries/OpenTelemetry/**"
9+ pull_request :
10+ paths :
11+ - " src/ApiGateways/eSchool.GraphQL/**"
12+ - " .github/workflows/eschool.graphql.yml"
13+ - " src/Libraries/OpenTelemetry/**"
14+
15+ jobs :
16+ build :
17+ runs-on : ubuntu-16.04
18+
19+ steps :
20+ - uses : actions/checkout@v1
21+
22+ - name : set image tag
23+ run : echo "TAG=$(git tag --points-at HEAD | cut -c 2-4)" >> $GITHUB_ENV
24+
25+ - name : build
26+ run : docker-compose build eschool.graphql
27+
28+ - uses : azure/docker-login@v1
29+ if : startsWith(github.ref, 'refs/tags') || github.ref == 'refs/heads/master'
30+ with :
31+ login-server : index.docker.io
32+ username : ${{ secrets.DOCKERIO_USERNAME }}
33+ password : ${{ secrets.DOCKERIO_PASSWORD }}
34+
35+ - name : push image
36+ if : startsWith(github.ref, 'refs/tags') || github.ref == 'refs/heads/master'
37+ run : docker-compose push eschool.graphql
Original file line number Diff line number Diff line change 22
33## Linux Build Status for 'master' branch
44
5- | Enrolling.API | WebStatus |
6- | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
7- | [ ![ Build Status] ( https://dev.azure.com/OpenCodeFoundation/eSchool/_apis/build/status/Enrolling?branchName=master )] ( https://dev.azure.com/OpenCodeFoundation/eSchool/_build/latest?definitionId=4&branchName=master ) | [ ![ Build Status] ( https://dev.azure.com/OpenCodeFoundation/eSchool/_apis/build/status/WebStatus?branchName=master )] ( https://dev.azure.com/OpenCodeFoundation/eSchool/_build/latest?definitionId=5&branchName=master ) |
8- | [ ![ Actions Status] ( https://github.com/OpenCodeFoundation/eSchool/workflows/Enrolling.API/badge.svg )] ( https://github.com/OpenCodeFoundation/eSchool/actions ) | [ ![ Actions Status] ( https://github.com/OpenCodeFoundation/eSchool/workflows/WebStatus/badge.svg )] ( https://github.com/OpenCodeFoundation/eSchool/actions ) |
5+ | Enrolling.API | WebStatus | eSchool.GraphQL |
6+ | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
7+ | [ ![ Build Status] ( https://dev.azure.com/OpenCodeFoundation/eSchool/_apis/build/status/Enrolling?branchName=master )] ( https://dev.azure.com/OpenCodeFoundation/eSchool/_build/latest?definitionId=4&branchName=master ) | [ ![ Build Status] ( https://dev.azure.com/OpenCodeFoundation/eSchool/_apis/build/status/WebStatus?branchName=master )] ( https://dev.azure.com/OpenCodeFoundation/eSchool/_build/latest?definitionId=5&branchName=master ) | [ ![ Build Status ] ( https://dev.azure.com/OpenCodeFoundation/eSchool/_apis/build/status/ESchool.GraphQL?branchName=master )] ( https://dev.azure.com/OpenCodeFoundation/eSchool/_build/latest?definitionId=7&branchName=master ) |
8+ | [ ![ Actions Status] ( https://github.com/OpenCodeFoundation/eSchool/workflows/Enrolling.API/badge.svg )] ( https://github.com/OpenCodeFoundation/eSchool/actions ) | [ ![ Actions Status] ( https://github.com/OpenCodeFoundation/eSchool/workflows/WebStatus/badge.svg )] ( https://github.com/OpenCodeFoundation/eSchool/actions ) | [ ![ Actions Status ] ( https://github.com/OpenCodeFoundation/eSchool/workflows/ESchool.GraphQL/badge.svg )] ( https://github.com/OpenCodeFoundation/eSchool/actions ) |
99
1010## System requirements
1111### Recommended Hardware requirements for Windows
Original file line number Diff line number Diff line change 1+ pool :
2+ vmImage : " ubuntu-16.04"
3+ trigger :
4+ paths :
5+ include :
6+ - src/ApiGateways/eSchool.GraphQL/*
7+ - build/azure-devops/eschool-graphql/*
8+ pr :
9+ paths :
10+ include :
11+ - src/ApiGateways/eSchool.GraphQL/*
12+ - build/azure-devops/eschool-graphql/*
13+ steps :
14+ - task : DockerCompose@0
15+ displayName : Build
16+ inputs :
17+ dockerComposeCommand : " build eschool.graphql"
18+ dockerComposeFile : docker-compose.yml
You can’t perform that action at this time.
0 commit comments