1. 15 Apr, 2020 4 commits
  2. 14 Apr, 2020 1 commit
  3. 13 Apr, 2020 3 commits
    • Jérome Perrin's avatar
      Postgres recipe cleanup · dc5d3a88
      Jérome Perrin authored
      * use strings for options, not `sets` which requires to use the `'!py!'` syntax and only works on a patched buildout
      * supports regenerating config, like when for example IP change
      * Removes the backup part of the recipe, which we don't use and looks buggy.
      * fix python3 support
      
      See merge request !727
      dc5d3a88
    • Jérome Perrin's avatar
      software/grafana: promise to check influxdb is usable · d783653f
      Jérome Perrin authored
      This should fix this random failure with tests:
      
          ======================================================================
          FAIL: test_influxdb_api (test.TestInfluxDb)
          ----------------------------------------------------------------------
          Traceback (most recent call last):
            File "parts/slapos-repository/software/grafana/test/test.py", line 126, in test_influxdb_api
              [connection_params['influxdb-database']], result['series'][0]['values'])
          AssertionError: ['telegraf'] not found in [[u'_internal']]
      d783653f
    • Jérome Perrin's avatar
  4. 10 Apr, 2020 1 commit
  5. 09 Apr, 2020 9 commits
    • Rafael Monnerat's avatar
      Add script to release slapos.cookbook · 91852f73
      Rafael Monnerat authored
      This script everything required to release slapos.cookbook, and verbose additional information to
      the user review and push the changes.
      
      This script automatically slapos.cookbook version on update stack/slapos.cfg also, if you want only
      release the EGG w/o using it, you can call it using:
      
       EGG_ONLY=Y bash release-cookbook
      
      else, call it only by 'bash release-cookbook'.
      91852f73
    • Rafael Monnerat's avatar
      e0e53036
    • Rafael Monnerat's avatar
      Add script to release a new Software Release · 62202e0c
      Rafael Monnerat authored
        This script should be invoked to release a new software release, it will use what is in 1.0 branch to create
        the tag, and it will verbose the follow information...
      
      ###################################################################
      You are about to release a new version of SlapOS Software Release
      Lastest release: 1.0.144
      Next Release to be Tagged: 1.0.145
      ###################################################################
       Please review current tag and them push it:
       To review use git log 1.0.145
      
       To push into main repository:
       git push origin 1.0.145
      62202e0c
    • Jérome Perrin's avatar
      Update Theia to 1.0 · e6265b6f
      Jérome Perrin authored
      Update Thiea to 1.0, described a bit on :
       https://dev.to/svenefftinge/theia-1-0-finally-a-good-browser-ide-3ok0
      
      Add by default some extensions for python and buildout. Also request a frontend so that we can access over IPv4
      
      See merge request !725
      e6265b6f
    • Nicolas Wavrant's avatar
      slaprunner: keep old recipe eggs otherwise instance can't be upgraded · 7919c834
      Nicolas Wavrant authored
      As we have runners with a section deployed using
      collective.recipe.shelloutput, if collective.recipe.shelloutput isn't in
      the SR folder anymore thisi section can't be uninstalled (as the
      uninstall method is defined in the egg).
      
      The output of buildout for this error was :
      
      While:
        Installing.
        Uninstalling runner-sshkeys-publickey-fingerprint-shelloutput.
        Installing recipe collective.recipe.shelloutput.
        Getting distribution for 'collective.recipe.shelloutput'.
      Error: We don't have a distribution for collective.recipe.shelloutput
      and can't install one in offline (no-install) mode.
      While:
        Installing switch_softwaretype.
      
      The cause was f936ea2c
      7919c834
    • Ivan Tyagov's avatar
      Starting from... · a016a9ab
      Ivan Tyagov authored
      Starting from slapos.recipe.build@5e95d882 gitclone should have built-in support for submodules. Credit: Kirill.
      a016a9ab
    • Nicolas Wavrant's avatar
      erp5testnode: fix duplicated path error · 18e8a74a
      Nicolas Wavrant authored
      The error was :
      
       Error: The following paths are already installed by other sections:
       {'/opt/slapgrid/4eb4146f38fc86ed2ad060217a1a95a6/bin/slapos-watchdog':
       'extra-eggs',
       '/opt/slapgrid/4eb4146f38fc86ed2ad060217a1a95a6/bin/networkcache-download':
       'slapos-cookbook',
       '/opt/slapgrid/4eb4146f38fc86ed2ad060217a1a95a6/bin/slapos':
       'extra-eggs',
       '/opt/slapgrid/4eb4146f38fc86ed2ad060217a1a95a6/bin/generate-signature-key':
       'slapos-cookbook',
       '/opt/slapgrid/4eb4146f38fc86ed2ad060217a1a95a6/bin/networkcache-upload':
       'slapos-cookbook'}
      18e8a74a
    • Julien Muchembled's avatar
      fixup! NEO: fix sections installing the same path in the the stress SR · 19ce0b0d
      Julien Muchembled authored
      There was a typo and anyway it wouldn't have worked because of
      nexedi/slapos.buildout!11
      19ce0b0d
    • Julien Muchembled's avatar
  6. 08 Apr, 2020 12 commits
  7. 07 Apr, 2020 8 commits
  8. 06 Apr, 2020 2 commits
    • Jérome Perrin's avatar
      monitor: use monitor- prefix in cert and key · 854057ce
      Jérome Perrin authored
      By using a short filenames like "httpd.crt" or "httpd.key", we risk have
      conflict with users of this stack. Use a name with more context, that
      should likely not be used by applications.
      
      This solves an issue with lamp stack, that was visible with nextcloud
      software:
      
           While:
             Installing ca-apache-php.
           Error: The following paths are already installed by other sections: {'/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/inst/ncs2/srv/ssl/certs/httpd.key': 'ca-monitor-httpd', '/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/inst/ncs2/srv/ssl/certs/httpd.crt': 'ca-monitor-httpd'}
      854057ce
    • Jérome Perrin's avatar
      software/caddy-frontend: review caddy-log-access to not overwrite installed paths · 1771df7b
      Jérome Perrin authored
      We were using caddy-log-access-header to make sure we have at least one
      file to include, but this was implemented in a way that the config file
      was overwritten.
      Reimplement this by using caddy-log-access-empty to create an empty file
      when there are no slaves, caddy-log-access otherwise.
      1771df7b