Skip to content

Commit

Permalink
chore(deps): update ghcr.io/envelope-zero/backend docker tag to v5 (#…
Browse files Browse the repository at this point in the history
…1545)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Morre <morre@mor.re>
  • Loading branch information
renovate[bot] and morremeyer authored Feb 12, 2024
1 parent 1c19f98 commit 192012b
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
# Current backend version as service container
services:
backend:
image: ghcr.io/envelope-zero/backend:v4.2.2
image: ghcr.io/envelope-zero/backend:v5.0.0
env:
CORS_ALLOW_ORIGINS: http://localhost:3000
API_URL: http://localhost:3000/api
Expand Down
4 changes: 3 additions & 1 deletion cypress/e2e/budgets.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,9 @@ describe('Budget: ynab4 import', () => {
cy.getInputFor('File').selectFile('cypress/fixtures/ynab4-budget.json')
cy.contains('Save').click()
cy.awaitLoading()
cy.contains('this endpoint only supports .yfull files')
cy.contains(
'this endpoint only supports files of the following types: .yfull'
)

cy.getInputFor('File').selectFile('cypress/fixtures/empty.yfull')
cy.contains('Save').click()
Expand Down
2 changes: 1 addition & 1 deletion cypress/e2e/categories-envelopes.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ describe('Envelope: Creation', () => {
cy.contains('Envelopes').click()
cy.getByTitle('Create Envelope').first().click()
cy.contains('Save').click()
cy.contains('no Category ID specified')
cy.contains('there is no category matching your query')
})
})
2 changes: 1 addition & 1 deletion cypress/support/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ Cypress.Commands.add('awaitLoading', () => {

Cypress.Commands.add('resetDb', () => {
// Delete all resources
cy.request('DELETE', '/api/v3?confirm=yes-please-delete-everything')
cy.request('DELETE', '/api/v4?confirm=yes-please-delete-everything')
})
2 changes: 1 addition & 1 deletion docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ volumes:

services:
backend:
image: ghcr.io/envelope-zero/backend:v4.2.2
image: ghcr.io/envelope-zero/backend:v5.0.0
user: root
volumes:
- ez-dev-data:/data
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ volumes:

services:
backend:
image: ghcr.io/envelope-zero/backend:v4.2.2
image: ghcr.io/envelope-zero/backend:v5.0.0
user: root
volumes:
- ez-production-data:/data
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3'
services:
backend:
image: ghcr.io/envelope-zero/backend:v4.2.2
image: ghcr.io/envelope-zero/backend:v5.0.0
user: root
ports:
- 8081:8080
Expand Down
2 changes: 1 addition & 1 deletion src/components/BudgetImport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const BudgetImport = (props: Props) => {
event.preventDefault()

setIsLoading(true)
fetch(`/api/v3/import/ynab4?budgetName=${budgetName}`, {
fetch(`/api/v4/import/ynab4?budgetName=${budgetName}`, {
method: 'POST',
body: new FormData(event.target as HTMLFormElement),
})
Expand Down
2 changes: 1 addition & 1 deletion src/components/TransactionImport/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const Form = ({ accounts, setResult }: Props) => {
)

// Send the parsed file to the backend for processing
fetch(`/api/v3/import/ynab-import-preview?accountId=${accountId}`, {
fetch(`/api/v4/import/ynab-import-preview?accountId=${accountId}`, {
method: 'POST',
body: data,
})
Expand Down

0 comments on commit 192012b

Please sign in to comment.