File tree Expand file tree Collapse file tree 1 file changed +32
-1
lines changed Expand file tree Collapse file tree 1 file changed +32
-1
lines changed Original file line number Diff line number Diff line change 6363 MONGODB_ATLAS_SECRET_PROFILE : cfn-cloud-dev-github-action
6464 run : |
6565 cd cfn-resources/test/e2e/cluster
66- go test -timeout 90m -v -parallel 2 cluster_test.go cluster_pause_test.go
66+ go test -timeout 90m -v cluster_test.go
67+
68+ cluster-pause :
69+ needs : change-detection
70+ if : ${{ needs.change-detection.outputs.cluster == 'true' }}
71+ runs-on : ubuntu-latest
72+ steps :
73+ - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
74+ - uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c
75+ with :
76+ python-version : ' 3.9'
77+ cache : ' pip'
78+ - run : pip install cloudformation-cli-go-plugin
79+ - uses : actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00
80+ with :
81+ go-version-file : ' cfn-resources/go.mod'
82+ - uses : aws-actions/configure-aws-credentials@00943011d9042930efac3dcd3a170e4273319bc8
83+ with :
84+ aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID_TEST_ENV }}
85+ aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY_TEST_ENV }}
86+ aws-region : eu-west-1
87+ - name : Run E2E test
88+ shell : bash
89+ env :
90+ MONGODB_ATLAS_PUBLIC_KEY : ${{ secrets.CLOUD_DEV_PUBLIC_KEY }}
91+ MONGODB_ATLAS_PRIVATE_KEY : ${{ secrets.CLOUD_DEV_PRIVATE_KEY }}
92+ MONGODB_ATLAS_ORG_ID : ${{ secrets.CLOUD_DEV_ORG_ID }}
93+ MONGODB_ATLAS_BASE_URL : https://cloud-dev.mongodb.com/
94+ MONGODB_ATLAS_SECRET_PROFILE : cfn-cloud-dev-github-action
95+ run : |
96+ cd cfn-resources/test/e2e/cluster
97+ go test -timeout 90m -v cluster_pause_test.go
6798
6899
69100 flex-cluster :
You can’t perform that action at this time.
0 commit comments