Skip to content

Commit

Permalink
update python
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsiaw committed Jul 23, 2024
1 parent d25e005 commit 812f797
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dockerfiles/run-pack/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:3.5
FROM alpine

ENV GOPATH /.go
ENV GOBIN $GOPATH/bin
Expand Down
3 changes: 3 additions & 0 deletions dockerfiles/run-pack/watch_interactive_session_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package main

import (
"fmt"
"log"
"testing"

ps "github.com/mitchellh/go-ps"
Expand All @@ -24,6 +26,7 @@ func (p *ProcessMock) Executable() string {
}

func TestOtherSessionRunning(t *testing.T) {
log.Println(fmt.Sprintf("Interactive session has not started for %d seconds", 123))
ps1 := []ps.Process{
&ProcessMock{pid: 1, ppid: 0},
&ProcessMock{pid: 10, ppid: 1},
Expand Down
2 changes: 1 addition & 1 deletion lib/barcelona/network/autoscaling_builder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def build_resources
end

j.Handler "index.lambda_handler"
j.Runtime "python3.7"
j.Runtime "python3.12"
j.Timeout "60"
j.Role get_attr("ASGDrainingFunctionRole", "Arn")
j.Environment do |j|
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/barcelona/network/network_stack_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@
"ZipFile" => kind_of(String)
},
"Handler" => "index.lambda_handler",
"Runtime" => "python3.7",
"Runtime" => "python3.12",
"Timeout" => "60",
"Role" => {"Fn::GetAtt" => ["ASGDrainingFunctionRole", "Arn"]},
"Environment" => {
Expand Down

0 comments on commit 812f797

Please sign in to comment.