forked from MyPureCloud/terraform-provider-genesyscloud
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'MyPureCloud:main' into main
- Loading branch information
Showing
892 changed files
with
44,043 additions
and
20,095 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM mcr.microsoft.com/vscode/devcontainers/base:ubuntu | ||
|
||
# Install Genesys Cloud CLI | ||
RUN curl -s https://sdk-cdn.mypurecloud.com/external/go-cli/linux/dl/install.sh | sudo bash | ||
|
||
# Install the Archy CLI | ||
RUN cd ~ && \ | ||
mkdir archy && \ | ||
curl https://sdk-cdn.mypurecloud.com/archy/latest/archy-linux.zip > archy-linux.zip && \ | ||
unzip archy-linux.zip -d ~/archy && \ | ||
cd ~ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "Terraform and Go", | ||
"build": { | ||
"dockerfile": "Dockerfile" | ||
}, | ||
"features": { | ||
"ghcr.io/devcontainers/features/terraform:1":{}, | ||
"ghcr.io/devcontainers/features/go:1":{}, | ||
"ghcr.io/devcontainers/features/python": {} | ||
}, | ||
"hostRequirements": { | ||
"cpus": 4, | ||
"memory": "16gb", | ||
"storage": "32gb" | ||
}, | ||
"forwardPorts": [ | ||
8080 | ||
] | ||
} |
Validating CODEOWNERS rules …
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
# Assigning Declan, Hemanth, and myself as code owners | ||
* @dginty4 @carnellj-genesys @HemanthDogiparthi12 @charliecon @kavinbalagen | ||
* @dginty4 @carnellj-genesys @HemanthDogiparthi12 @charliecon @kavinbalagen @BrianMoyles @sureshperiyappan |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
feature: ['feature/*', 'feat/*'] | ||
bug: ['fix/*', 'bug/*'] | ||
refactor: ['refactor/*'] | ||
refactor: ['refactor/*'] | ||
hotfix: ['hotfix/*'] |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name: Go Checks | ||
on: | ||
push: | ||
paths-ignore: | ||
- 'README.md' | ||
jobs: | ||
go-checks: | ||
name: Go Checks | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 5 | ||
steps: | ||
- name: Set up Go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: '1.20' | ||
id: go | ||
|
||
- name: Setup Terraform CLI | ||
uses: hashicorp/[email protected] | ||
with: | ||
terraform_wrapper: false | ||
terraform_version: ${{ matrix.terraform }} | ||
|
||
- name: Check out code into the Go module directory | ||
uses: actions/checkout@v4 | ||
|
||
- name: Get dependencies | ||
run: | | ||
go mod download | ||
- name: Generate | ||
run: | | ||
go generate | ||
if [[ -n $(git status -s) ]]; then | ||
echo "There are untracked documentation changes:\n" | ||
git status | ||
exit 1 | ||
fi | ||
- name: Tidy | ||
run: | | ||
go mod tidy | ||
if [[ -n $(git status -s) ]]; then | ||
echo "go mod tidy produced changes:\n" | ||
git status | ||
exit 1 | ||
fi | ||
- name: Fmt | ||
run: | | ||
go fmt ./genesyscloud/... | ||
if [[ -n $(git status -s) ]]; then | ||
echo "go fmt produced changes:\n" | ||
git status | ||
echo "Please run 'go fmt ./genesyscloud/...' with go version 1.20 and commit these changes." | ||
exit 1 | ||
fi | ||
- name: Vet | ||
run: | | ||
if [[ -n $(go vet ./genesyscloud/... 2>&1) ]]; then | ||
echo "go vet highlighted the following:\n" | ||
go vet ./genesyscloud/... | ||
exit 1 | ||
fi |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,21 @@ name: PR Labeler | |
on: | ||
pull_request: | ||
types: [opened] | ||
pull_request_target: | ||
types: [opened] | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
pr-labeler: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read # for TimonVS/pr-labeler-action to read config file | ||
pull-requests: write # for TimonVS/pr-labeler-action to add labels in PR | ||
steps: | ||
- uses: TimonVS/[email protected] | ||
with: | ||
configuration-path: .github/pr-labeler-config.yml | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.