-
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add github build for node images fix: fix an issue with reading templates from apphome or cwd
- Loading branch information
Showing
13 changed files
with
165 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
name: Docker Image Node | ||
on: | ||
schedule: | ||
- cron: "0 6 1 * *" | ||
push: | ||
paths: | ||
- images/.trigger | ||
- images/node/** | ||
branches: | ||
- main | ||
jobs: | ||
node: | ||
name: Node | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- run: ./images/scripts/build.sh --push "${BUILD_GROUP}" | ||
env: | ||
BUILD_GROUP: node | ||
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} | ||
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.1.9-beta | ||
0.1.10-beta |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
### Initializing PWA Studio | ||
|
||
#### Running Default PWA Studio | ||
|
||
1. Clone your project and initialize Reward. | ||
|
||
``` shell | ||
$ git clone https://github.com/magento/pwa-studio.git ~/Sites/pwa-studio | ||
$ cd ~/Sites/pwa-studio | ||
$ reward env-init pwa-studio --environment-type=pwa-studio | ||
``` | ||
|
||
2. Sign a certificate for your project | ||
|
||
``` | ||
$ reward sign-certificate pwa-studio.test | ||
``` | ||
|
||
|
||
3. Fill up the `.env` file with samples and change some settings | ||
|
||
``` shell | ||
$ cat docker/.env.docker.dev >> .env | ||
``` | ||
|
||
``` shell | ||
NODE_VERSION=12 | ||
DEV_SERVER_HOST=0.0.0.0 | ||
DEV_SERVER_PORT=8000 | ||
``` | ||
|
||
4. Update `package.json` and add these to the scripts part | ||
|
||
``` | ||
"watch": "yarn watch:venia --disable-host-check", | ||
"start": " yarn stage:venia --disable-host-check" | ||
``` | ||
|
||
5. Bring up the environment | ||
|
||
``` | ||
$ reward env up | ||
``` | ||
|
||
6. Install its dependencies | ||
|
||
``` | ||
$ reward shell | ||
$ yarn install | ||
``` | ||
|
||
7. Restart the PWA container | ||
|
||
``` | ||
$ reward env restart | ||
``` | ||
|
||
8. Optional: if you'd like to run the project in Developer/Production mode, add the following line to your `.env` file | ||
``` | ||
# Developer Mode (default) | ||
DOCKER_START_COMMAND="yarn watch" | ||
# Production Mode | ||
DOCKER_START_COMMAND="yarn start" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters