Verified Commit 244efbb4 authored by Hans-Nikolai Viessmann's avatar Hans-Nikolai Viessmann
Browse files

[manual] add MacOS release (weekly)

parent 8135d3bc
*.deb filter=lfs diff=lfs merge=lfs -text
*.pkg filter=lfs diff=lfs merge=lfs -text
......@@ -35,6 +35,32 @@ that we can get the built packages into this LFS repository:
4. We then generate URLs, and create a new tag and associate a release message with the
new files.
The latter option seems to be much simplier, and also avoids race-conditions.
The artifacts API uses the following `GET` URL: `GET /projects/:id/jobs/artifacts/:ref_name/download?job=name`,
where `id` is the project ID, `ref_name` is the GIT branch name, and `name` is the name of
the job used to build the packages. This API call will check for the _latest_ successfully
completed pipeline, and retrieved an archive containing all the build artifacts for that job.
To be clear, we need to call this for *all* job names in order to get all packages.
The following changes are needed for both the existing package building project
(at and this repository.
- [x] the build project no longer should try to SSH into MACS server - this means we can remove
some checks about version number there. Instead we need now call the GitLab API to check
if the release already exists (in the case where we do weeklies).
Model for this is: ``
We need to provide an _access token_ in order to make this call.
- once the build pipeline completes succesfully, we need to signal the package repo that
this has happened. The easiest way to do this is to add a final stage to the build pipeline
which calls the trigger API of the package pipeline.
- The package pipeline needs to know what jobs to get the artifacts from, we can do this by pass
the job names as a variable in the hook, something like `-F "variables[RUN_NIGHTLY_BUILD]=true"`
Access LFS packages via HTTP(S)
......@@ -14,7 +14,7 @@ Currently support are:
* Debian/Ubuntu (DEB): versions Wheezy and Jessie (approx. 14.04 and 16.04
* RHEL/Fedora (RPM): versions 6 and 7
* MacOS (Pkg): version 10.12
* MacOS (Pkg): version 10.14+
Additionally, we generate a .tar.gz distribution for `*UNIX` systems for local
installs (_i.e._ in one's home directory).
149ce0e13666cf87f1eb12f6c78b51298feac0637587ac448ae525a8e25f4dd3 sac2c-1.3.3-MijasCosta-383-g6ea12-omnibus.pkg
11535be408a402d05568d2f9b2da65986a90cbbe5994ab186b4954d9a3c42811 sac-stdlib-1.3-81-g930d.pkg
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment