Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
20d2ba5
fix bug causing service script loading collisions
pirog Jan 14, 2025
e3c448e
todo https://www.drupal.org/community/events
pirog Jan 14, 2025
5c88ea6
release v3.23.23 generated by @lando/prepare-release-action
rtfm-47 Jan 14, 2025
cd77ea2
Update edge release alias to v3.24.0-beta.9 triggered by @rtfm-47
rtfm-47 Jan 14, 2025
2069b2b
fixed bug causing service script moving to fail when receiving non-st…
pirog Jan 14, 2025
0575fa3
release v3.23.24 generated by @lando/prepare-release-action
rtfm-47 Jan 14, 2025
a08219a
Update edge release alias to v3.24.0-beta.10 triggered by @rtfm-47
rtfm-47 Jan 15, 2025
32a11f5
Update edge release alias to v3.24.0-beta.11 triggered by @rtfm-47
rtfm-47 Jan 18, 2025
63559bc
backport docker updates and fixes from edge
pirog Jan 18, 2025
acde5b7
release v3.23.25 generated by @lando/prepare-release-action
rtfm-47 Jan 18, 2025
6aa83df
Bump undici from 6.20.1 to 6.21.1
dependabot[bot] Jan 21, 2025
af46538
Bump vite from 5.4.10 to 5.4.14
dependabot[bot] Jan 22, 2025
078ef1e
#322: comma path test
pirog Jan 22, 2025
370451b
#322: comma path test part 2
pirog Jan 22, 2025
1ae91ab
#322: fix bug causing service reaping for apps with commans in their …
pirog Jan 23, 2025
ebe1f97
update to lando/pkg-action@v6 to avoide deprecation of actions/upload…
pirog Jan 23, 2025
980cf68
release v3.23.26 generated by @lando/prepare-release-action
rtfm-47 Jan 24, 2025
724a813
Update edge release alias to v3.24.0-beta.12 triggered by @rtfm-47
rtfm-47 Jan 24, 2025
ae154a9
AUTODEPLOYED @lando/[email protected]
github-actions[bot] Feb 14, 2025
4477ab4
AUTODEPLOYED @lando/[email protected]
github-actions[bot] Feb 14, 2025
3097f6f
fix(compose): Fix compose file path resolution as it is copied into the
florianPat Nov 1, 2024
8cacc5f
refactor(compose): Fix to use the configured compose seperator in all
florianPat Nov 1, 2024
54ed5bf
chore(pipelines): Be able to run github actions
florianPat Sep 26, 2024
bb645a6
fix(app.mounts): Use configured appMount of service and not always /a…
florianPat Oct 2, 2024
94e43a3
refactor(home-dir): Add a config option to just share the ssh directo…
florianPat Nov 1, 2024
144c308
update(traefik): Update traefik and enable the dashboard as thats use…
florianPat Nov 1, 2024
c12a609
fix(perm-helpers): Fix permission setup so that it also works for alpine
florianPat Dec 29, 2024
12261a6
fix(tooling): Check that container setup is finished at container sta…
florianPat Sep 9, 2024
1b37b9f
fix(events): Make sure the perm-sweep is run for docker-compose services
florianPat Nov 16, 2024
2d77c7b
feat(exec): Exec can also run if the app is not yet started and add n…
florianPat Oct 19, 2024
f7dba84
feat(volumes): Use the lando proxy dir as the config volume and there…
florianPat Sep 9, 2024
7b8da64
fix(docker): Docker in bitbucket pipelines has another error message, so
florianPat Jan 2, 2025
4873b47
feat(bootstrap): Add new bootstrap event and special '_init' service …
florianPat Oct 19, 2024
f582520
feat(_init-for-tooling): Add special _init service for tooling commands
florianPat Oct 20, 2024
9471b6c
feat(init): Remove init compose after execution
florianPat Oct 19, 2024
05703f4
feat(core): Add core loading also from config
florianPat Nov 7, 2024
9d79347
feat(core-plugin): Be able to overwrite @lando/core with other
florianPat Nov 6, 2024
a202437
fix(update): Make sure to not update the cli beyond the core
florianPat Nov 15, 2024
f47cfd9
fix(config): Fix reloading of lando config after setup as binary config
florianPat Jan 3, 2025
85bbe74
feat(events): Add special `lando` service for events to run tooling
florianPat Jan 5, 2025
8e82479
feat(project-name): Do not docker-composify the project name
florianPat Jan 6, 2025
fdf2e55
fix(lando-entrypoint): Due to script mounting changes the fallback of
florianPat Jan 19, 2025
e1d9d41
fix(separator): Fix separator
florianPat Feb 18, 2025
5804280
feat(bootstrap): Add bootstrap event handling and fix lando is not ye…
florianPat Feb 18, 2025
55321b1
feat(env-file): Add compose_env_file option to the .lando.yml
florianPat Feb 24, 2025
2c4e259
feat(docker-bin): Use which docker to find the docker binary
florianPat Mar 4, 2025
f128b37
fix(exec): Fix exec services
florianPat Mar 4, 2025
432edde
feat(cli): Add lando_cli env var as a yargs configuration
florianPat Mar 4, 2025
e70297b
fix(compose-cache): Just set the compose cache after the app was
florianPat Mar 4, 2025
bc33940
fix(tests): Fixing tests
florianPat Mar 5, 2025
df2ab1a
fix(setup-engine): Do not throw an error if docker desktop is not
florianPat Mar 13, 2025
c709491
chore(deployment): Package publishing
florianPat Nov 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/build-util-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Build Utility Images
on:
# Uncomment below for testing purposes
pull_request:
push:
branches:
- main
#push:
# branches:
# - main

jobs:
buildx:
Expand Down Expand Up @@ -38,6 +38,7 @@ jobs:
run: echo "tag-suffix=-edge" >> $GITHUB_OUTPUT
- name: Login to DockerHub
uses: docker/login-action@v2
if: ${{ github.event_name != 'pull_request' }}
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
Expand All @@ -47,7 +48,7 @@ jobs:
context: ${{ matrix.context }}
file: ${{ matrix.dockerfile }}
platforms: linux/amd64,linux/arm64
push: true
push: ${{ github.event_name != 'pull_request' }}
tags: devwithlando/${{ matrix.image }}:${{ matrix.tag }}${{ steps.pr.outputs.tag-suffix }}
cache-from: type=gha
cache-to: type=gha,mode=max
5 changes: 1 addition & 4 deletions .github/workflows/dev-release.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: Create Dev Releases

on:
push:
branches:
- main
- 'preview-**'
workflow_call:

jobs:
package:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pr-core-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
leia-test:
- badname
- build
- c,o,m,m,a
- cache
- certs
- config
Expand Down Expand Up @@ -93,7 +94,7 @@ jobs:
- name: Install pkg dependencies
run: npm clean-install --prefer-offline --frozen-lockfile --production
- name: Package into node binary
uses: lando/pkg-action@v5
uses: lando/pkg-action@v6
id: pkg-action
with:
entrypoint: bin/lando
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-docs-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
- name: Install pkg dependencies
run: npm clean-install --prefer-offline --frozen-lockfile --production
- name: Package into node binary
uses: lando/pkg-action@v5
uses: lando/pkg-action@v6
id: pkg-action
with:
entrypoint: bin/lando
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-setup-linux-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
- name: Install pkg dependencies
run: npm clean-install --prefer-offline --frozen-lockfile --production
- name: Package into node binary
uses: lando/pkg-action@v5
uses: lando/pkg-action@v6
id: pkg-action
with:
entrypoint: bin/lando
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-setup-macos-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Install pkg dependencies
run: npm clean-install --prefer-offline --frozen-lockfile --production
- name: Package into node binary
uses: lando/pkg-action@v5
uses: lando/pkg-action@v6
id: pkg-action
with:
entrypoint: bin/lando
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-setup-windows-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Install pkg dependencies
run: npm clean-install --prefer-offline --frozen-lockfile --production
- name: Package into node binary
uses: lando/pkg-action@v5
uses: lando/pkg-action@v6
id: pkg-action
with:
entrypoint: bin/lando
Expand Down
251 changes: 46 additions & 205 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,214 +6,55 @@ on:
- created

jobs:
package:
uses: ./.github/workflows/pkg-binary.yml
strategy:
fail-fast: false
matrix:
arch:
- x64
- arm64
os:
- linux
- macos
- win
fatcore:
- false
- true
with:
arch: ${{ matrix.arch }}
edge: ${{ github.event.release.prerelease }}
fatcore: ${{ matrix.fatcore }}
filename: lando-${{ matrix.os }}-${{ matrix.arch }}-${{ github.ref_name }}${{ matrix.fatcore == false && '-slim' || '' }}
node-version: "20"
os: ${{ matrix.os }}
version: ${{ github.event.release.tag_name }}

sign:
uses: ./.github/workflows/sign-binary.yml
needs:
- package
strategy:
fail-fast: false
matrix:
file:
- lando-linux-arm64-${{ github.ref_name }}
- lando-macos-arm64-${{ github.ref_name }}
- lando-win-arm64-${{ github.ref_name }}

- lando-linux-x64-${{ github.ref_name }}
- lando-macos-x64-${{ github.ref_name }}
- lando-win-x64-${{ github.ref_name }}

- lando-linux-arm64-${{ github.ref_name }}-slim
- lando-macos-arm64-${{ github.ref_name }}-slim
- lando-win-arm64-${{ github.ref_name }}-slim

- lando-linux-x64-${{ github.ref_name }}-slim
- lando-macos-x64-${{ github.ref_name }}-slim
- lando-win-x64-${{ github.ref_name }}-slim
with:
download-pattern: packaged-lando-*
file: ${{ matrix.file }}
secrets:
apple-notary-user: ${{ secrets.APPLE_NOTARY_USER }}
apple-notary-password: ${{ secrets.APPLE_NOTARY_PASSWORD }}
certificate-data: ${{ contains(matrix.file, 'macos') && secrets.APPLE_CERT_DATA || secrets.KEYLOCKER_CLIENT_CERT }}
certificate-password: ${{ contains(matrix.file, 'macos') && secrets.APPLE_CERT_PASSWORD || secrets.KEYLOCKER_CLIENT_CERT_PASSWORD }}
keylocker-api-key: ${{ secrets.KEYLOCKER_API_KEY }}
keylocker-cert-sha1-hash: ${{ secrets.KEYLOCKER_CERT_SHA1_HASH }}
keylocker-keypair-alias: ${{ secrets.KEYLOCKER_KEYPAIR_ALIAS }}

build-release-binary-alias:
uses: ./.github/workflows/release-rename-binary.yml
needs:
- sign
strategy:
fail-fast: false
matrix:
arch:
- x64
- arm64
os:
- linux
- macos
- win
type:
- -slim
-
alias: ${{ github.event.release.prerelease == true && fromJson('["edge"]') || fromJson('["stable", "edge"]') }}

with:
source: lando-${{ matrix.os }}-${{ matrix.arch }}-${{ github.ref_name }}${{ matrix.type }}
destination: lando-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.alias }}${{ matrix.type }}
download-pattern: signed-lando-*
build-release-binary-tag:
uses: ./.github/workflows/release-rename-binary.yml
needs:
- sign
bump-and-npm:
runs-on: ${{ matrix.os }}
env:
TERM: xterm
strategy:
fail-fast: false
matrix:
arch:
- x64
- arm64
os:
- linux
- macos
- win
type:
- -slim
-
with:
source: lando-${{ matrix.os }}-${{ matrix.arch }}-${{ github.ref_name }}${{ matrix.type }}
destination: lando-${{ matrix.os }}-${{ matrix.arch }}-${{ github.ref_name }}${{ matrix.type }}
download-pattern: signed-lando-*

checksum:
uses: ./.github/workflows/generate-checksums.yml
needs:
- build-release-binary-alias
- build-release-binary-tag
with:
download-pattern: release-*-${{ github.ref_name }}*
flatten: true
show: true
upload-name: release-checksums-${{ github.ref_name }}
checksum-s3-aliases:
uses: ./.github/workflows/generate-checksums.yml
strategy:
fail-fast: false
matrix:
alias:
- edge
- ${{ github.event.release.prerelease == false && 'stable' || 'prerelease' }}
- ${{ github.ref_name }}
needs:
- build-release-binary-alias
- build-release-binary-tag
with:
download-pattern: release-*-${{ github.ref_name }}*
output: sha256sum-${{ matrix.alias }}.txt
flatten: true
show: true
upload-name: release-checksums${{ matrix.alias }}

deploy-releases-s3:
uses: ./.github/workflows/deploy-s3.yml
needs:
- checksum
- checksum-s3-aliases
with:
download-pattern: release-*
secrets:
aws-secret-access-key: ${{ secrets.S3_SECRET_ACCESS_KEY }}
aws-access-key-id: ${{ secrets.S3_ACCESS_KEY_ID }}
aws-region: us-east-1
deploy-releases-artifacts:
uses: ./.github/workflows/deploy-artifacts.yml
needs:
- checksum
with:
download-pattern: release-*
deploy-releases-releases:
uses: ./.github/workflows/deploy-releases.yml
needs:
- checksum
with:
download-pattern: release-*-${{ github.ref_name }}*
deploy-npm:
uses: ./.github/workflows/deploy-npm.yml
needs:
- checksum
secrets:
github-token: ${{ secrets.RTFM47_COAXIUM_INJECTOR }}
npm-token: ${{ secrets.NPM_DEPLOY_TOKEN }}
deploy-legacy-notifications:
runs-on: ubuntu-24.04
needs:
- checksum
env:
TERM: xterm
- ubuntu-24.04
node-version:
- '20'
steps:
- name: Push release to lando/lando
uses: softprops/action-gh-release@v2
- name: Checkout code
uses: actions/checkout@v4
- name: Install node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
repository: lando/lando
name: ${{ github.event.release.tag_name }}
draft: ${{ github.event.release.draft }}
prerelease: ${{ github.event.release.prerelease }}
tag_name: ${{ github.event.release.tag_name }}
token: ${{ secrets.RTFM47_COAXIUM_INJECTOR }}
body: |
**Starting with v3.21.0-beta.18, Lando is no longer distributed via package installers in here in this releases page!**

To install Lando please visit the [official install docs](https://docs.lando.dev/install).

## Changelogs

Lando now runs as a distributed plugin-based ecosystem so you will want to check the releases/changelogs in
the various [plugins](https://docs.lando.dev/plugins.html) for relevant notes.

[Click Here](https://github.com/lando/core/releases/tag/${{ github.event.release.tag_name }}) to check out the notes for `@lando/core@${{ github.event.release.tag_name }}`.

## Notes

* We will continue to push releases here for backwards compatibility, posterity, etc
* [Extended release notes](https://lando.dev/blog/2024/01/16/v321-extended.html)

- name: Push release to lando/cli
uses: softprops/action-gh-release@v2
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org
cache: npm
- name: Install dependencies
run: npm clean-install --prefer-offline --frozen-lockfile
- name: Lint code
run: npm run lint
- name: Run unit tests
run: npm run test:unit
- name: Prepare Release
uses: lando/prepare-release-action@v3
with:
repository: lando/legacy-cli
name: ${{ github.event.release.tag_name }}
draft: ${{ github.event.release.draft }}
prerelease: ${{ github.event.release.prerelease }}
tag_name: ${{ github.event.release.tag_name }}
token: ${{ secrets.RTFM47_COAXIUM_INJECTOR }}
body: |
**Starting with v3.23.0, Lando CLI binaries are no longer distributed here in these releases!**

They are now available in the `@lando/core` [releases page](https://github.com/lando/core/releases) including [this ${{ github.event.release.tag_name }} release](https://github.com/lando/core/releases/tag/${{ github.event.release.tag_name }}).

All that said we don't recommned you use these binaries directly. Instead, to install Lando please visit the [official install docs](https://docs.lando.dev/install).
lando-plugin: true
sync: false
- name: Publish to npm
run: |
VERSION=$(node -p "require('./package.json').version")
PACKAGE=$(node -p "require('./package.json').name")

if [ "${{ github.event.release.prerelease }}" == "false" ]; then
npm publish --access public --dry-run
npm publish --access public
npm dist-tag add "$PACKAGE@$VERSION" edge

echo "::notice title=Published $VERSION to $PACKAGE::This is a stable release published to the default 'latest' npm tag"
echo "::notice title=Updated latest tag to $VERSION::The stable tag now points to $VERSION"
echo "::notice title=Updated edge tag to $VERSION::The edge tag now points to $VERSION"
else
npm publish --access public --tag edge --dry-run
npm publish --access public --tag edge

echo "::notice title=Published $VERSION to $PACKAGE::This is a prerelease published to the 'edge' npm tag"
echo "::notice title=Updated edge tag to $VERSION::The edge tag now points to $VERSION"
fi
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_DEPLOY_TOKEN }}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,15 @@ coverage/

# lando
.lando/id
FATCORE
checksums.txt
plugins/*
!plugins/healthcheck
!plugins/networking
!plugins/proxy
!plugins/scanner
!plugins/sharing
!plugins/test
FATCORE

# docs
.temp
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.github
.nyc_output
coverage
dist
docs
examples
guides
Expand Down
Loading
Loading