question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question: Is the settings file included in the bundle?

See original GitHub issue

Is there anything from the settings.json file, or something from the mup.js that’s included in the bundle?

I would like to reuse the built bundle for multiple deploys, (by using --cached-build), but I’m unsure if I can do that.

My setup:

server1: database_1, s3_1 (want to deploy master)
server2: database_1, s3_1 (eg. want to deploy one day/week later)
server3: database_2, s3_2 (etc.)
server4: database_3, s3_3 (etc.)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Batistlemancommented, Apr 20, 2020

That’s great, thanks!

I’m now using a github action to compile every commit to master as a release file (we always deploy master to our servers). Building takes about 15 min, so now it will always be ready for download as an asset.

In case it could help you:

name: Create tag, release bundle.tar.gz on master push

on:
  push:
    branches:
      - master

jobs:
  build:
    name: Create Release
    runs-on: ubuntu-latest
    env:
      GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    steps:
      - uses: meteorengineer/setup-meteor@v1
        with:
          meteor-release: '1.10.1'
      - uses: actions/checkout@master
      - name: Bump version and push tag
        id: bump_version
        uses: anothrNick/github-tag-action@1.17.2
      - name: Create Release
        id: create_release
        uses: actions/create-release@latest
        with:
          tag_name: ${{ steps.bump_version.outputs.new_tag }}
          release_name: Release ${{ steps.bump_version.outputs.new_tag }}
          body: This release is auto generated.
      - name: Install node_modules
        working-directory: ./app
        run: npm install
      - name: Build Meteor
        working-directory: ./app
        run: meteor build /tmp/build/ --architecture os.linux.x86_64
      - name: Upload Bundle as a release asset
        uses: actions/upload-release-asset@v1
        with:
          upload_url: ${{ steps.create_release.outputs.upload_url }}
          asset_path: /tmp/build/app.tar.gz
          asset_name: bundle.tar.gz
          asset_content_type: application/gzip

0reactions
zoderncommented, Apr 20, 2020

That is correct. You should also be able to use the hidden command mup meteor build.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How can I prevent using the Settings.bundle in Release build ...
Found it. I've created a RunScript as the last phase in my build phases. In there, I remove all entries in the settings...
Read more >
Failed to register bundle identifi… | Apple Developer Forums
The problem arrived when I added a device UUID in my Apple Developper Account. I changed the bundle identifier manually (adding a version...
Read more >
Android App Bundle frequently asked questions
Stay organized with collections Save and categorize content based on your preferences. What is the Android App Bundle (AAB)?
Read more >
Setting configuration options during environment creation
To apply configuration files to an environment that you create with the AWS CLI, include them in the application source bundle that you...
Read more >
COVID-19 Frequently Asked Questions (FAQs) on Medicare ...
Question : Who can bill for the Medicare specimen collection fee? ... https://www.cms.gov/files/document/03092020-covid-19-faqs-508.pdf.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found