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

Replace all environment variables instead of only API_URL #5055

Merged
merged 13 commits into from
Aug 1, 2024

Conversation

yasinuslu
Copy link
Contributor

@yasinuslu yasinuslu commented Jul 18, 2024

What type of PR is this?

  • 💅 Refactor
  • 🌟 Feature
  • 🔥 Bug Fix
  • 🔩 Maintenance
  • 🛠 Workflow CI/CD changes

Related Issues or Documents

Instead of replacing only the API_URL, docker image now replaces all environment variables available to the index.html

Usage Instructions, Screenshots, Recordings

Have you written tests?

  • Yes!
  • No... here is why: This is an update to the replace-api-url.sh it didn't have tests before, so I didn't add it. We can figure out a way to write a test for it if you request it.

[Optional] Description

@yasinuslu yasinuslu requested a review from a team as a code owner July 18, 2024 22:44
Copy link

changeset-bot bot commented Jul 18, 2024

🦋 Changeset detected

Latest commit: ff0c53c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
saleor-dashboard Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@CLAassistant
Copy link

CLAassistant commented Jul 18, 2024

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@lkostrowski lkostrowski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the improvement is great.

@krzysztofzuraw can you verify this against your latest work on dockerization?

@krzysztofzuraw krzysztofzuraw requested a review from a team July 22, 2024 06:39
NyanKiyoshi
NyanKiyoshi previously approved these changes Jul 22, 2024
poulch
poulch previously approved these changes Jul 25, 2024
@poulch poulch dismissed stale reviews from NyanKiyoshi and themself via 3e1fa9c July 25, 2024 07:29
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job - works as it should - can you change the filename to replace-env-vars instead of replace-api-url.sh?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

of course

poulch
poulch previously approved these changes Jul 29, 2024
NyanKiyoshi
NyanKiyoshi previously approved these changes Jul 30, 2024
@yasinuslu yasinuslu dismissed stale reviews from poulch and NyanKiyoshi via 9cf418e August 1, 2024 09:52
@krzysztofzuraw krzysztofzuraw merged commit 16f34ec into saleor:main Aug 1, 2024
12 of 14 checks passed
@krzysztofzuraw
Copy link
Member

@yasinuslu thank you for your work 🙇🏻‍♂️

@yasinuslu yasinuslu deleted the update-replace-url branch August 3, 2024 19:51
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.

6 participants