Skip to content
This repository has been archived by the owner on Jul 3, 2023. It is now read-only.

Bump github.com/hashicorp/terraform-plugin-go from 0.15.0 to 0.16.0 #668

Bump github.com/hashicorp/terraform-plugin-go from 0.15.0 to 0.16.0

Bump github.com/hashicorp/terraform-plugin-go from 0.15.0 to 0.16.0 #668

Workflow file for this run

on:
push:
paths:
- "internal/**"
- "vendor/**"
- "go.mod"
- "go.sum"
- "main.go"
- ".github/workflows/build.yaml"
name: ci
jobs:
build:
name: build
strategy:
fail-fast: false
matrix:
pingfederate-version: [ 10.2.7, 10.3.7, 11.0.4, 11.1.1, 11.2.0 ]
services:
ldap:
image: osixia/openldap:1.5.0
ports:
- 389:389
pingfederate:
image: ghcr.io/iwarapter/pingfederate:${{ matrix.pingfederate-version }}-edge
env:
PING_IDENTITY_ACCEPT_EULA: YES
PING_IDENTITY_DEVOPS_USER: ${{ secrets.PING_IDENTITY_DEVOPS_USER }}
PING_IDENTITY_DEVOPS_KEY: ${{ secrets.PING_IDENTITY_DEVOPS_KEY }}
SERVER_PROFILE_URL: https://github.com/iwarapter/pingidentity-server-profiles.git
SERVER_PROFILE_PATH: getting-started/pingfederate
IMAGE_VERSION: pingfederate-alpine-az11-${{ matrix.pingfederate-version }}-${{ needs.getdate.outputs.date }}-d9b5
PF_LOG_LEVEL: DEBUG
TAIL_LOG_PARALLEL: "y"
TAIL_LOG_FILES: "/opt/out/instance/log/server.log /opt/out/instance/log/admin-api.log"
ports:
- 9999:9999
- 9031:9031
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v2
- uses: actions/setup-go@v3
with:
go-version-file: 'go.mod'
- name: Test Framework
run: |
make test-framework
- name: Test SDKv2
run: |
make test-sdkv2
- name: Container logs
if: ${{ failure() }}
run: |
docker ps
docker logs "${{ job.services.pingfederate.id }}"
cat internal/framework/terraform.log
cat internal/sdkv2provider/terraform.log
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}