Skip to content
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

Backing up /etc/nginx folder before install #1678

Closed
wants to merge 64 commits into from

Conversation

aptkzzz
Copy link

@aptkzzz aptkzzz commented Nov 11, 2024

  • backing up /etc/nginx to /etc/nginx_backup_{timestamp} if /etc/nginx exists

This PR implements the suggested fix of #1589

dependabot bot and others added 30 commits October 2, 2024 07:37
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@1e60f62...0a44ba7)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3.6.1 to 3.7.1.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](docker/setup-buildx-action@988b5a0...c47758b)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@692973e...eef6144)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.10 to 3.26.13.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@e2b3eaf...f779452)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps debian from `27586f4` to `e11072c`.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps debian from `ad86386` to `36e591f`.

---
updated-dependencies:
- dependency-name: debian
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.194.0 to 1.197.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb)
- [Commits](ruby/setup-ruby@c04af2b...7bae1d0)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
…tions/1.5/actions/setup-node-4.0.4

deps/gha: Bump actions/setup-node from 4.0.3 to 4.0.4
…tions/1.5/docker/setup-buildx-action-3.7.1

deps/gha: Bump docker/setup-buildx-action from 3.6.1 to 3.7.1
…tions/1.5/actions/checkout-4.2.1

deps/gha: Bump actions/checkout from 4.1.7 to 4.2.1
…tions/1.5/github/codeql-action-3.26.13

deps/gha: Bump github/codeql-action from 3.26.10 to 3.26.13
…tions/1.5/ruby/setup-ruby-1.197.0

deps/gha: Bump ruby/setup-ruby from 1.194.0 to 1.197.0
…sts/linux/1.5/debian-e11072c

deps/tests/linux: Bump debian from `27586f4` to `e11072c` in /tests/linux
…c/linux/1.5/debian-36e591f

deps/linux: Bump debian from `ad86386` to `36e591f` in /src/linux
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.4.0 to 4.4.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@5076954...b4b15b8)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.13 to 3.27.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@f779452...6624720)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action) from 0.24.0 to 0.28.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases)
- [Commits](aquasecurity/trivy-action@6e7b7d1...915b19b)

---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 5.2.0 to 5.3.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](actions/setup-python@f677139...0b93645)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
…tions/1.5/actions/setup-python-5.3.0

deps/gha: Bump actions/setup-python from 5.2.0 to 5.3.0
…tions/1.5/actions/upload-artifact-4.4.3

deps/gha: Bump actions/upload-artifact from 4.4.0 to 4.4.3
…tions/1.5/github/codeql-action-3.27.0

deps/gha: Bump github/codeql-action from 3.26.13 to 3.27.0
…tions/1.5/aquasecurity/trivy-action-0.28.0

deps/gha: Bump aquasecurity/trivy-action from 0.24.0 to 0.28.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.1 to 4.2.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@eef6144...11bd719)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…tions/1.5/actions/checkout-4.2.2

deps/gha: Bump actions/checkout from 4.2.1 to 4.2.2
API_TIMEOUT: determines the timeout for BunkerWeb API calls. useful if the API is accessed through bad or unstable links.
API_READ_TIMEOUT: determines the read timeout for BunkerWeb API calls. since the nginx configuration must be tested before the server responds to the API call, a configuration large enough simply prevents BunkerWeb from ever working without this value changed.
DISABLE_CONFIGURATION_TESTING: disables all regex testing for all configuration variables. sometimes the regexes are simply too strict and sanity checks fail for some valid configurations, especially involving permission policies and feature policies. this way, we can at least give a way for people to ignore the checks.
Bumps redhat/ubi9 from `b00d599` to `ee0b908`.

---
updated-dependencies:
- dependency-name: redhat/ubi9
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.4 to 4.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](actions/setup-node@0a44ba7...39370e3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps redhat/ubi9-init from 9.4-14.1726695630 to 9.4-14.1729775103.

---
updated-dependencies:
- dependency-name: redhat/ubi9-init
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Florian and others added 22 commits November 1, 2024 20:04
…ce and update button click timeout to 15 seconds
Bumps redhat/ubi8 from `a965f33` to `8990388`.

---
updated-dependencies:
- dependency-name: redhat/ubi8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps redhat/ubi8-init from 8.10-7 to 8.10-9.

---
updated-dependencies:
- dependency-name: redhat/ubi8-init
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.197.0 to 1.201.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb)
- [Commits](ruby/setup-ruby@7bae1d0...46ca53b)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
…tions/1.5/ruby/setup-ruby-1.201.0

deps/gha: Bump ruby/setup-ruby from 1.197.0 to 1.201.0
…c/linux/1.5/redhat/ubi8-8990388

deps/linux: Bump redhat/ubi8 from `a965f33` to `8990388` in /src/linux
…sts/linux/1.5/redhat/ubi8-init-8.10-9

deps/tests/linux: Bump redhat/ubi8-init from 8.10-7 to 8.10-9 in /tests/linux
…tions/1.5/softprops/action-gh-release-2.0.9

deps/gha: Bump softprops/action-gh-release from 2.0.8 to 2.0.9
Merge branch "1.5" into branch "staging"
@aptkzzz aptkzzz changed the title Backing up /etc/nginx folder before install (adressing #1589) Backing up /etc/nginx folder before install Nov 11, 2024
@TheophileDiot
Copy link
Member

Hi, this is a good idea

@TheophileDiot TheophileDiot self-requested a review November 19, 2024 15:20
@TheophileDiot TheophileDiot self-assigned this Nov 19, 2024
@TheophileDiot TheophileDiot added the enhancement New feature or request label Nov 19, 2024
@TheophileDiot TheophileDiot changed the base branch from master to dev November 19, 2024 15:20
@TheophileDiot
Copy link
Member

@aptkzzz, could you create a new P/R based on the dev branch ? Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants