Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hcloud provider #1

Open
wants to merge 40 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
8b3ddf4
Add AWS SessionToken Support (#189)
alvin-huang Dec 3, 2021
ca47471
Fix "Config options" links
imbdb Dec 26, 2021
20a2490
Apply suggestions from code review
imbdb Jan 5, 2022
b95dfa4
Merge pull request #190 from imbdb/patch-1
dnephin Jan 5, 2022
20db45f
deps: bump Azure/go-autorest to remove transitive jwt-go dependency w…
mikemorris Apr 11, 2022
a413e13
Add AWS endpoint definition as an option (#194)
obeyler Jun 21, 2022
1c234a6
Feature/aws ecs support (#197)
fdr2 Jul 14, 2022
c0b41e2
Update tencentcloud-sdk-go modules
riddhi89 Aug 23, 2022
49f60c0
Merge pull request #202 from hashicorp/update-tencentcloud-sdk-go
riddhi89 Sep 9, 2022
32bc6db
[COMPLIANCE] Update MPL 2.0 LICENSE
Oct 12, 2022
70b45b3
Merge pull request #204 from hashicorp/compliance/add-license
CalebAlbers Jan 25, 2023
5cdefe8
Adding workflow .github/actions/acctest/action.yml
hc-github-team-es-release-engineering Apr 6, 2023
65094e8
SHA-pin all 3rd-party actions
hc-github-team-es-release-engineering Apr 6, 2023
948ffbd
Restrict workflow permissions
hc-github-team-es-release-engineering Apr 6, 2023
4a5b74f
Add actionslint
hc-github-team-es-release-engineering Apr 6, 2023
7e392a1
Add dependabot
hc-github-team-es-release-engineering Apr 6, 2023
8011577
Add CODEOWNERS
hc-github-team-es-release-engineering Apr 6, 2023
117b595
Remove CircleCI configuration
shore Apr 6, 2023
8b04f01
Remove unused local actions
shore Apr 6, 2023
d6e7c8f
Update migration
shore Apr 6, 2023
bb6c50a
enable scleway acceptance test
jmurret Apr 13, 2023
01d5773
add success job
jmurret Apr 13, 2023
be78fa9
add success job
jmurret Apr 13, 2023
ef4b89b
fix copy pasta
jmurret Apr 13, 2023
5eb21fa
Merge pull request #212 from hashicorp/convert-hashicorp-go-discover-…
jmurret Apr 13, 2023
340d493
Result of tsccr-helper -pin-all-workflows .
hashicorp-tsccr[bot] Apr 27, 2023
6e659fb
Merge pull request #224 from hashicorp/tsccr-auto-pinning/trusted/202…
curtbushko May 19, 2023
81e2edc
Fix CVEs
curtbushko May 19, 2023
24d773c
Need at least go 1.16 for the golang.org/x/net fixes
curtbushko May 19, 2023
cc873dd
Update github action to use go 1.16
curtbushko May 19, 2023
2134e96
Some dependencies needed 1.17
curtbushko May 19, 2023
52a86c3
Set miekg/dns to 1.1.50
curtbushko May 19, 2023
214571b
Merge pull request #230 from hashicorp/curtbushko/update-go-mod-for-cves
curtbushko May 19, 2023
776c1b1
feat: add hetzner cloud (hcloud) provider
Thunderbottom Feb 15, 2021
2924472
feat: add hcloud to providers map and update go modules
Thunderbottom Feb 15, 2021
9268c31
ci: add tests for hcloud provider
Thunderbottom Feb 15, 2021
ff7e499
doc: add documentation for hcloud
Thunderbottom Nov 24, 2022
055b72a
chore: update go mod to use latest hcloud-go lib
Thunderbottom Nov 24, 2022
524be32
chore: fix api_token reference and update hcloud tf provider
Thunderbottom Nov 24, 2022
91cd52c
chore: identify misbheaving application IDs
Thunderbottom Jul 15, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
235 changes: 0 additions & 235 deletions .circleci/config.yml

This file was deleted.

70 changes: 70 additions & 0 deletions .github/actions/acctest/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
name: acctest

inputs:
provider-test-infra-dir:
required: false
provider-go-test-dir:
required: false
provider-go-test-tags:
required: false
default: ''
provider-tf-apply:
required: false
default: terraform apply -auto-approve
aws-region:
description: 'AWS region for resources; only used for AWS tests'
required: false
aws-role-arn:
description: 'AWS role to assume before testing; only used for AWS tests'
required: false

runs:
using: composite
steps:
- uses: hashicorp/[email protected]
with:
terraform_version: '0.12.24'

- name: Configure AWS Credentials
if: inputs.provider-test-infra-dir == 'aws'
uses: aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef # v2.0.0
with:
role-to-assume: ${{ inputs.aws-role-arn }}
aws-region: ${{ inputs.aws-region }}

- name: Terraform Init
run: terraform init
shell: bash
working-directory: "./test/tf/${{ inputs.provider-test-infra-dir }}"
#- name: Terraform Apply
# run: "${{ inputs.provider-tf-apply }}"
# shell: bash
# working-directory: "./test/tf/${{ inputs.provider-test-infra-dir }}"

- name: Run provider tests
run: |-
mkdir -p "$TEST_RESULTS"
gotestsum -f standard-verbose --junitfile ${TEST_RESULTS}/results.xml -- \
-run ${{ inputs.provider-go-test-tags }} \
-v ./provider/${{ inputs.provider-go-test-dir }}
if: inputs.provider-go-test-tags != ''
shell: bash

- name: Run provider tests
if: inputs.provider-go-test-tags == ''
shell: bash
run: |-
mkdir -p "$TEST_RESULTS"
gotestsum -f standard-verbose --junitfile "${TEST_RESULTS}/results.xml" -- \
-v ./provider/${{ inputs.provider-go-test-dir }}

- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
path: ${{ env.TEST_RESULTS }}
name: tests-${{ inputs.provider-test-infra-dir }}

- name: Terraform Destroy
run: terraform destroy --force
if: always()
shell: bash
working-directory: "./test/tf/${{ inputs.provider-test-infra-dir }}"
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2

updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "weekly"
Loading