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

[Feature] Deploy swedish admin #357

Merged
merged 3 commits into from
Apr 19, 2023
Merged

Conversation

lorentzlasson
Copy link
Contributor

@lorentzlasson lorentzlasson commented Apr 18, 2023

Triggering two parallel deploys for SE and NO when pushed to master.

Haven't tested the full deployment flow, but tested the swedish subset here. Would like to try out the dev flow before merging

#355


Tested on devices

  • Desktop 💻
  • Mobile 📱

Tests

  • All tests are running ✔️
  • Test are updated 🧪
  • Code Review 👩‍💻
  • QA 👌

⏲️ Time spent on CR:

⏲️ Time spent on QA:

.gitignore Show resolved Hide resolved
.gitignore Show resolved Hide resolved
@@ -0,0 +1,2 @@
HOST=localhost
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is this used for anything? AFAIK know REACT_APP_* envs are let through

Copy link
Member

Choose a reason for hiding this comment

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

I have no idea? 🤷 Global search for process.env.HOST or similar should yield results if it's used.

clouddeploy.yml Outdated
name: 'gcr.io/cloud-builders/npm'
env: ['CI=true', 'REACT_APP_API_URL=https://data.gieffektivt.no']
args: ['run', 'build']
waitFor: ['test']
Copy link
Contributor Author

@lorentzlasson lorentzlasson Apr 18, 2023

Choose a reason for hiding this comment

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

Should run the build & deploy steps in parallel at least

@lorentzlasson lorentzlasson force-pushed the allow-configurable-api-url-355 branch 2 times, most recently from c6b6fdf to 4e10d5e Compare April 18, 2023 01:30
@lorentzlasson lorentzlasson force-pushed the allow-configurable-api-url-355 branch from 4e10d5e to 5e6a23e Compare April 18, 2023 01:35
Copy link
Contributor

@adamalfredsson adamalfredsson left a comment

Choose a reason for hiding this comment

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

Yay! Looks good! I'm not sure about reviewing the cloud build config


- id: 'build-norway'
name: 'gcr.io/cloud-builders/npm'
env: ['CI=true', 'REACT_APP_API_URL=https://data.gieffektivt.no']
Copy link
Contributor Author

Choose a reason for hiding this comment

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

NO dev is using the same backend from what I can tell? But also login doesn't work it seems 🤔

cloudbuild.yml Show resolved Hide resolved
@fellmirr fellmirr merged commit fffbb7a into master Apr 19, 2023
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