Skip to content

Commit

Permalink
Merge pull request #411 from PrestaShop/useNightlyBuild
Browse files Browse the repository at this point in the history
Nightly : Fixed grep with env variable
  • Loading branch information
jolelievre authored Dec 9, 2024
2 parents 216c8db + 8220cfb commit db56ae0
Show file tree
Hide file tree
Showing 19 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion base/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/7.1-apache/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/7.1-fpm/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/7.2-apache/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/7.2-fpm/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/7.3-apache/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/7.3-fpm/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/7.4-apache/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/7.4-fpm/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/8.0-apache/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/8.0-fpm/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/8.1-apache/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/8.1-fpm/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/8.2-apache/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/8.2-fpm/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/8.3-apache/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/8.3-fpm/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/8.4-apache/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down
2 changes: 1 addition & 1 deletion base/images/8.4-fpm/config_files/docker_nightly_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Download nightly build
if [ ! -d /tmp/data-ps ]; then
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E '$PS_VERSION.+\.zip$' | tail -1` /tmp/prestashop.zip
gsutil cp `gsutil ls gs://prestashop-core-nightly/ | grep -E "$PS_VERSION.+\.zip$" | tail -1` /tmp/prestashop.zip

mkdir -p /tmp/data-ps
unzip -q /tmp/prestashop.zip -d /tmp/data-ps/
Expand Down

0 comments on commit db56ae0

Please sign in to comment.