-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/release' into publisher-oauth
# Conflicts: # apps/website/.lagoon.env # apps/website/package.json # pnpm-lock.yaml
- Loading branch information
Showing
83 changed files
with
19,987 additions
and
13,478 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
10 changes: 6 additions & 4 deletions
10
.github/workflows/release.yml → .github/workflows/merge_dev_to_stage.yml
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,15 +1,17 @@ | ||
name: Release | ||
name: Merge dev to stage | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '15 14 * * *' | ||
jobs: | ||
test: | ||
name: Test | ||
runs-on: ubuntu-20.04 | ||
merge: | ||
name: Merge | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: 'dev' | ||
|
||
- name: Merge dev to stage | ||
uses: devmasx/[email protected] | ||
|
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 |
---|---|---|
|
@@ -3,11 +3,14 @@ on: | |
push: | ||
|
||
jobs: | ||
|
||
test: | ||
name: Test | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- name: Init check | ||
if: ${{ github.repository != 'AmazeeLabs/silverback-template'}} | ||
run: echo 'Please run the INIT script. See the root README.md for instructions.' && false | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
|
@@ -19,7 +22,7 @@ jobs: | |
- name: TurboRepo local server | ||
uses: felixmosh/turborepo-gh-artifacts@v2 | ||
with: | ||
server-token: "local" | ||
server-token: 'local' | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Test | ||
|
@@ -48,11 +51,25 @@ jobs: | |
exitOnceUploaded: true | ||
|
||
- name: Deploy storybook to netlify | ||
run: npx netlify-cli deploy --prod --filter @custom/ui --dir=packages/ui/storybook-static | ||
run: | ||
pnpm run --filter=@custom/ui build && npx netlify-cli deploy --prod | ||
--filter @custom/ui --dir=packages/ui/storybook-static | ||
env: | ||
VITEST_CLOUDINARY_CLOUDNAME: local | ||
NETLIFY_SITE_ID: ${{ vars.NETLIFY_STORYBOOK_ID }} | ||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | ||
if: ${{ github.ref == 'refs/heads/dev' && vars.NETLIFY_STORYBOOK_ID != '' }} | ||
if: | ||
${{ github.ref == 'refs/heads/dev' && vars.NETLIFY_STORYBOOK_ID != '' | ||
}} | ||
|
||
- name: Merge release to prod (silverback-template only) | ||
uses: devmasx/[email protected] | ||
if: ${{ github.repository == 'AmazeeLabs/silverback-template' && github.ref == 'refs/heads/release'}} | ||
with: | ||
type: now | ||
from_branch: release | ||
target_branch: prod | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
docker_build: | ||
name: Docker Build | ||
|
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,12 +1,26 @@ | ||
FROM gitpod/workspace-full | ||
RUN sudo update-alternatives --set php $(which php8.1) | ||
RUN sudo install-packages php8.1-gd php8.1-mbstring php8.1-curl php8.1-sqlite3 php8.1-zip php8.1-xdebug | ||
RUN sudo install-packages php8.1-gd php8.1-mbstring php8.1-curl php8.1-sqlite3 php8.1-zip php8.1-xdebug php8.1-imagick | ||
RUN pnpx [email protected] install-deps | ||
RUN pnpx [email protected] install | ||
RUN npm install -g [email protected].0 | ||
RUN npm install -g [email protected].12 @withgraphite/graphite-cli | ||
|
||
COPY .gitpod/xdebug.ini /etc/php/8.1/mods-available/xdebug.ini | ||
RUN curl -fsSL https://deno.land/x/install/install.sh | sh | ||
RUN /home/gitpod/.deno/bin/deno completions bash > /home/gitpod/.bashrc.d/90-deno && \ | ||
echo 'export DENO_INSTALL="/home/gitpod/.deno"' >> /home/gitpod/.bashrc.d/90-deno && \ | ||
echo 'export PATH="$DENO_INSTALL/bin:$PATH"' >> /home/gitpod/.bashrc.d/90-deno | ||
|
||
# Install neovim and helpers | ||
RUN wget https://github.com/neovim/neovim/releases/download/v0.9.2/nvim-linux64.tar.gz && \ | ||
tar xzf nvim-linux64.tar.gz && \ | ||
sudo mv nvim-linux64 /usr/local/nvim && \ | ||
sudo ln -s /usr/local/nvim/bin/nvim /usr/local/bin/nvim && \ | ||
rm -rf nvim-linux64.tar.gz | ||
RUN sudo apt-get install -y fd-find | ||
RUN npm install -g neovim | ||
|
||
RUN curl -Lo lazygit.tar.gz "https://github.com/jesseduffield/lazygit/releases/latest/download/lazygit_0.40.2_Linux_x86_64.tar.gz" \ | ||
&& tar xf lazygit.tar.gz lazygit \ | ||
&& sudo install lazygit /usr/local/bin | ||
|
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ FROM uselagoon/node-18-builder as builder | |
ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 | ||
|
||
# Install pnpm | ||
RUN npm install -g [email protected].0 && pnpm config set store-dir /tmp/cache/pnpm | ||
RUN npm install -g [email protected].12 && pnpm config set store-dir /tmp/cache/pnpm | ||
|
||
# Copy pnpm lockfile and install dependencies. | ||
COPY pnpm-lock.yaml .npmrc /app/ | ||
|
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
Oops, something went wrong.