Skip to content

ci: update pipeline #896

ci: update pipeline

ci: update pipeline #896

name: "Rust integration"
on:
pull_request:
branches:
- main
- "feature/**"
jobs:
integration:
name: Integration Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-nix
with:
cachix_auth_token: ${{ secrets.CACHIX_AUTH_TOKEN_LANA_CI }}
google_credentials: ${{ secrets.GOOGLE_CREDENTIALS }}
- uses: ./.github/actions/cache-rust
- name: Setup Podman
run: |
sudo apt-get update
sudo apt-get install -y podman podman-compose
sudo mkdir -p /etc/containers
echo '{ "default": [{"type": "insecureAcceptAnything"}]}' | sudo tee /etc/containers/policy.json
echo 'unqualified-search-registries = ["docker.io"]' | sudo tee /etc/containers/registries.conf
echo "127.0.0.1 host.containers.internal" | sudo tee -a /etc/hosts
export DOCKER_HOST=unix:///run/podman/podman.sock
podman system service --time=0 &
sleep 5
- run: nix develop -c make test-integration
env:
GOOGLE_CREDENTIALS: ${{ secrets.GOOGLE_CREDENTIALS }}
SA_CREDS_BASE64: ${{ secrets.GOOGLE_SA_BASE64 }}
TF_VAR_name_prefix: "gha"
ENGINE_DEFAULT: podman