Skip to content
Snippets Groups Projects
  1. Nov 06, 2018
  2. Nov 05, 2018
  3. Oct 31, 2018
  4. Oct 30, 2018
  5. Oct 23, 2018
  6. Oct 04, 2018
  7. Sep 29, 2018
  8. Sep 27, 2018
  9. Sep 26, 2018
  10. Sep 25, 2018
  11. Sep 21, 2018
  12. Sep 19, 2018
  13. Sep 13, 2018
  14. Sep 05, 2018
  15. Sep 04, 2018
  16. Aug 30, 2018
    • Emanuele Aina's avatar
      Jenkinsfile: Push ostree repositories from test jobs · ddc16025
      Emanuele Aina authored
      
      Ensure that ostree repositories are published just like the other
      artifacts. Push the whole repository if one doesn't exist already.
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      ddc16025
    • Emanuele Aina's avatar
      Jenkinsfile: Upload even from test job · a4d7461e
      Emanuele Aina authored
      
      Testing the upload logic and having a place to fetch the artifacts
      without having to hack the job definition is definitely helpful.
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      a4d7461e
    • Emanuele Aina's avatar
      Jenkinsfile: Create upload folders if they do not exist · dd9f652e
      Emanuele Aina authored
      
      Make sure the destination folders exist before uploading there.
      This should make running the job from an empty slate work properly.
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      dd9f652e
    • Emanuele Aina's avatar
      Jenkinsfile: Explicitly check if remote OSTree branch exists · d619fc62
      Emanuele Aina authored
      
      To handle the case where we're creating a new OSTree branch the current
      code ignores the `ostree pull` exit code.
      
      Somewhat unsurprisingly, it's not a great idea. Issues like network
      timeouts or any other random incident may cause it to fail, producing an
      inconsistent state until `ostree-push` fails when trying to push the
      newly created commit to the remote refs because they don't have any
      parent in common (the new commit will have the empty parent since we
      failed to pull the actual ref head).
      
        Traceback (most recent call last):
          File "/usr/bin/ostree-push", line 588, in <module>
            exit(push_main())
          File "/usr/bin/ostree-push", line 561, in push_main
            return pusher.run()
          File "/usr/bin/ostree-push", line 426, in run
            needed = self.needed_commits(revs[0], revs[1], commits)
          File "/usr/bin/ostree-push", line 361, in needed_commits
            'commit %s' %(remote, local))
        __main__.PushException: Remote commit d00fbf17cafe4028458ffda0795512bfa21fee083596ed6fbdd624a2ff539f66 not descendent of commit bd9a0f33ec50062810c0f5e829c49cb707034e0c861938874149438da0d41999
      
      To avoid that, manually do a pre-flight HTTP request to check if the
      ref exists, and yield an error for any HTTP code other than 200 and 404.
      
      Signed-off-by: Emanuele Aina's avatarEmanuele Aina <emanuele.aina@collabora.com>
      d619fc62
  17. Aug 29, 2018
  18. Aug 27, 2018
Loading