-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #343 from lando/edge
Edge
- Loading branch information
Showing
292 changed files
with
4,347 additions
and
2,336 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 |
---|---|---|
|
@@ -5,3 +5,5 @@ _site | |
coverage | ||
!.vitepress | ||
config.mjs.timestamp-*.mjs | ||
plugins/* | ||
!plugins/test |
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 |
---|---|---|
|
@@ -78,3 +78,14 @@ jobs: | |
fi | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.npm-token }} | ||
- name: Update edge release alias on main | ||
if: github.event.release.target_commitish == 'edge' | ||
run: | | ||
git clone https://github.com/lando/core.git core | ||
cd core | ||
git config user.name "rtfm-47" | ||
git config user.email "[email protected]" | ||
echo "${{ github.event.release.tag_name }}" > ./release-aliases/3-EDGE | ||
git add . | ||
git commit -m "Update edge release alias to ${{ github.event.release.tag_name }} triggered by @rtfm-47" | ||
git push https://x-access-token:${{ secrets.github-token }}@github.com/lando/core.git main |
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 |
---|---|---|
|
@@ -18,11 +18,6 @@ on: | |
description: The name of the resulting binary | ||
required: false | ||
type: string | ||
fatcore: | ||
default: false | ||
description: Whether to build a fat binary or not | ||
required: false | ||
type: boolean | ||
node-version: | ||
default: "20" | ||
description: The node version to build for eg 16 | 18 | 20 | ||
|
@@ -56,9 +51,8 @@ jobs: | |
cache: npm | ||
- name: Install dependencies | ||
run: npm clean-install --prefer-offline --frozen-lockfile --production | ||
- name: Install fatcore | ||
if: inputs.fatcore == true | ||
run: scripts/fatcore-install.sh ${{ inputs.edge == true && '--edge' || '' }} | ||
- name: Install plugins | ||
run: scripts/install-plugins.sh --lando bin/lando ${{ inputs.edge == true && '--edge' || '' }} | ||
- name: Switch to edge channel | ||
if: inputs.edge == true | ||
run: | | ||
|
@@ -78,7 +72,7 @@ jobs: | |
os: ${{ inputs.os }} | ||
options: --options dns-result-order=ipv4first | ||
pkg: "@yao-pkg/[email protected]" | ||
upload-key: "packaged-${{ inputs.filename }}-${{ inputs.os }}-${{ inputs.arch }}${{ inputs.fatcore == false && '-slim' || '' }}-${{ github.sha }}" | ||
upload-key: "packaged-${{ inputs.filename }}-${{ inputs.os }}-${{ inputs.arch }}-${{ github.sha }}" | ||
- name: Ensure version | ||
if: (inputs.os == 'linux' && runner.os == 'Linux') || (inputs.os == 'macos' && runner.os == 'macOS') | ||
run: ./dist/${{ inputs.filename }} version --all | ||
|
@@ -88,11 +82,8 @@ jobs: | |
- name: Ensure channel | ||
if: (inputs.os == 'linux' && runner.os == 'Linux') || (inputs.os == 'macos' && runner.os == 'macOS') | ||
run: ./dist/${{ inputs.filename }} config --path channel | grep ${{ inputs.edge == true && 'edge' || 'stable' }} | ||
- name: Ensure slimcore | ||
if: ((inputs.os == 'linux' && runner.os == 'Linux') || (inputs.os == 'macos' && runner.os == 'macOS')) && inputs.fatcore == false | ||
run: ./dist/${{ inputs.filename }} config --path fatcore | grep false | ||
- name: Ensure fatcore | ||
if: ((inputs.os == 'linux' && runner.os == 'Linux') || (inputs.os == 'macos' && runner.os == 'macOS')) && inputs.fatcore == true | ||
- name: Ensure plugin install | ||
if: ((inputs.os == 'linux' && runner.os == 'Linux') || (inputs.os == 'macos' && runner.os == 'macOS')) | ||
run: | | ||
./dist/${{ inputs.filename }} config --path fatcore | grep true | ||
./dist/${{ inputs.filename }} config | grep -q "node_modules/@lando/wordpress" | ||
./dist/${{ inputs.filename }} config | grep -q "/snapshot/core/plugins/wordpress" |
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
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.