-
Notifications
You must be signed in to change notification settings - Fork 18
Release #519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Szpadel
wants to merge
25
commits into
rocky-master
Choose a base branch
from
rocky-develop
base: rocky-master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Release #519
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
382e09d
Ignore errors when setting log retention
MariuszJozwiak bbee46a
Update magerun to 9.3.0
MariuszJozwiak 0485f01
Add Google Tag Manager server-side
MariuszJozwiak 658b686
Merge pull request #503 from mageops/dev-rotation
Szpadel ff2e830
Restrict GTM app ingress on ports 8080/8081 to Varnish security group
Szpadel 0f93b88
Fix GTM vcl_recv branch syntax by using valid VCL 'elsif'
Szpadel ee5113f
Run GTM role only with standalone Varnish topology
Szpadel b6afdcf
Merge pull request #517 from mageops/dev-magerun
Szpadel e212504
Merge pull request #515 from mageops/dev-gtm
Szpadel 0f50729
feat: DEVOPS-621 add search ajax suggest cache type
piotrmatras 790d429
Merge pull request #518 from piotrmatras/feat/DEVOPS-621/add-search-a…
Szpadel d857551
feat: DEVOPS-623 add realpath cache configuration
piotrmatras 4473c4c
Align php realpath cache group vars with updated defaults
Szpadel 2957432
Merge pull request #520 from piotrmatras/feat/DEVOPS-623/realpath-cac…
Szpadel bdf8c09
Implement rclone replacement for s3fs
Szpadel 1ef63e9
Merge pull request #521 from mageops/dev-rclone
MariuszJozwiak 48b2fd5
Add slowlog depth trace option to PHP
MariuszJozwiak 13e3a9a
Apply suggestions from code review
Szpadel dee72a5
Merge pull request #523 from mageops/dev-slowlog
Szpadel 94337cc
Fix plugin reinstall logic
Szpadel 1c0be8d
Merge pull request #524 from mageops/dev-opensearch-plugins
MariuszJozwiak 159142f
Move lazy resize to etc.php
MariuszJozwiak e4dcd66
feat: DEVOPS-627 allow cache search results
piotrmatras 57db75a
Merge pull request #526 from mageops/dev-lazy
Szpadel fef179b
Merge pull request #525 from piotrmatras/feat/DEVOPS-627/allow-cache-…
Szpadel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| - name: Ensure Podman is installed (RHEL/CentOS/Amazon Linux 2023) | ||
| ansible.builtin.dnf: | ||
| name: | ||
| - podman | ||
| - containers-common | ||
| - slirp4netns | ||
| - fuse-overlayfs | ||
| state: present | ||
|
|
||
| - name: Pull Google Tag Manager Server-Side image | ||
| containers.podman.podman_image: | ||
| name: gcr.io/cloud-tagging-10302018/gtm-cloud-image | ||
| tag: stable | ||
|
|
||
| # MAIN (tagging) container | ||
| - name: Run GTM SS main container and create systemd service | ||
| containers.podman.podman_container: | ||
| name: gtm | ||
| image: gcr.io/cloud-tagging-10302018/gtm-cloud-image:stable | ||
| state: started | ||
| restart_policy: always | ||
| publish: | ||
| - "8080:8080" | ||
| env: | ||
| PORT: "8080" | ||
| PREVIEW_SERVER_URL: "https://{{ mageops_gtm_preview_domain }}" | ||
| CONTAINER_CONFIG: "{{ gtm_container_config }}" | ||
| generate_systemd: | ||
| path: /etc/systemd/system | ||
| restart_policy: always | ||
|
|
||
| # PREVIEW container (separate instance) | ||
| - name: Run GTM SS preview container and create systemd service | ||
| containers.podman.podman_container: | ||
| name: gtm-preview | ||
| image: gcr.io/cloud-tagging-10302018/gtm-cloud-image:stable | ||
| state: started | ||
| restart_policy: always | ||
| publish: | ||
| - "8081:8080" | ||
| env: | ||
| PORT: "8080" | ||
| RUN_AS_PREVIEW_SERVER: "true" | ||
| CONTAINER_CONFIG: "{{ gtm_container_config }}" | ||
| generate_systemd: | ||
| path: /etc/systemd/system | ||
| restart_policy: always | ||
|
|
||
| - name: Reload systemd and enable services | ||
| ansible.builtin.systemd: | ||
| name: "{{ item }}" | ||
| enabled: yes | ||
| state: started | ||
| daemon_reload: yes | ||
| loop: | ||
| - container-gtm.service | ||
| - container-gtm-preview.service |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| magerun_version: 7.4.0 | ||
| magerun_checksum: sha256:35377402bd94c8ee19c3aecbc52f9bb6f6f9b4970447d1d7884fb6cfbb8cdf9b | ||
| magerun_version: 9.3.0 | ||
| magerun_checksum: sha256:15041cdf99466d80691d9f2ed5f37330115ea37b5ca19b4f1883f1c9a18bd26c | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| s3_mount_rclone_remote_name: mageops-s3 | ||
| s3_mount_rclone_config_path: /etc/rclone.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| allow_duplicates: no | ||
| dependencies: | ||
| - role: cs.repo-epel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| - name: Install rclone and FUSE runtime packages | ||
| dnf: | ||
| name: | ||
| - rclone | ||
| - fuse3 | ||
| state: present | ||
|
|
||
| - name: Add read permission to other users | ||
| file: | ||
| path: /etc/fuse.conf | ||
| state: file | ||
| mode: "o=r" | ||
|
|
||
| - name: Allow non-root users to specify the allow_other or allow_root mount options | ||
| lineinfile: | ||
| dest: /etc/fuse.conf | ||
| regexp: "^#\\s*user_allow_other$" | ||
| line: "user_allow_other" | ||
| state: present | ||
| backrefs: yes | ||
|
|
||
| - name: Write rclone config | ||
| template: | ||
| src: rclone.conf.j2 | ||
| dest: "{{ s3_mount_rclone_config_path }}" | ||
| owner: root | ||
| mode: "0644" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| [{{ s3_mount_rclone_remote_name }}] | ||
| type = s3 | ||
| provider = AWS | ||
| env_auth = true | ||
| region = {{ aws_region }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This loop now only removes entries from
opensearch_plugins, so any plugin that was installed on the previous node but has since been dropped from that variable will survive the package upgrade. OpenSearch loads plugins from disk on startup, so a stale plugin from the old version can keep the service from coming back even though the desired plugin set was reduced. The previous implementation enumerated the installed plugins first, which avoided that upgrade failure mode.Useful? React with 👍 / 👎.