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

feat: add WEBUI_PORT interpolation #113

Merged
merged 7 commits into from
Jul 17, 2023
Merged

feat: add WEBUI_PORT interpolation #113

merged 7 commits into from
Jul 17, 2023

Conversation

CorrectRoadH
Copy link
Member

@CorrectRoadH CorrectRoadH commented Jun 29, 2023

What does the PR do?

The PR adds a new interpolation value. the interpolation is different from base interpolation. It only interpolates once when installing a new app and it will be written in yaml file(/var/lib/casasos/app).

Test Steps

  1. register a new app store https://github.com/CorrectRoadH/CasaOS-AppStore
  2. install usememos of the store.(the name is difference from official store)
  3. open the app and see the URL. we can see the port is assigned by casasos.

@CorrectRoadH CorrectRoadH marked this pull request as draft June 29, 2023 13:37
@CorrectRoadH CorrectRoadH marked this pull request as ready for review June 30, 2023 08:18
@CorrectRoadH
Copy link
Member Author

@tigerinus Please take a look

@codecov
Copy link

codecov bot commented Jun 30, 2023

Codecov Report

Merging #113 (3e125e3) into main (8dee229) will increase coverage by 0.01%.
The diff coverage is 22.22%.

@@            Coverage Diff             @@
##             main     #113      +/-   ##
==========================================
+ Coverage   20.75%   20.76%   +0.01%     
==========================================
  Files          29       29              
  Lines        4043     4060      +17     
==========================================
+ Hits          839      843       +4     
- Misses       3069     3081      +12     
- Partials      135      136       +1     
Impacted Files Coverage Δ
route/v2/compose_app.go 0.00% <0.00%> (ø)
service/compose_app.go 19.55% <23.52%> (+0.09%) ⬆️

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

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jul 5, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

@CorrectRoadH CorrectRoadH merged commit 8415b86 into IceWhaleTech:main Jul 17, 2023
@WisdomSky
Copy link

WisdomSky commented Jul 24, 2023

This needs proper documentation. As reference for current/aspiring CasaOS app developers.

@CorrectRoadH
Copy link
Member Author

This needs proper documentation. As reference for current/aspiring CasaOS app developers.

Yes! I'm writing it here: IceWhaleTech/CasaOS-AppStore#187

raller1028 pushed a commit to IceWhaleTech/CasaOS-AppStore that referenced this pull request Aug 3, 2023
add two magic values to the application contributor documents to help
the developer to get the most from casaos.

the document is waiting for these PRs to be merged
- IceWhaleTech/CasaOS-AppManagement#113
- IceWhaleTech/CasaOS-AppManagement#110
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.

3 participants