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

Adding aproxy support #325

Closed
wants to merge 28 commits into from

Commits on Aug 23, 2023

  1. Use fallback key for passwords in legacy relations (#288)

    Minor bugfixes + proper usage of constants
    shayancanonical authored Aug 23, 2023
    Configuration menu
    Copy the full SHA
    e4beca6 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2023

  1. Configuration menu
    Copy the full SHA
    b6fcbbd View commit details
    Browse the repository at this point in the history
  2. DPE-2217 premptively switchover (#291)

    * Preemptively switchover primary on scale-down
    
    * addressing pr comments
    paulomach authored Aug 24, 2023
    Configuration menu
    Copy the full SHA
    8c20f9a View commit details
    Browse the repository at this point in the history

Commits on Aug 25, 2023

  1. Configuration menu
    Copy the full SHA
    309666b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ba4ca40 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0ab2a65 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2023

  1. Configuration menu
    Copy the full SHA
    0d73dcb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ac5c0c2 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2023

  1. DPE-2426 Update mysql image to 8.0.34 rock (#297)

    * Update mysql image to 8.0.34 rock
    
    * Update the rock hash in the upgrade test
    
    * Deploy the latest/stable charm of the tls-operator in the tls integration test
    
    * Update comment to correct version of mysql
    shayancanonical authored Sep 1, 2023
    Configuration menu
    Copy the full SHA
    3632bc7 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Configuration menu
    Copy the full SHA
    296362b View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2023

  1. DPE-2426 Update upgrade dependencies for mysqld and charm to account …

    …for 8.0.34 (#299)
    
    * Update upgrade dependencies for mysqld and charm to account for 8.0.34
    
    * Revert charm version to v1 in upgrade dependencies
    shayancanonical authored Sep 8, 2023
    Configuration menu
    Copy the full SHA
    72231d9 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2023

  1. dpe-2124 in lib config file render (#303)

    * lib update
    
    * render config file in the lib
    
    * test fix
    
    * refactor to use lib's new method for check connection
    
    * won't check port before initializing users
    paulomach authored Sep 12, 2023
    Configuration menu
    Copy the full SHA
    d73010c View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2023

  1. DPE-2307 upgrade rollback test (#307)

    * TDD for rollbacks
    
    * split upgrade from stable
    
    * trust
    
    * set app data
    
    * not doing upgrade from stable
    
    * bump libjuju for nested assumes in metadata
    
    * test fixes
    
    * get first upgrading unit to check status
    * use alternative name for mysql-test-app to avoid confusion with mysql app
    
    * remove dup
    
    * preemptively switchover on completion
    
    * add missing resume
    
    * split to reduce complexity and new mock
    
    * bump lib
    
    * pr feedback
    
    * pr feedback plus more robust test to survice CI
    
    * leader unit will stay in recovery state on rollback
    
    * bump pytest_operator_cache
    
    * fix build_charm fixture return as pathlib.Path
    
    * fix rollback instruction
    
    * address pr comments
    
    * bump upgrade lib
    
    * fix unit test
    
    * more verbosity
    
    * includes upgrade from stable
    
    stable was bumped to version with upgrade support
    
    * fix for rollback (data-platform-libs issue #97)
    
    * extract and use helper function
    
    * unneeded/wrong asserts
    
    * fix fixture
    
    * simplify fixture usage
    
    * another fix
    
    * fix call
    
    * fix fixture reference
    
    * revert mistakenly commited files
    paulomach authored Sep 26, 2023
    Configuration menu
    Copy the full SHA
    bc5f255 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. [DPE-2684] Juju3 pipelines (#313)

    * CI matrix + env.vars
    
    * pyproject updates (libjuju version, pytest-mock, etc)
    
    * tox.ini equipped with Juju version selection vars
    
    * Juju3 compatible tests
    
    * Fixtures that allow detection and 'switching' between Juju versions
    
    * snap_microk8s instead of old microk8s user
    juditnovak authored Oct 9, 2023
    Configuration menu
    Copy the full SHA
    128d32f View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. DPE-1797 Implement log rotation of error, general and slowquery logs (#…

    …312)
    
    * Implement log rotation of error, general and slowquery logs
    
    * Fix failing unit tests
    
    * Avoid modifying the charm container's pebble layer
    
    * Address PR + failing unit test
    
    * Address PR feedback + add integration tests for log rotation
    
    * Re-add jinja2 to pyproject dependencies
    
    * Address PR feedback
    
    * Port in fix to disable binlogging for flush log queries + make self-healing tests more consistent
    
    * Add scripts directory to all paths in the tox file
    shayancanonical authored Oct 12, 2023
    Configuration menu
    Copy the full SHA
    034cd0c View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. [DPE-2205] data-platform-libs v19 external secrets (#314)

    * data_platform_libs/data_interfaces.py v18 (Relation Secrets)
    
    * NO direct Relation databag usagegit add src/relations/mysql_provider.py!
    
    * Checking the correct usage of relation databag vs. secrets
    
    * Versions kept up-to-date for the pipeline
    juditnovak authored Oct 13, 2023
    Configuration menu
    Copy the full SHA
    ba9849b View commit details
    Browse the repository at this point in the history
  2. [DPE-2737] Fix unittest tox defaults to run Juju3 tests by default (#320

    )
    
    * Tests are running on Juju2 by default
    
    * Juju 3.1/stable + Juju3 as default
    
    * Updating CONTRIBUTING doc
    juditnovak authored Oct 13, 2023
    Configuration menu
    Copy the full SHA
    19300c6 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. Prevent starting logrotate dispatcher or flush mysql logs until unit …

    …initialized (#323)
    
    * Prevent starting logrotate dispatcher or flush mysql logs until unit initialized
    
    * Always setup logrotate files in ephemeral storage during mysql-pebble ready in case pod is killed
    shayancanonical authored Oct 16, 2023
    Configuration menu
    Copy the full SHA
    e414ad9 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. DPE-2661 single unit upgrade fixes (#324)

    * first passing
    
    * using reboot_from_complete_outage instead
    paulomach authored Oct 17, 2023
    Configuration menu
    Copy the full SHA
    efe048b View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. Configuration menu
    Copy the full SHA
    53e9f2c View commit details
    Browse the repository at this point in the history
  2. temp branch

    carlcsaposs-canonical authored and phvalguima committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    4951d30 View commit details
    Browse the repository at this point in the history
  3. snap channel

    carlcsaposs-canonical authored and phvalguima committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    68970e2 View commit details
    Browse the repository at this point in the history
  4. secrets

    carlcsaposs-canonical authored and phvalguima committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    cf0ee8d View commit details
    Browse the repository at this point in the history
  5. microk8s.kubectl

    carlcsaposs-canonical authored and phvalguima committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    f993b8c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    24d1873 View commit details
    Browse the repository at this point in the history
  7. Use large runner

    carlcsaposs-canonical authored and phvalguima committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    a49344b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    fa03c83 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    c87b874 View commit details
    Browse the repository at this point in the history