Page MenuHomeDevCentral

Provision PostgreSQL containers
ClosedPublic

Authored by dereckson on Nov 10 2018, 17:34.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jan 14, 16:03
Unknown Object (File)
Sat, Jan 11, 06:37
Unknown Object (File)
Wed, Jan 8, 04:59
Unknown Object (File)
Sun, Dec 22, 14:13
Unknown Object (File)
Dec 14 2024, 14:39
Unknown Object (File)
Dec 13 2024, 05:47
Unknown Object (File)
Dec 13 2024, 05:45
Unknown Object (File)
Dec 13 2024, 05:07
Subscribers
None

Details

Summary

Like for MySQL and Redis, the version/image can be set
with image/version keys.

Test Plan

Deploy a container for Sentry

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
pgsql (branched from master)
Build Status
Buildable 3111
Build 3359: arc lint + arc unit

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Nov 10 2018, 17:38
$ salt equatower state.sls roles/paas-docker/containers/postgresql
equatower:
----------
          ID: /srv/sentry_db/postgresql
    Function: file.directory
      Result: True                                                                                                                                            
     Comment: Directory /srv/sentry_db/postgresql updated
     Started: 17:35:40.024081
    Duration: 49.16 ms
     Changes:   
              ----------
              /srv/sentry_db/postgresql:
                  New Dir
----------
          ID: selinux_context_sentry_db_postgresql_data
    Function: selinux.fcontext_policy_present
        Name: /srv/sentry_db/postgresql
      Result: True
     Comment: 
     Started: 17:35:40.076026
    Duration: 7766.184 ms
     Changes:   
              ----------
              new:
                  ----------
                  /srv/sentry_db/postgresql:
                      ----------
                      filetype:
                          all files
                      sel_type:
                          container_file_t
              old:
                  ----------
----------
          ID: selinux_context_sentry_db_postgresql_data_applied
    Function: selinux.fcontext_policy_applied
        Name: /srv/sentry_db/postgresql
      Result: True
     Comment: 
     Started: 17:35:47.843316
    Duration: 60.945 ms
     Changes:   
              ----------
              /srv/sentry_db/postgresql:
                  ----------
                  new:
                      ----------
                      sel_type:
                          container_file_t
                  old:
                      ----------
                      sel_type:
                          unlabeled_t
----------
          ID: sentry_db
    Function: docker_container.running
      Result: True
     Comment: Created container 'sentry_db'
     Started: 17:35:47.942555
    Duration: 8136.003 ms
     Changes:   
              ----------
              container_id:
                  ----------
                  added:
                      9514e74ecec76fcfed55a89b2297afe42a73ab732bec794bd9c8221d4d91b4b8                                                                        
              state:
                  ----------
                  new:
                      running
                  old:
                      None

Summary for equatower
------------
Succeeded: 4 (changed=4)
Failed:    0
------------
Total states run:     4
Total run time:  16.012 s
This revision was automatically updated to reflect the committed changes.