Page MenuHomeDevCentral

Provision PostgreSQL containers
ClosedPublic

Authored by dereckson on Nov 10 2018, 17:34.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 28, 03:11
Unknown Object (File)
Tue, Nov 26, 18:24
Unknown Object (File)
Tue, Nov 19, 05:41
Unknown Object (File)
Mon, Nov 18, 01:44
Unknown Object (File)
Wed, Nov 13, 02:37
Unknown Object (File)
Sun, Nov 10, 08:35
Unknown Object (File)
Wed, Nov 6, 17:24
Unknown Object (File)
Sun, Nov 3, 10:12
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.