Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tf deploy custom container #287

Merged
merged 19 commits into from
Oct 3, 2023
Merged

Tf deploy custom container #287

merged 19 commits into from
Oct 3, 2023

Conversation

hulto
Copy link
Collaborator

@hulto hulto commented Sep 23, 2023

What type of PR is this?

/kind cleanup
/kind documentation
/kind feature

What this PR does / why we need it:

This PR implements a tavern_container_image variable to enable non kcarretto containers to be used.
This PR also resolves minor issues with the UI:

  • Apollo client hardcoded to http://localhost:80/graphql has been switched /graphql
  • The npm build script was deleting the embed.go file which is required to embed the compiled ui into the go binary. This has been fixed by copying a template of the embed.go file once npm run build finishes
  • Resolves the refresh issue with our single page react app using a catch all redirect to index.html

Related docs have been updated.

Which issue(s) this PR fixes:

Fixes #285 #286 #288

@codecov
Copy link

codecov bot commented Sep 23, 2023

Codecov Report

Merging #287 (bb7c722) into main (38c1d60) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #287   +/-   ##
=======================================
  Coverage   74.84%   74.84%           
=======================================
  Files          94       94           
  Lines        6105     6106    +1     
=======================================
+ Hits         4569     4570    +1     
  Misses       1450     1450           
  Partials       86       86           
Files Coverage Δ
tavern/app.go 57.26% <100.00%> (+0.36%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@hulto hulto merged commit 7ffe6ba into main Oct 3, 2023
8 checks passed
@hulto hulto deleted the tf-deploy-custom-container branch October 3, 2023 02:48
hulto added a commit that referenced this pull request Oct 5, 2023
* Fixing ui apollo ref

* Rebuild UI

* Automate embed.go creation

* Switch to catch-all for requests without a file
KCarretto pushed a commit that referenced this pull request Feb 1, 2024
 
Tf deploy custom container (#287)

* Fixing ui apollo ref

* Rebuild UI

* Automate embed.go creation

* Switch to catch-all for requests without a file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tavern ui apollo client is hardcoded for localhost
2 participants