Skip to content

Commit

Permalink
Merge branch 'refs/heads/master' into feature/SLT-1039-nginx1.26
Browse files Browse the repository at this point in the history
# Conflicts:
#	.github/dependabot.yml
  • Loading branch information
Rade333 committed Jun 12, 2024
2 parents 677ff7a + 4da247f commit c282d56
Show file tree
Hide file tree
Showing 16 changed files with 237 additions and 68 deletions.
163 changes: 116 additions & 47 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,66 @@
version: 2
updates:

# silta-cicd
- package-ecosystem: "docker"
directory: "/silta-node/12-alpine"
directory: "/silta-cicd/circleci-php8.0-node16-composer2"
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
- dependency-name: "cimg/php"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
- package-ecosystem: "docker"
directory: "/silta-node/14-alpine"
directory: "/silta-cicd/circleci-php8.1-node16-composer2"
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
- dependency-name: "cimg/php"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
- package-ecosystem: "docker"
directory: "/silta-node/16-alpine"
directory: "/silta-cicd/circleci-php8.1-node18-composer2"
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
- dependency-name: "cimg/php"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
- package-ecosystem: "docker"
directory: "/silta-node/18-alpine"
directory: "/silta-cicd/circleci-php8.2-node18-composer2"
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
- dependency-name: "cimg/php"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
- package-ecosystem: "docker"
directory: "/silta-node/20-alpine"
directory: "/silta-cicd/circleci-php8.2-node20-composer2"
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]
- dependency-name: "cimg/php"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"

# silta-mailhog
- package-ecosystem: "docker"
directory: "/silta-mailhog/silent"
schedule:
interval: "daily"

# silta-nginx
- package-ecosystem: "docker"
directory: "/silta-nginx/1.17"
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
- dependency-name: "nginx"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
Expand All @@ -50,7 +69,7 @@ updates:
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
- dependency-name: "nginx"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
Expand All @@ -59,7 +78,7 @@ updates:
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
- dependency-name: "nginx"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
Expand All @@ -68,7 +87,7 @@ updates:
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
- dependency-name: "nginx"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
Expand All @@ -77,7 +96,7 @@ updates:
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
- dependency-name: "nginx"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
Expand All @@ -86,17 +105,55 @@ updates:
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
- dependency-name: "nginx"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"

# silta-node
- package-ecosystem: "docker"
directory: "/silta-node/12-alpine"
schedule:
interval: "daily"
ignore:
- dependency-name: "node"
update-types: ["version-update:semver-major"]
- package-ecosystem: "docker"
directory: "/silta-node/14-alpine"
schedule:
interval: "daily"
ignore:
- dependency-name: "node"
update-types: ["version-update:semver-major"]
- package-ecosystem: "docker"
directory: "/silta-node/16-alpine"
schedule:
interval: "daily"
ignore:
- dependency-name: "node"
update-types: ["version-update:semver-major"]
- package-ecosystem: "docker"
directory: "/silta-node/18-alpine"
schedule:
interval: "daily"
ignore:
- dependency-name: "node"
update-types: ["version-update:semver-major"]
- package-ecosystem: "docker"
directory: "/silta-node/20-alpine"
schedule:
interval: "daily"
ignore:
- dependency-name: "node"
update-types: ["version-update:semver-major"]

# silta-php-fpm
- package-ecosystem: "docker"
directory: "/silta-php-fpm/7.2-fpm"
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
- dependency-name: "php"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
Expand All @@ -105,7 +162,7 @@ updates:
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
- dependency-name: "php"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
Expand All @@ -114,7 +171,7 @@ updates:
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
- dependency-name: "php"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
Expand All @@ -123,7 +180,7 @@ updates:
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
- dependency-name: "php"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
Expand All @@ -132,7 +189,7 @@ updates:
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
- dependency-name: "php"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
Expand All @@ -141,17 +198,18 @@ updates:
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
- dependency-name: "php"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"

# silta-php-shell
- package-ecosystem: "docker"
directory: "/silta-php-shell/php-7.2"
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
- dependency-name: "wunderio/silta-php-fpm"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
Expand All @@ -160,7 +218,7 @@ updates:
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
- dependency-name: "wunderio/silta-php-fpm"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
Expand All @@ -169,7 +227,7 @@ updates:
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
- dependency-name: "wunderio/silta-php-fpm"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
Expand All @@ -178,7 +236,7 @@ updates:
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
- dependency-name: "wunderio/silta-php-fpm"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
Expand All @@ -187,7 +245,7 @@ updates:
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
- dependency-name: "wunderio/silta-php-fpm"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
Expand All @@ -196,48 +254,59 @@ updates:
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
- dependency-name: "wunderio/silta-php-fpm"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"

