You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by ki...@apache.org on 2021/10/29 20:56:09 UTC
[trafficserver-ingress-controller] branch master updated: Upgrades
to go1.16.9/alplinelinux 3.12.8, Comment out lua test in github action,
Updates tutorial for running on k8s 1.21 (#95)
This is an automated email from the ASF dual-hosted git repository.
kichan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver-ingress-controller.git
The following commit(s) were added to refs/heads/master by this push:
new f53232f Upgrades to go1.16.9/alplinelinux 3.12.8, Comment out lua test in github action, Updates tutorial for running on k8s 1.21 (#95)
f53232f is described below
commit f53232fc36ebe3f7fb0b24de328f8eb8308742c0
Author: Kit Chan <ki...@apache.org>
AuthorDate: Fri Oct 29 13:56:01 2021 -0700
Upgrades to go1.16.9/alplinelinux 3.12.8, Comment out lua test in github action, Updates tutorial for running on k8s 1.21 (#95)
---
.github/workflows/test.yml | 22 +++++++++++-----------
Dockerfile | 8 ++++----
README.md | 4 ++--
docs/DEVELOPMENT.md | 2 +-
docs/TUTORIAL.md | 2 +-
5 files changed, 19 insertions(+), 19 deletions(-)
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index e08d892..1e51a11 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -32,15 +32,15 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- - uses: leafo/gh-actions-lua@v8.0.0
- with:
- luaVersion: "5.1.5"
+# - uses: leafo/gh-actions-lua@v8.0.0
+# with:
+# luaVersion: "5.1.5"
- - uses: leafo/gh-actions-luarocks@v4.0.0
+# - uses: leafo/gh-actions-luarocks@v4.0.0
- - name: Install Busted
- run: |
- luarocks install busted
+# - name: Install Busted
+# run: |
+# luarocks install busted
- name: Get dependencies
run: |
@@ -56,7 +56,7 @@ jobs:
- name: Test Redis
run: go test -v ./redis/
- - name: Test RedisPluginATS
- run: |
- cd pluginats
- ../.luarocks/bin/busted connect_redis_test.lua
+# - name: Test RedisPluginATS
+# run: |
+# cd pluginats
+# ../.luarocks/bin/busted connect_redis_test.lua
diff --git a/Dockerfile b/Dockerfile
index 5ac2953..3fcafff 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -15,7 +15,7 @@
# limitations under the License.
#
-FROM alpine:3.12.7 as builder
+FROM alpine:3.12.8 as builder
RUN apk add --no-cache --virtual .tools \
bzip2 curl git automake libtool autoconf make sed file perl openrc openssl
@@ -75,8 +75,8 @@ RUN apk add --no-cache --virtual .ingress-build-deps \
bash gcc musl-dev openssl go
# Installing Golang https://github.com/CentOS/CentOS-Dockerfiles/blob/master/golang/centos7/Dockerfile
-RUN wget https://dl.google.com/go/go1.16.7.src.tar.gz \
- && tar -C /opt/ats -xzf go1.16.7.src.tar.gz && cd /opt/ats/go/src/ && ./make.bash
+RUN wget https://dl.google.com/go/go1.16.9.src.tar.gz \
+ && tar -C /opt/ats -xzf go1.16.9.src.tar.gz && cd /opt/ats/go/src/ && ./make.bash
ENV PATH=${PATH}:/opt/ats/go/bin
ENV GOPATH="/opt/ats/go/bin"
@@ -120,7 +120,7 @@ RUN mkdir -p /opt/ats/var/run/redis/ \
# set up ingress log location
RUN mkdir -p /opt/ats/var/log/ingress/
-FROM alpine:3.12.7
+FROM alpine:3.12.8
# essential library
RUN apk add --no-cache -U \
diff --git a/README.md b/README.md
index d3599ff..6be62a0 100644
--- a/README.md
+++ b/README.md
@@ -30,10 +30,10 @@ ATS Kubernetes Ingress Controller
- [Development](https://github.com/apache/trafficserver-ingress-controller/blob/master/docs/DEVELOPMENT.md)
## Versions of Software Used
-- Alpine 3.12.7
+- Alpine 3.12.8
- Apache Traffic Server 9.1.0
- LuaJIT 2.0.4 / Lua 5.1.4
-- Go 1.16.7
+- Go 1.16.9
- Other Packages
- luasocket 3.0rc1
- redis-lua 2.0.4
diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md
index 0220612..69640d6 100644
--- a/docs/DEVELOPMENT.md
+++ b/docs/DEVELOPMENT.md
@@ -20,7 +20,7 @@
## Development
### Develop with Go-Lang in Linux
-1. Get Go-lang 1.16.7 from [official site](https://golang.org/dl/)
+1. Get Go-lang 1.16.9 from [official site](https://golang.org/dl/)
2. Add `go` command to your PATH: `export PATH=$PATH:/usr/local/go/bin`
3. Define GOPATH: `export GOPATH=$(go env GOPATH)`
4. Add Go workspace to your PATH: `export PATH=$PATH:$(go env GOPATH)/bin`
diff --git a/docs/TUTORIAL.md b/docs/TUTORIAL.md
index 8877e4e..d70bf4d 100644
--- a/docs/TUTORIAL.md
+++ b/docs/TUTORIAL.md
@@ -37,7 +37,7 @@
### Requirements
- Docker
-- Kubernetes 1.18.10 (through Minikube 1.14.2)
+- (Tested on) Kubernetes 1.21.4 (through Minikube 1.23.0)
To install Docker, visit its [official page](https://docs.docker.com/) and install the correct version for your system.