Closed mkuziemko closed 2 years ago
Changes proposed in this pull request:
value: key: test backend: context: (...)
will create an appropriate TypeInstance object and create a mutation.
value
strip-value: true
Mattermost installation
make dev-cluster
kubectl set env deploy/capact-hub-public -n capact-system -c hub-public-populator MANIFESTS_SOURCES="github.com/mkuziemko/hub-manifests?ref=context_handling"
port-foward
kubectl port-forward svc/capact-gateway 8080:80 -n capt-system
cat <<EOF > /tmp/mattermost-install.yaml input-parameters: host: mattermost.capact.local EOF
capact action create --name mattermost-install cap.interface.productivity.mattermost.install --parameters-from-file /tmp/mattermost-install.yaml
capact act run mattermost-install
capact act watch mattermost-install
capact act delete mattermost-install
PostgreSQL installation
cat <<EOF > /tmp/postgresql-install.yaml input-parameters: superuser: username: "username" password: "password" defaultDBName: "default_db" EOF
capact action create --name test-1 cap.interface.database.postgresql.install --parameters-from-file /tmp/postgresql-install.yaml
capact act run test-1 capact act watch test-1
Run integration tests
Currently, the tests are failing due to a lack of storage backend integration. It will be fixed by: https://github.com/capactio/capact/pull/655
Note: No longer valid. The PR was merged and this branch was updated. We can run tests by simple: make test-integration
make test-integration
helm install dotenv -n capact-system ./deploy/kubernetes/charts/secret-storage-backend --set=global.containerRegistry.path="ghcr.io/capactio/pr" --set=global.containerRegistry.overrideTag="PR-653" --set=supportedProviders={aws_secretsmanager,dotenv} --wait
waitTillServiceEndpointsAreReady()
export STATUS_ENDPOINTS="not-needed" export GATEWAY_USERNAME="graphql" export GATEWAY_PASSWORD="t0p_s3cr3t" export GATEWAY_ENDPOINT="https://gateway.capact.local/graphql"
ginkgo -tags="integration" -v --focus="should propagate context provider to storage backend" ./test/e2e/... ginkgo -tags="integration" -v --focus="should fail due to incorrect storage provider" ./test/e2e/...
Description
Changes proposed in this pull request:
will create an appropriate TypeInstance object and create a mutation.
value
to output,strip-value: true
,value
if exists in the artifacts.Testing
Mattermost installation
make dev-cluster
port-foward
for capact-gateway :capact act run mattermost-install
andcapact act watch mattermost-install
to observe the status of the running action.capact act delete mattermost-install
and helm charts.PostgreSQL installation
Run integration tests
Currently, the tests are failing due to a lack of storage backend integration. It will be fixed by: https://github.com/capactio/capact/pull/655
Note: No longer valid. The PR was merged and this branch was updated. We can run tests by simple:
make test-integration
Related issue(s)