forked from aws-containers/retail-store-sample-app
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
04552bc
commit 1f2a99c
Showing
1 changed file
with
7 additions
and
13 deletions.
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 |
---|---|---|
|
@@ -51,32 +51,22 @@ jobs: | |
- uses: cachix/cachix-action@v14 | ||
with: | ||
name: devenv | ||
|
||
- name: Install devenv.sh | ||
run: nix profile install nixpkgs#devenv | ||
|
||
- name: Yarn install | ||
uses: nick-fields/retry@v3 | ||
with: | ||
timeout_minutes: 10 | ||
max_attempts: 3 | ||
command: devenv shell yarn install | ||
|
||
- name: Build images | ||
shell: devenv shell bash -- -e {0} | ||
run: | | ||
yarn nx run-many -t container --projects=tag:service \ | ||
--tags public.ecr.aws/aws-containers/retail-store-sample-{projectName}:e2e --parallel=5 | ||
- name: Kind config | ||
run: | | ||
cat <<EOF >>/tmp/config.yml | ||
kind: Cluster | ||
apiVersion: kind.x-k8s.io/v1alpha4 | ||
nodes: | ||
- role: control-plane | ||
extraPortMappings: | ||
- containerPort: 8888 | ||
hostPort: 8888 | ||
listenAddress: "127.0.0.1" | ||
protocol: TCP | ||
EOF | ||
- name: Kind cluster | ||
uses: helm/[email protected] | ||
|
@@ -103,6 +93,10 @@ jobs: | |
kubectl get pod | ||
kubectl logs deployment/catalog | ||
#kubectl wait --for=condition=Ready pod -l app.kubernetes.io/owner=retail-store-sample --timeout 180s | ||
- name: Test | ||
shell: devenv shell bash -- -e {0} | ||
run: | | ||
|