Skip to content

Commit

Permalink
merge: #2564
Browse files Browse the repository at this point in the history
2564: chore(si): Remove temporary test setups from SI binary in prep for release r=stack72 a=stack72



Co-authored-by: stack72 <[email protected]>
  • Loading branch information
si-bors-ng[bot] and stack72 authored Aug 16, 2023
2 parents e4966fa + 5ccbcfd commit e094cd2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
4 changes: 1 addition & 3 deletions app/auth-portal/public/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ main() {
program="install.sh"

local gh_repo bin
# TODO(fnichol): restore original repo
# gh_repo="systeminit/si"
gh_repo="stack72/test-download"
gh_repo="systeminit/si"
bin="si"

setup_cleanups
Expand Down
6 changes: 0 additions & 6 deletions lib/si-cli/src/cmd/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ async fn update_current_binary(url: &str) -> CliResult<()> {
current_exe
};

// TODO: remove this line when we open source
let url = url.replace(
"/systeminit/si/releases/download/",
"/stack72/test-download/releases/download/",
);

let req = reqwest::get(url).await?;
if req.status().as_u16() != 200 {
println!(
Expand Down
5 changes: 0 additions & 5 deletions lib/si-cli/src/containers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,9 @@ impl DockerClient {
let h1 = tokio::spawn(async move {
let mut downloaded = 0;

let auth = RegistryAuth::builder()
.username("stack72")
.password("dckr_pat_dHhJ3jhygqHx2gCCZqchywQEvDQ")
.build();
let pull_opts = PullOpts::builder()
.image(missing_container)
.tag("stable")
.auth(auth)
.build();
let images = docker.images();
let mut stream = images.pull(&pull_opts);
Expand Down

0 comments on commit e094cd2

Please sign in to comment.