REVERT ONLY FOR CI TEST #384
Workflow file for this run
This file contains hidden or 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
| name: Nightly release | |
| # Pushes `nightly` image tag as scheduled. | |
| on: | |
| push: | |
| jobs: | |
| k8s-e2e-tests: | |
| name: K8s e2e tests | |
| runs-on: ubuntu-22.04 | |
| permissions: | |
| contents: read | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| group: [ proxy ] | |
| # group: [ fleet-control, proxy ] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Setup Minikube | |
| uses: manusa/actions-setup-minikube@v2.10.0 | |
| with: | |
| minikube version: v1.32.0 | |
| kubernetes version: "v1.30.9" | |
| # Required to apply NetworkPolicies for the Proxy test. | |
| start args: '--cni=calico' | |
| driver: docker | |
| github token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Install Tilt | |
| run: | | |
| curl -fsSL https://raw.githubusercontent.com/tilt-dev/tilt/master/scripts/install.sh | bash | |
| - name: Obtain Rust version from project | |
| run: | | |
| RUST_VERSION=$(grep "rust-version" Cargo.toml | cut -d "=" -f2 | tr -d "[:space:]") | |
| echo "RUST_VERSION=${RUST_VERSION}" >> $GITHUB_ENV | |
| - name: Install Rust ${{ env.RUST_VERSION }} | |
| uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: ${{ env.RUST_VERSION }} | |
| - name: Run k8s e2e-test | |
| uses: newrelic/newrelic-integration-e2e-action@v1 | |
| env: | |
| # SI L2 for AC | |
| NR_SYSTEM_IDENTITY_CLIENT_ID: ${{ secrets.AC_PROD_E2E_NR_SYSTEM_IDENTITY_CLIENT_ID }} | |
| NR_SYSTEM_IDENTITY_PRIVATE_KEY: ${{ secrets.AC_PROD_E2E_NR_SYSTEM_IDENTITY_PRIVATE_KEY }} | |
| # Tilt configs | |
| ARCH: amd64 | |
| BUILD_WITH: cargo | |
| with: | |
| retry_attempts: 30 | |
| retry_seconds: 30 | |
| agent_enabled: false | |
| spec_path: test/k8s-e2e/e2e-${{ matrix.group }}.yml | |
| account_id: ${{ secrets.AC_PROD_E2E_ACCOUNT_ID }} | |
| api_key: ${{ secrets.AC_PROD_E2E_API_KEY }} | |
| license_key: ${{ secrets.AC_PROD_E2E_LICENSE_KEY }} |