Technical Lead based in Manchester, UK
Disable tests when using AWS SAM Build
Before I start, disabling tests as part of your build pipeline is bad - I don’t recommend it. However, in this scenario, sam builds, especially when running sam sync --watch can take a bit of time, and the feedback loop (write some code, and quickly see it running) can be several minutes, rather than seconds (which you would normally see when running unit tests etc).
So, when running sam sync --watch you may want to disable running of unit/integration tests to make things faster.…
Read more ⟶
Install GraalVM and Native-Image on an M1 Mac (Java11)
This is a quick guide on installing GraalVM on your M1 Mac - this guide also works for x86_64 Macs also.
This will install GraalVM for Java11 - different Java versions are available here: https://github.com/graalvm/graalvm-ce-builds/releases
Install GraalVM using Homebrew brew install --cask graalvm/tap/graalvm-ce-java11 export JAVA_HOME=$HOME/Library/Java/JavaVirtualMachines/graalvm-ce-java11-22.0.0.2/Contents/Home Give GraalVM permission to run xattr -r -d com.apple.quarantine /Library/Java/JavaVirtualMachines/graalvm-ce-java11-22.0.0.2 Install using sdkman SDKMAN is a brilliant tool, you can install it here: https://sdkman.io/install
sdk install java 22.…
Read more ⟶
Install CloudFoundry on an M1 Mac (arm64)
Install Rosetta 2 /usr/sbin/softwareupdate --install-rosetta --agree-to-license Install Homebrew under Rosetta 2 (/usr/local/Homebrew) arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" Tap Cloudfoundry arch -x86_64 /usr/local/Homebrew/bin/brew tap cloudfoundry/tap Install CloudFoundry arch -x86_64 /usr/local/Homebrew/bin/brew install cf-cli@7 …
Read more ⟶