You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make BUILD_OPTS=--no-transfer-progress SKIP_TESTS=true build
70
57
71
58
- name: Build and run local tests on Minikube
59
+
# Speed up the PR check by running both local and remote tests on push to main,
60
+
# and only run remote tests against a PR.
61
+
# TODO: Is this ok?
62
+
if: github.event_name == 'push'
72
63
working-directory: operator
73
64
run: |
74
-
make BUILD_OPTS="--no-transfer-progress" build
65
+
make BUILD_OPTS=--no-transfer-progress build
75
66
76
67
- name: Build temporary operator image
77
68
working-directory: operator
@@ -91,13 +82,13 @@ jobs:
91
82
- name: Run remote and OLM tests on Minikube
92
83
working-directory: operator
93
84
run: |
94
-
make BUILD_OPTS="--no-transfer-progress" remote-tests-all
85
+
make BUILD_OPTS=--no-transfer-progress remote-tests-all
95
86
96
87
- name: Update install file
97
88
working-directory: operator
98
89
run: |
99
90
# We need to remove unset the variables to generate a clean install file.
100
-
# See https://stackoverflow.com/questions/70137245/how-to-remove-an-environment-variable-on-github-actions
91
+
# See https://github.com/actions/runner/issues/1126
101
92
unset IMAGE
102
93
unset BUNDLE_IMAGE
103
94
unset CATALOG_IMAGE
@@ -110,7 +101,7 @@ jobs:
110
101
echo 'Install file needs to be updated. Please run "cd operator; make SKIP_TESTS=true build IMAGE_TAG=latest-snapshot INSTALL_FILE=install/install.yaml dist-install-file" and commit the result.';
111
102
exit 1;
112
103
else
113
-
echo "No changes to the install file.";
104
+
echo "No changes to the install file.";
114
105
fi
115
106
116
107
operator-publish:
@@ -120,11 +111,12 @@ jobs:
120
111
if: github.event_name == 'push'
121
112
steps:
122
113
123
-
# Do not publish (version)-snapshot tag, instead use `latest-snapshot`.
124
114
- name: Configure env. variables
125
115
run: |
116
+
# We want to use latest-snapshot instead of x.y.z-snapshot
0 commit comments