Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab-ci
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wpdesk
Predators
Shopify
Tools
gitlab-ci
Commits
a51c9ac8
Commit
a51c9ac8
authored
1 year ago
by
Sebastian Pisula
Browse files
Options
Downloads
Patches
Plain Diff
feature(core): php 8.2
parent
7e3adad4
No related branches found
No related tags found
1 merge request
!15
feature(core): php 8.2
Pipeline
#301527
skipped with stage
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitlab-ci.yml
+3
-0
3 additions, 0 deletions
.gitlab-ci.yml
Docker/php-8.2/Dockerfile
+7
-0
7 additions, 0 deletions
Docker/php-8.2/Dockerfile
Docker/php-8.2/build.sh
+6
-0
6 additions, 0 deletions
Docker/php-8.2/build.sh
gitlab-ci.yml
+3
-3
3 additions, 3 deletions
gitlab-ci.yml
with
19 additions
and
3 deletions
.gitlab-ci.yml
+
3
−
0
View file @
a51c9ac8
...
@@ -25,6 +25,9 @@ stages:
...
@@ -25,6 +25,9 @@ stages:
script
:
script
:
-
cd Docker/php-8.1
-
cd Docker/php-8.1
-
sh ./build.sh
-
sh ./build.sh
-
cd ..
-
cd Docker/php-8.2
-
sh ./build.sh
build
:
build
:
<<
:
*build-template
<<
:
*build-template
...
...
This diff is collapsed.
Click to expand it.
Docker/php-8.2/Dockerfile
0 → 100644
+
7
−
0
View file @
a51c9ac8
FROM
php:8.2-cli
RUN
apt-get update
&&
apt-get
install
-y
git libzip-dev zip libicu-dev
&&
docker-php-ext-install zip
&&
docker-php-ext-install bcmath
&&
docker-php-ext-configure intl
&&
docker-php-ext-install intl
\
&&
php
-r
"copy('https://getcomposer.org/installer', 'composer-setup.php');"
\
&&
php composer-setup.php
--install-dir
=
/usr/local/bin
--filename
=
composer
This diff is collapsed.
Click to expand it.
Docker/php-8.2/build.sh
0 → 100644
+
6
−
0
View file @
a51c9ac8
#!/bin/bash
TAG
=
1
docker build
-t
$IMAGE_TAG
/php-8.2:
$TAG
.
docker push
$IMAGE_TAG
/php-8.2:
$TAG
\ No newline at end of file
This diff is collapsed.
Click to expand it.
gitlab-ci.yml
+
3
−
3
View file @
a51c9ac8
...
@@ -36,7 +36,7 @@ stages:
...
@@ -36,7 +36,7 @@ stages:
-
npm config set -- //${CI_SERVER_HOST}/:_authToken=${PREDATORS_DEPLOY_TOKEN}
-
npm config set -- //${CI_SERVER_HOST}/:_authToken=${PREDATORS_DEPLOY_TOKEN}
-
npm config set @octolize:registry=https://${CI_SERVER_HOST}/api/v4/packages/npm/
-
npm config set @octolize:registry=https://${CI_SERVER_HOST}/api/v4/packages/npm/
-
npm config list
-
npm config list
-
npm i
nstall
-
npm
c
i
-
npm run build
-
npm run build
.template
:
&deploy-template
.template
:
&deploy-template
...
@@ -55,7 +55,7 @@ stages:
...
@@ -55,7 +55,7 @@ stages:
-
ls -al
-
ls -al
-
ssh-keyscan -H -p 222 $DEPLOY_HOST >> ~/.ssh/known_hosts
-
ssh-keyscan -H -p 222 $DEPLOY_HOST >> ~/.ssh/known_hosts
-
rsync -v --delete -rlDe 'ssh -p 222 -v -i ~/.ssh/id_rsa_demo_fs' --exclude-from=.distignore ${CI_PROJECT_DIR}/web/ $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_DIR
-
rsync -v --delete -rlDe 'ssh -p 222 -v -i ~/.ssh/id_rsa_demo_fs' --exclude-from=.distignore ${CI_PROJECT_DIR}/web/ $DEPLOY_USER@$DEPLOY_HOST:$DEPLOY_DIR
-
ssh -p 222 -i ~/.ssh/id_rsa_demo_fs $DEPLOY_USER@$DEPLOY_HOST "cd $DEPLOY_DIR && mv frontend/dist/assets/ public/ && mv frontend/dist/index.html public/index.html && php8
1
bin/console doctrine:migrations:migrate --no-interaction && php8
1
bin/console cache:clear && $RUN_AFTER_DEPLOY"
-
ssh -p 222 -i ~/.ssh/id_rsa_demo_fs $DEPLOY_USER@$DEPLOY_HOST "cd $DEPLOY_DIR && mv frontend/dist/assets/ public/ && mv frontend/dist/index.html public/index.html && php8
2
bin/console doctrine:migrations:migrate --no-interaction && php8
2
bin/console cache:clear && $RUN_AFTER_DEPLOY"
after_script
:
after_script
:
-
$DEPLOY_AFTER_SCRIPT
-
$DEPLOY_AFTER_SCRIPT
...
@@ -84,7 +84,7 @@ composer install:
...
@@ -84,7 +84,7 @@ composer install:
name
:
"
vendor"
name
:
"
vendor"
paths
:
paths
:
-
web/vendor
-
web/vendor
image
:
gitlab.wpdesk.dev:5050/wpdesk/predators/shopify/tools/gitlab-ci/php-8.
1
:1
image
:
gitlab.wpdesk.dev:5050/wpdesk/predators/shopify/tools/gitlab-ci/php-8.
2
:1
tags
:
tags
:
-
vendor
-
vendor
stage
:
build
stage
:
build
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment