Compare commits

...

10 Commits

Author SHA1 Message Date
0806e114e1 fixing build and test workflow
All checks were successful
Main / changes (push) Successful in 18s
Main / build-and-test (push) Successful in 5m48s
Main / deploy (push) Successful in 2m28s
Tag / build (push) Successful in 5m51s
Tag / deploy (push) Successful in 2m27s
2026-05-31 06:21:20 -05:00
fc716c664b fixing build and test workflow
All checks were successful
Main / changes (push) Successful in 22s
Main / build-and-test (push) Successful in 5m46s
Main / deploy (push) Successful in 2m34s
2026-05-31 06:09:58 -05:00
5a1e24a1ce updating version to 2.1.5
All checks were successful
Main / changes (push) Successful in 26s
Main / build-and-test (push) Successful in 5m58s
Main / deploy (push) Successful in 2m33s
2026-05-31 05:51:16 -05:00
b93327f840 updating log interceptor for read role
All checks were successful
Main / changes (push) Successful in 18s
Main / build-and-test (push) Successful in 5m49s
Main / deploy (push) Successful in 2m27s
2026-05-21 08:10:48 -05:00
bbcf6cb3de updating log interceptor for read role
Some checks failed
Main / changes (push) Successful in 24s
Main / build-and-test (push) Successful in 5m49s
Main / deploy (push) Failing after 2m24s
2026-05-21 07:44:36 -05:00
344d4f5625 updating log interceptor for read role
Some checks failed
Main / changes (push) Successful in 23s
Main / build-and-test (push) Successful in 5m51s
Main / deploy (push) Failing after 21s
2026-05-21 07:35:42 -05:00
22fbf7615b updating log interceptor for read role
Some checks failed
Main / changes (push) Successful in 18s
Main / build (push) Failing after 32s
Main / deploy (push) Has been skipped
2026-05-21 07:30:57 -05:00
5a84c221d6 updating log interceptor for read role
Some checks failed
Main / changes (push) Successful in 22s
Main / build (push) Successful in 6m15s
Main / deploy (push) Failing after 18s
2026-05-20 22:12:51 -05:00
13f1e86e72 Merge pull request '133-read-role-returns-500-from-api' (#135) from 133-read-role-returns-500-from-api into main
All checks were successful
Main / changes (push) Successful in 23s
Main / build (push) Has been skipped
Main / deploy (push) Has been skipped
Reviewed-on: #135
2026-05-20 23:10:54 -04:00
92fec88ad1 updating log interceptor for read role (#134)
Some checks failed
Main / changes (push) Successful in 25s
Main / build (push) Successful in 7m32s
Main / deploy (push) Failing after 48s
Reviewed-on: #134
Co-authored-by: noahspannbauer <noahspannbauer@icloud.com>
Co-committed-by: noahspannbauer <noahspannbauer@icloud.com>
2026-05-20 22:37:05 -04:00
9 changed files with 23 additions and 19 deletions

View File

@@ -15,7 +15,7 @@ jobs:
environment: ${{ inputs.environment_name }} environment: ${{ inputs.environment_name }}
steps: steps:
- name: Checkout - name: Checkout
uses: https://gitea.com/actions/checkout@v6 uses: actions/checkout@v4
with: with:
sparse-checkout: | sparse-checkout: |
api api
@@ -45,8 +45,8 @@ jobs:
- name: Build Client - name: Build Client
env: env:
VITE_API_URL: ${{ vars.VITE_API_URL }} VITE_API_URL: ${{ vars.VITE_API_URL }}
VITE_BASE_URL: ${{ case(inputs.environment_name === 'test', vars.VITE_BASE_URL_TEST, vars.VITE_BASE_URL_PROD) }} VITE_BASE_URL: ${{ inputs.environment_name == 'test' && vars.VITE_BASE_URL_TEST || vars.VITE_BASE_URL_PROD }}
VITE_CLIENT_ID: ${{ case(inputs.environment_name === 'test', vars.VITE_CLIENT_ID_TEST, vars.VITE_CLIENT_ID_PROD) }} VITE_CLIENT_ID: ${{ inputs.environment_name == 'test' && vars.VITE_CLIENT_ID_TEST || vars.VITE_CLIENT_ID_PROD }}
VITE_ISSUER_URI: ${{ vars.VITE_ISSUER_URI }} VITE_ISSUER_URI: ${{ vars.VITE_ISSUER_URI }}
VITE_TENANT_ID: ${{ vars.VITE_TENANT_ID }} VITE_TENANT_ID: ${{ vars.VITE_TENANT_ID }}
run: | run: |

View File

@@ -15,19 +15,20 @@ on:
permissions: permissions:
id-token: write id-token: write
contents: read contents: read
jobs: jobs:
deploy: deploy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
environment: ${{ inputs.environment_name }} environment: ${{ inputs.environment_name }}
steps: steps:
- name: Log in to Azure - name: Install Azure CLI
uses: azure/login@v3 run: |
with: curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
creds: '{"clientId":"${{ vars.AZURE_CLIENT_ID }}","clientSecret":"${{ secrets.AZURE_CLIENT_SECRET }}","subscriptionId":"${{ secrets.AZURE_SUBSCRIPTION_ID }}","tenantId":"${{ vars.AZURE_TENANT_ID }}"}'
- name: Azure CLI script - name: Log in to Azure
uses: azure/cli@v2 run: |
with: az login --service-principal --username ${{ vars.AZURE_CLIENT_ID }} --password ${{ secrets.AZURE_CLIENT_SECRET }} --tenant ${{ vars.AZURE_TENANT_ID }}
azcliversion: latest
inlineScript: | - name: Update Container App
az containerapp update --name ${{ inputs.app_name }}-${{ inputs.environment_name }} --container-name ${{ inputs.app_name }} --resource-group noahspan --image docker.io/noahspan/${{ inputs.app_name }}:${{ inputs.version_number }} run: |
az containerapp update --name ${{ inputs.app_name }}-${{ inputs.environment_name }} --container-name ${{ inputs.app_name }} --resource-group ${{ vars.RESOURCE_GROUP }} --image docker.io/noahspan/${{ inputs.app_name }}:${{ inputs.version_number }}

View File

@@ -8,9 +8,9 @@ jobs:
changes: changes:
uses: ./.gitea/workflows/changes.yaml uses: ./.gitea/workflows/changes.yaml
build: build-and-test:
if: ${{ needs.changes.outputs.api == 'true' || needs.changes.outputs.client == 'true' }} if: ${{ needs.changes.outputs.api == 'true' || needs.changes.outputs.client == 'true' }}
name: build name: build-and-test
needs: needs:
- changes - changes
uses: ./.gitea/workflows/build_and_test.yaml uses: ./.gitea/workflows/build_and_test.yaml

View File

@@ -1,3 +1,4 @@
# Flying API # Flying API
An API for the Flying app. An API for the Flying app.
...

View File

@@ -1,6 +1,6 @@
{ {
"name": "api", "name": "api",
"version": "2.1.4", "version": "2.1.5",
"description": "", "description": "",
"author": "", "author": "",
"private": true, "private": true,

View File

@@ -0,0 +1 @@
...

View File

@@ -1,7 +1,7 @@
{ {
"name": "client", "name": "client",
"private": true, "private": true,
"version": "2.1.4", "version": "2.1.5",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",

View File

@@ -13,6 +13,7 @@ export default defineConfig({
strictPort: true strictPort: true
}, },
server: { server: {
host: true,
port: 8080, port: 8080,
proxy: { proxy: {
'/api': { '/api': {

View File

@@ -1,6 +1,6 @@
{ {
"name": "@noahspan/flying", "name": "@noahspan/flying",
"version": "2.1.4", "version": "2.1.5",
"scripts": { "scripts": {
"start": "node api/dist/main", "start": "node api/dist/main",
"format": "prettier --write \"**/src/**/*.ts\" \"**/test/**/*.ts\"", "format": "prettier --write \"**/src/**/*.ts\" \"**/test/**/*.ts\"",