Skip to content

Commit f15dc5e

Browse files
authored
fix: wrong indentation (#803)
1 parent 59be5c4 commit f15dc5e

File tree

1 file changed

+53
-53
lines changed

1 file changed

+53
-53
lines changed

.github/workflows/e2e-test-mysql.yml

Lines changed: 53 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -19,65 +19,65 @@ jobs:
1919
- name: clean resident local docker
2020
if: ${{ env.ACT }}
2121
continue-on-error: true
22-
run: |
23-
for DIMG in "$KIND_CL_NAME-control-plane "; do
24-
docker stop $DIMG ; docker rm $DIMG ;
25-
done ;
26-
sleep 1
22+
run: |
23+
for DIMG in "$KIND_CL_NAME-control-plane "; do
24+
docker stop $DIMG ; docker rm $DIMG ;
25+
done ;
26+
sleep 1
2727
28-
- name: Create Kubernetes KinD Cluster
29-
uses: container-tools/kind-action@v1.7.0
30-
with:
31-
cluster_name: e2e-test
32-
registry: false
28+
- name: Create Kubernetes KinD Cluster
29+
uses: container-tools/kind-action@v1.7.0
30+
with:
31+
cluster_name: e2e-test
32+
registry: false
3333

34-
- name: Deploy MySQL DB
35-
working-directory: sample-operators/mysql-schema
36-
run: |
37-
kubectl create namespace mysql
38-
kubectl apply -f k8s/mysql-deployment.yaml
39-
kubectl apply -f k8s/mysql-service.yaml
34+
- name: Deploy MySQL DB
35+
working-directory: sample-operators/mysql-schema
36+
run: |
37+
kubectl create namespace mysql
38+
kubectl apply -f k8s/mysql-deployment.yaml
39+
kubectl apply -f k8s/mysql-service.yaml
4040
41-
- name: Set up Java and Maven
42-
uses: actions/setup-java@v2
43-
with:
44-
java-version: 11
45-
distribution: adopt-hotspot
46-
cache: 'maven'
41+
- name: Set up Java and Maven
42+
uses: actions/setup-java@v2
43+
with:
44+
java-version: 11
45+
distribution: adopt-hotspot
46+
cache: 'maven'
4747

48-
- name: Build SDK
49-
run: mvn install -DskipTests
48+
- name: Build SDK
49+
run: mvn install -DskipTests
5050

51-
- name: build jib
52-
working-directory: sample-operators/mysql-schema
53-
run: |
54-
mvn --version
55-
mvn -B package jib:dockerBuild jib:buildTar -Djib-maven-image=mysql-schema-operator -DskipTests
56-
kind load image-archive target/jib-image.tar --name=${{ env.KIND_CL_NAME }}
51+
- name: build jib
52+
working-directory: sample-operators/mysql-schema
53+
run: |
54+
mvn --version
55+
mvn -B package jib:dockerBuild jib:buildTar -Djib-maven-image=mysql-schema-operator -DskipTests
56+
kind load image-archive target/jib-image.tar --name=${{ env.KIND_CL_NAME }}
5757
58-
- name: Apply CRDs
59-
working-directory: sample-operators/mysql-schema
60-
run: |
61-
kubectl apply -f target/classes/META-INF/fabric8/mysqlschemas.mysql.sample.javaoperatorsdk-v1.yml
58+
- name: Apply CRDs
59+
working-directory: sample-operators/mysql-schema
60+
run: |
61+
kubectl apply -f target/classes/META-INF/fabric8/mysqlschemas.mysql.sample.javaoperatorsdk-v1.yml
6262
63-
- name: Deploy MySQL Operator
64-
working-directory: sample-operators/mysql-schema
65-
run: |
66-
kubectl apply -f k8s/operator.yaml
63+
- name: Deploy MySQL Operator
64+
working-directory: sample-operators/mysql-schema
65+
run: |
66+
kubectl apply -f k8s/operator.yaml
6767
68-
- name: Run E2E Tests
69-
working-directory: sample-operators/mysql-schema
70-
run: mvn -B test -P end-to-end-tests
68+
- name: Run E2E Tests
69+
working-directory: sample-operators/mysql-schema
70+
run: mvn -B test -P end-to-end-tests
7171

72-
- name: Dump state
73-
if: ${{ failure() }}
74-
run: |
75-
set +e
76-
echo "All namespaces"
77-
kubectl get ns
78-
echo "All objects in mysql"
79-
kubectl get all -n mysql-schema-test" -o yaml
80-
echo "Output of mysql pod"
81-
kubectl logs -l app=mysql-schema-operator -n mysql-schema
82-
echo "All objects in mysql-schema-test"
83-
kubectl get deployment,pod,tomcat,webapp -n mysql-schema-test" -o yaml
72+
- name: Dump state
73+
if: ${{ failure() }}
74+
run: |
75+
set +e
76+
echo "All namespaces"
77+
kubectl get ns
78+
echo "All objects in mysql"
79+
kubectl get all -n mysql-schema-test" -o yaml
80+
echo "Output of mysql pod"
81+
kubectl logs -l app=mysql-schema-operator -n mysql-schema
82+
echo "All objects in mysql-schema-test"
83+
kubectl get deployment,pod,tomcat,webapp -n mysql-schema-test" -o yaml

0 commit comments

Comments
 (0)