Commit graph

22 commits

Author SHA1 Message Date
Matt Turner a309ae36ac
tools: Log non-uploaded stages when they finish
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2021-01-31 18:06:09 -05:00
Matt Turner 7ec486fab4 tools: Consolidate upload() function
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2021-01-30 20:57:12 -05:00
Matt Turner 8f478fe30b tools: Add UPLOAD_DEST
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2021-01-30 20:56:43 -05:00
Matt Turner 33ce8acb57 tools: Use same set of RSYNC_OPTS
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2021-01-30 20:56:43 -05:00
Matt Turner 4de1432aa1 tools: Add RSYNC_OPTS array
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2021-01-30 20:56:43 -05:00
Matt Turner e357bcd867 tools: Add SSH_CMD array
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2021-01-30 20:56:27 -05:00
Matt Turner 3d95cec60b tools: Add UPLOAD_KEY
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2021-01-30 19:01:29 -05:00
Matt Turner 5515e89048 tools: Add UPLOAD_USER variable
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2021-01-30 18:46:08 -05:00
Matt Turner 16b0dfbc2e tools: Remove REPO_DIR assignment
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2021-01-30 18:44:32 -05:00
Matt Turner 84660f02fc specs/arm64: Add systemd specs
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2020-08-17 15:13:53 -07:00
Matt Turner e41e548f4b specs/arm64: Build stage3 from stage1
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2020-08-17 15:13:53 -07:00
Matt Turner a4866ae215 arm64: Upload xz stages to arm64@
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2020-08-17 15:13:53 -07:00
Matt Turner 8407af57f5 Remove weekly directory
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2020-04-28 18:18:02 -07:00
Matt Turner e9ea15ab8b Upload stages to releng-incoming.gentoo.org
Most architecture's build systems are hosted at OSUOSL. The place the
stages need to end up is ultimately masterreleases.gentoo.org, also at
OSUOSL. For some unknown reason, instead of rsync'ing from one system to
another in the same building, we were sending the stages first (slowly,
I might add) to nightheron in France, before sending them back to
OSUOSL.

robbat2 has added a releng-incoming.gentoo.org DNS record that currently
points to nightheron. This will allow us to switch the record in the
future and save the stages from needing to circumnavigate the globe
before reaching the mirrors.

Signed-off-by: Matt Turner <mattst88@gentoo.org>
2020-04-25 22:18:34 -07:00
Matt Turner 8f5cec8809 Revert "Upload stages to releng-incoming.gentoo.org"
This causes an interactive prompt:

    Are you sure you want to continue connecting (yes/no/[fingerprint])?

The plan is to get the SSH fingerprint via DNSSEC, so I'll revert this
change until that is in place and wired up.

This reverts commit 63174346f2.

Signed-off-by: Matt Turner <mattst88@gentoo.org>
2020-04-23 14:41:13 -07:00
Matt Turner 63174346f2 Upload stages to releng-incoming.gentoo.org
Most architecture's build systems are hosted at OSUOSL. The place the
stages need to end up is ultimately masterreleases.gentoo.org, also at
OSUOSL. For some unknown reason, instead of rsync'ing from one system to
another in the same building, we were sending the stages first (slowly,
I might add) to nightheron in France, before sending them back to
OSUOSL.

robbat2 has added a releng-incoming.gentoo.org DNS record that currently
points to nightheron. This will allow us to switch the record in the
future and save the stages from needing to circumnavigate the globe
before reaching the mirrors.

Signed-off-by: Matt Turner <mattst88@gentoo.org>
2020-04-23 00:14:11 -07:00
Matt Turner 492aacba77 catalyst-auto: Combine common functions
Signed-off-by: Matt Turner <mattst88@gentoo.org>
2019-09-01 19:04:59 -07:00
Mike Frysinger 40ed3e84d7 catalyst-auto: update arch configs after timestamp changes
Commit ed258c751b (change
datestamp->timestamp) broke a lot of builders.  The symlinks
and upload logic were all based on the datestamp.  Update it
to use the new timestamp format.
2018-01-16 02:01:19 -05:00
Mike Frysinger f98bc791e6 catalyst-auto: pass current targets down to post_build
Commit b7e493b4e4 (run trigger_post_build
after every successful spec) broke a lot of builders.  The configs were
written to be called only after everything was done, but by calling it
after the first build (stage1 only), all the other artifacts we expected
did not yet exist.

Change post_build to pass the current set & spec name down so the config
can figure out what is available at that point in time.
2018-01-15 20:52:14 -05:00
Mike Frysinger cb652173f6 catalyst-auto: move remaining configs from pre_build to update_symlinks
All the configs running symlink updates in pre_build can do it in the
update_symlinks callback instead.  Convert them over.
2018-01-15 20:44:31 -05:00
Mike Frysinger a8e70e1976 catalyst-auto: move git update into main script
All of our config files are doing this already, so move it into the
common code.
2018-01-15 20:17:43 -05:00
Matthew Thode 1ce3bc7326
arm64 stage building
this is steev's work
2017-12-01 16:53:39 -06:00