Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
22 changes: 10 additions & 12 deletions .github/workflows/terragrunt-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -203,16 +203,15 @@ jobs:
KUBERGRUNT_EXEC: ${{ github.workspace }}/tmp_bin/kubergrunt
# TF_LOG: DEBUG

# - name: Testkube Pre-Apply
# if: github.ref == 'refs/heads/master' && github.event_name == 'push'
# id: testkube
# - name: Testkube Pre-Apply - infra-base
# # if: github.ref == 'refs/heads/master' && github.event_name == 'push'
# uses: ManagedKube/github-action-testkube@v1.0.14
# with:
# test-suite-name: 'infra-base'
# test-suite-name: infra-base
# cluster-name: ${{ env.ENVIRONMENT_NAME }}

- name: Terragrunt Apply
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
# if: github.ref == 'refs/heads/main' && github.event_name == 'push'
uses: the-commons-project/terragrunt-github-actions@master
with:
tf_actions_version: ${{ env.tf_version }}
Expand All @@ -225,10 +224,9 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
KUBERGRUNT_EXEC: ${{ github.workspace }}/tmp_bin/kubergrunt

# - name: Testkube Post-Apply
# if: github.ref == 'refs/heads/master' && github.event_name == 'push'
# id: testkube
# uses: ManagedKube/github-action-testkube@v1.0.14
# with:
# test-suite-name: 'infra-base'
# cluster-name: ${{ env.ENVIRONMENT_NAME }}
- name: Testkube Post-Apply
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
uses: ManagedKube/github-action-testkube@v1.0.14
with:
test-suite-name: 'infra-base'
cluster-name: ${{ env.ENVIRONMENT_NAME }}
8 changes: 8 additions & 0 deletions terraform-environments/aws/terragrunt-dev/progress.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,3 +332,11 @@ getting this one certificate would be good enough.
PR: https://github.com/ManagedKube/kubernetes-ops/pull/343

Can reach grafana at this URL: https://grafana.terragrunt-dev.managedkube.com

# enabling testkube

PR: https://github.com/ManagedKube/kubernetes-ops/pull/346

We added testkube deployments into the cluster above but it was disabled b/c the initial
test was testing to see if the prometheus endpoint was up or not. Now that it is,
we can enable it so that it would actually pass.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ locals {
# MODULE PARAMETERS
# These are the variables we have to pass in to use the module specified in the terragrunt configuration above
# ---------------------------------------------------------------------------------------------------------------------
#
# Chart source: https://github.com/kubeshop/helm-charts/tree/main/charts/testkube
inputs = {
repository = "https://kubeshop.github.io/helm-charts"
official_chart_name = "testkube"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include {
}

terraform {
source = "github.com/ManagedKube/kubernetes-ops.git//terraform-modules/aws/testkube/base-tests/test-suites/infra-base?ref=v2.0.11"
source = "github.com/ManagedKube/kubernetes-ops.git//terraform-modules/aws/testkube/base-tests/test-suites/infra-base?ref=enabling-testkube"
}

dependency "eks" {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,5 @@ locals {
inputs = {
app_namespace = "my-app"
}


Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
{
"command": [
"curl",
"http://alertmanager-operated.monitoring.svc:9093/api/v2/status"
"http://kube-prometheus-stack-alertmanager.monitoring.svc:9093/api/v2/status"
],
"expected_status": "200",
"expected_body": "slack_configs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
{
"command": [
"curl",
"http://my-app.${namespace}.svc:80/public-routes"
"http://my-app.${namespace}.svcxxx:80/public-routes"
],
"expected_status": "200",
"expected_body": "my-app is up"
Expand Down