Attache vm to lbu with backend_ips #208
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
name: Others Acceptances tests | |
on: | |
pull_request: | |
branches: | |
- master | |
paths: | |
- '**.go' | |
- '**.sum' | |
- '**.mod' | |
- 'GNUmakefile' | |
workflow_dispatch: | |
jobs: | |
Others_acceptances_tests: | |
environment: test-eu-west-2 | |
runs-on: [self-hosted, linux, eu-west-2] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: ${{ github.event.pull_request.head.repo.full_name }} | |
ref: ${{ github.event.pull_request.head.ref }} | |
- uses: outscale-dev/frieza-github-actions/frieza-clean@master | |
with: | |
access_key: ${{ secrets.OSC_ACCESS_KEY }} | |
secret_key: ${{ secrets.OSC_SECRET_KEY }} | |
region: ${{ secrets.OSC_REGION }} | |
- name: Setup Terraform | |
uses: hashicorp/setup-terraform@v3 | |
with: | |
terraform_version: 1.6.5 | |
terraform_wrapper: false | |
- name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 'stable' | |
- name: local tests | |
run: | | |
wget https://github.com/outscale/osc-ricochet-2/releases/download/v0.2.0/osc-ricochet-2_v0.2.0_x86_64-unknown-linux-musl.tar.gz | |
tar -xvf osc-ricochet-2_v0.2.0_x86_64-unknown-linux-musl.tar.gz | |
./ricochet-2 ./ricochet.json & | |
make test-locally | |
- name: Build go test | |
run: make test | |
env: | |
OUTSCALE_ACCESSKEYID: ${{ secrets.OSC_ACCESS_KEY }} | |
OUTSCALE_SECRETKEYID: ${{ secrets.OSC_SECRET_KEY }} | |
OUTSCALE_REGION: ${{ secrets.OSC_REGION }} | |
OUTSCALE_ACCOUNT: ${{ secrets.OSC_ACCOUNT_ID }} | |
OUTSCALE_IMAGEID: ${{ secrets.OUTSCALE_IMAGEID }} | |
- name: Run others acceptances tests | |
run: make test-others | |
env: | |
OUTSCALE_ACCESSKEYID: ${{ secrets.OSC_ACCESS_KEY }} | |
OUTSCALE_SECRETKEYID: ${{ secrets.OSC_SECRET_KEY }} | |
OUTSCALE_REGION: ${{ secrets.OSC_REGION }} | |
OUTSCALE_ACCOUNT: ${{ secrets.OSC_ACCOUNT_ID }} | |
OUTSCALE_IMAGEID: ${{ secrets.OUTSCALE_IMAGEID }} | |
CA_PATH: ${{ secrets.CA_PATH }} |