Changeset 34518


Ignore:
Timestamp:
10/29/20 13:36:46 (5 weeks ago)
Author:
Jeremy Symon
Message:

use a different identity file for www-internal - needs to be ed25519, not rsa.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/nightly-tasks/snapshot/trunk/task.pl

    r32048 r34518  
    108108    (my $id3re = $id3) =~ s@\.@\\.@g;
    109109
     110    print STDERR "SNAPSHOT ID: $id3\n";
     111    print STDERR "SNAPSHOT ID RE: $id3re\n";
     112   
    110113    $ENV{'munges'} = "s/-$id2re/-$id2-candidate-" . get_date() . "$osversion" . "/g " if ($id2 =~ m/\S/);
    111114    $ENV{'munges'} .= "s/-$id3re/-$id3-candidate-" . get_date() . "$osversion". "/g" if ($id3 =~ m/\S/);
     
    156159$ENV{'IDENTITY_FILE'} =
    157160    "$ENV{'IDENTITY_DIR'}${sep}upload-" . $ENV{'SNAPSHOT_MODE'} . ($^O eq "MSWin32" ? ".ppk" : "");
     161#use the  correct key for uploading - ed25519 for www-internal
     162$ENV{'IDENTITY_FILE_ED25519'} =
     163    "$ENV{'IDENTITY_DIR'}${sep}upload-" . $ENV{'SNAPSHOT_MODE'} ."-ed25519". ($^O eq "MSWin32" ? ".ppk" : "");
    158164
    159165
Note: See TracChangeset for help on using the changeset viewer.