File tree 2 files changed +10
-7
lines changed
2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 8
8
schedule :
9
9
- cron : " 0 4 * * *"
10
10
11
+ concurrency :
12
+ group : ${{ github.ref }}
13
+ cancel-in-progress : true
14
+
11
15
jobs :
12
16
main :
13
17
runs-on : ubuntu-latest
@@ -120,15 +124,15 @@ jobs:
120
124
- 5432:5432
121
125
steps :
122
126
- name : Set up Docker Buildx
123
- uses : docker/setup-buildx-action@v1
127
+ uses : docker/setup-buildx-action@v2
124
128
- name : Login to ghcr.io
125
- uses : docker/login-action@v1
129
+ uses : docker/login-action@v2
126
130
with :
127
131
registry : ghcr.io
128
132
username : ${{ github.repository_owner }}
129
133
password : ${{ secrets.GITHUB_TOKEN }}
130
134
- name : Build image
131
- uses : docker/build-push-action@v2
135
+ uses : docker/build-push-action@v3
132
136
with :
133
137
build-args : |
134
138
python_version=${{ matrix.python_version }}
@@ -143,13 +147,13 @@ jobs:
143
147
cache-to : type=local,dest=/tmp/.buildx-cache
144
148
load : true
145
149
- name : Checkout
146
- uses : actions/checkout@v2
150
+ uses : actions/checkout@v3
147
151
- name : Tests
148
152
run : docker run -v ${PWD}/tests:/mnt/tests --network=host -e PGHOST=localhost ghcr.io/oca/oca-ci/${{ matrix.image_name }}:latest /mnt/tests/runtests.sh -v
149
153
# Don't bother with Odoo 8 and 9 for now...
150
154
if : ${{ matrix.odoo_version != '8.0' && matrix.odoo_version != '9.0' }}
151
155
- name : Push image
152
- uses : docker/build-push-action@v2
156
+ uses : docker/build-push-action@v3
153
157
with :
154
158
build-args : |
155
159
python_version=${{ matrix.python_version }}
Original file line number Diff line number Diff line change @@ -38,8 +38,7 @@ RUN curl -sSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
38
38
&& DEBIAN_FRONTEND=noninteractive apt-get install -qq postgresql-client-12
39
39
40
40
# Install Google Chrome for browser tests
41
- ARG chrome_version=90.0.4430.93-1
42
- RUN curl -sSL https://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_${chrome_version}_amd64.deb -o /tmp/chrome.deb \
41
+ RUN curl -sSL https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb -o /tmp/chrome.deb \
43
42
&& apt-get -y install --no-install-recommends /tmp/chrome.deb \
44
43
&& rm /tmp/chrome.deb
45
44
You can’t perform that action at this time.
0 commit comments