|
37 | 37 | uses: eclipse-uprotocol/ci-cd/.github/workflows/rust-coverage.yaml@main
|
38 | 38 |
|
39 | 39 | current-spec-compliance:
|
40 |
| - uses: eclipse-uprotocol/ci-cd/.github/workflows/requirements-tracing.yaml@main |
41 |
| - with: |
42 |
| - env-file-suffix: "oft-current" |
| 40 | + runs-on: ubuntu-latest |
| 41 | + # we do not invoke the corresponding job from ci-cd repo |
| 42 | + # because we do not want the job to fail if not all requirements |
| 43 | + # are covered (yet) |
| 44 | + steps: |
| 45 | + - uses: actions/checkout@v4 |
| 46 | + with: |
| 47 | + submodules: "recursive" |
| 48 | + - name: "Determine OpenFastTrace file patterns from .env file" |
| 49 | + |
| 50 | + with: |
| 51 | + mode: "oft-current" |
| 52 | + load-mode: strict |
| 53 | + # this will run OFT and upload the results |
| 54 | + - name: Run OpenFastTrace |
| 55 | + id: run-oft |
| 56 | + uses: eclipse-uprotocol/ci-cd/.github/actions/run-oft@main |
| 57 | + with: |
| 58 | + file-patterns: "${{ env.OFT_FILE_PATTERNS }}" |
| 59 | + tags: "${{ env.OFT_TAGS_}}" |
| 60 | + |
43 | 61 |
|
44 | 62 | tag_release_artifacts:
|
45 | 63 | # This only runs if this workflow is initiated via a tag-push with pattern 'v*'
|
|
57 | 75 | with:
|
58 | 76 | submodules: "recursive"
|
59 | 77 |
|
| 78 | + - name: "Determine uProtocol Specification file patterns from .env file" |
| 79 | + |
| 80 | + with: |
| 81 | + mode: "oft-current" |
| 82 | + load-mode: strict |
| 83 | + |
60 | 84 | # Requirements Tracing report - we later need the download_url output of the upload step
|
61 | 85 | - name: Download requirements tracing report
|
62 | 86 | uses: actions/download-artifact@v4
|
@@ -114,15 +138,15 @@ jobs:
|
114 | 138 | - name: Gather uProtocol Specification documents
|
115 | 139 | shell: bash
|
116 | 140 | run: |
|
117 |
| - tar cvz --file up-spec.tar.gz ${{ vars.UP_SPEC_OPEN_FAST_TRACE_FILE_PATTERNS }} |
| 141 | + tar cvz --file up-spec.tar.gz ${{ env.UP_SPEC_FILE_PATTERNS }} |
118 | 142 | - name: Upload relevant uProtocol Spec files to release
|
119 | 143 | uses: svenstaro/upload-release-action@v2
|
120 | 144 | id: upload_up_spec
|
121 | 145 | with:
|
122 | 146 | repo_token: ${{ secrets.GITHUB_TOKEN }}
|
123 | 147 | file: up-spec.tar.gz
|
124 | 148 | tag: ${{ github.ref }}
|
125 |
| - |
| 149 | + |
126 | 150 | - name: Gets latest created release info
|
127 | 151 | id: latest_release_info
|
128 | 152 | uses: joutvhu/get-release@v1
|
|
0 commit comments