# silta-proxy
- package-ecosystem: "docker"
directory: "/silta-varnish/varnish6"
directory: "/silta-proxy/latest"
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major"]

# silta-robot-framework
- package-ecosystem: "docker"
directory: "/silta-mailhog/silent"
directory: "/silta-robot-framework/robot-6"
schedule:
interval: "daily"

# silta-rsync
- package-ecosystem: "docker"
directory: "/silta-proxy/latest"
directory: "/silta-rsync/rsync"
schedule:
interval: "daily"

# silta-solr
- package-ecosystem: "docker"
directory: "/silta-rsync/rsync"
directory: "/silta-solr/8"
schedule:
interval: "daily"
ignore:
- dependency-name: "geerlingguy/solr"
update-types: ["version-update:semver-major"]

# silta-splash
- package-ecosystem: "docker"
directory: "/silta-solr/8"
directory: "/silta-splash/latest"
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
- dependency-name: "nginxinc/nginx-unprivileged"
update-types: ["version-update:semver-major"]

# silta-varnish
- package-ecosystem: "docker"
directory: "/silta-splash/latest"
directory: "/silta-varnish/varnish6"
schedule:
interval: "daily"
ignore:
- dependency-name: "*"
update-types:
- "version-update:semver-major"
- "version-update:semver-minor"
- dependency-name: "varnish"
update-types: ["version-update:semver-major"]
- package-ecosystem: "docker"
directory: "/silta-varnish/varnish7"
schedule:
interval: "daily"
ignore:
- dependency-name: "varnish"
update-types: ["version-update:semver-major"]
19 changes: 18 additions & 1 deletion silta-cicd/circleci-php8.0-node16-composer2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM cimg/php:8.0.13-node
FROM cimg/php:8.0.13

# Make composer packages executable.
ENV PATH="/home/circleci/.composer/vendor/bin:${PATH}"
Expand Down Expand Up @@ -56,5 +56,22 @@ RUN sudo apt-get clean autoclean -y \
# TODO: when https://github.com/lrills/helm-unittest/issues/87 is merged,
# switch back to using https://github.com/lrills/helm-unittest as the source

# Install Node.js and Yarn.
# The following code is based on the CircleCI Node.js Dockerfile template:
# https://github.com/CircleCI-Public/cimg-shared/blob/main/variants/node.Dockerfile.template
ENV NODE_VERSION 16.13.0
RUN echo "Installing Node.js version ${NODE_VERSION}"
RUN curl -L -o node.tar.xz "https://nodejs.org/dist/v${NODE_VERSION}/node-v${NODE_VERSION}-linux-x64.tar.xz" && \
sudo tar -xJf node.tar.xz -C /usr/local --strip-components=1 && \
rm node.tar.xz && \
sudo ln -s /usr/local/bin/node /usr/local/bin/nodejs

ENV YARN_VERSION 1.22.5
RUN curl -L -o yarn.tar.gz "https://yarnpkg.com/downloads/${YARN_VERSION}/yarn-v${YARN_VERSION}.tar.gz" && \
sudo tar -xzf yarn.tar.gz -C /opt/ && \
rm yarn.tar.gz && \
sudo ln -s /opt/yarn-v${YARN_VERSION}/bin/yarn /usr/local/bin/yarn && \
sudo ln -s /opt/yarn-v${YARN_VERSION}/bin/yarnpkg /usr/local/bin/yarnpkg

# Add custom php config and lift memory limit.
COPY conf/php/memory.ini /usr/local/etc/php/conf.d/memory.ini
5 changes: 4 additions & 1 deletion silta-cicd/circleci-php8.0-node16-composer2/README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
# silta-circleci
A docker image used circleCI, based on `cimg/php:8.0.13-node` with the following additions:
A docker image used circleCI, based on `cimg/php:8.0.13` with the following additions:

- Composer configured correctly
- Drush-launcher and coder pre-installed
- Vim, useful for debugging
- kubernetes and helm
- Node.js
- Yarn

## Versions
- PHP: 8.0.13
- Composer: 2.1.12
- Node: 16.13.0
- Yarn: 1.22.5
- Helm: v3.14.0
4 changes: 2 additions & 2 deletions silta-cicd/circleci-php8.0-node16-composer2/TAGS
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
circleci-php8.0-node16-composer2-v1
circleci-php8.0-node16-composer2-v1.4
circleci-php8.0-node16-composer2-v1.4.0
circleci-php8.0-node16-composer2-v1.5
circleci-php8.0-node16-composer2-v1.5.0
Loading

0 comments on commit c282d56

Please sign in to comment.