Update argoCD test
Signed-off-by: Tom Chauveau <tom.chauveau@epitech.eu>
This commit is contained in:
21
.github/workflows/ci.yml
vendored
21
.github/workflows/ci.yml
vendored
@@ -141,16 +141,27 @@ jobs:
|
||||
run: |
|
||||
mkdir -p ~/.config/dagger
|
||||
echo "$DAGGER_AGE_KEY" > ~/.config/dagger/keys.txt
|
||||
|
||||
|
||||
- name: Provision Localstack AWS resources
|
||||
env:
|
||||
AWS_ACCESS_KEY_ID: test
|
||||
AWS_SECRET_ACCESS_KEY: test
|
||||
AWS_DEFAULT_REGION: us-east-2
|
||||
AWS_ACCESS_KEY_ID: test
|
||||
AWS_SECRET_ACCESS_KEY: test
|
||||
AWS_DEFAULT_REGION: us-east-2
|
||||
run: |
|
||||
aws --endpoint-url=http://localhost:4566 s3 mb s3://dagger-ci
|
||||
aws --endpoint-url=http://localhost:4566 ecr create-repository --repository-name dagger-ci
|
||||
|
||||
|
||||
- name: Setup ArgoCD infra
|
||||
run: |
|
||||
make install
|
||||
dagger -w universe -e argocd-infra input text TestKubeconfig -f "$HOME"/.kube/config
|
||||
dagger -w universe -e dagger-infra up
|
||||
|
||||
# Expose Argo API
|
||||
kubectl port-forward svc/argocd-server -n argocd 8080:443 &
|
||||
curl localhost:8080
|
||||
continue-on-error: true
|
||||
|
||||
- name: Universe Test
|
||||
run: |
|
||||
make universe-test
|
||||
|
Reference in New Issue
Block a user