-
Notifications
You must be signed in to change notification settings - Fork 90
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
feat: add devcontainer #446
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,37 @@ | ||
{ | ||
"name": "terraform-provider-argocd", | ||
// officiall MS template from https://github.com/devcontainers/templates/tree/main/src/go | ||
"image": "mcr.microsoft.com/devcontainers/go:1.21-bookworm", | ||
"features": { | ||
// https://github.com/devcontainers/features/tree/main/src/docker-in-docker | ||
"ghcr.io/devcontainers/features/docker-in-docker:2": { | ||
"enableNonRootDocker": "false", | ||
"disableIp6tables": true // experienced issues with missing chains in ip6tables when creating kind clusters | ||
}, | ||
// https://github.com/devcontainers/features/tree/main/src/terraform | ||
"ghcr.io/devcontainers/features/terraform:1": { | ||
"version": "1.9.7" // omit for latest | ||
}, | ||
// https://github.com/mpriscella/features/tree/main/src/kind | ||
"ghcr.io/mpriscella/features/kind:1": { | ||
"version": "v0.20.0" // omit for latest | ||
}, | ||
// https://github.com/devcontainers/features/tree/main/src/kubectl-helm-minikube | ||
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": { | ||
"version": "1.27.11" | ||
}, | ||
// https://github.com/rio/features/tree/main/src/kustomize | ||
"ghcr.io/rio/features/kustomize:1": {}, | ||
// https://github.com/guiyomh/features/blob/main/src/goreleaser | ||
"ghcr.io/guiyomh/features/goreleaser:0": {}, | ||
// https://github.com/audacioustux/devcontainers/tree/main/src/argo | ||
"ghcr.io/audacioustux/devcontainers/argo:1": { | ||
"argocd": "2.8.13" // omit if empty | ||
} | ||
}, | ||
"forwardPorts": [ | ||
8080 // the "hard-coded" port for forwarded argo-cd" | ||
], | ||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "scripts/testacc_prepare_env.sh" // pre-create the kind cluster with argocd installed | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently
1.9.7
is latest, but we could also omit the version at all or specify another one if there's a defined version we use in the project?