Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
terrytangyuan authored and BhavikaSharma committed Sep 6, 2022
1 parent 5db53aa commit 7d1cd54
Show file tree
Hide file tree
Showing 9 changed files with 71 additions and 781 deletions.
40 changes: 22 additions & 18 deletions .github/workflows/ci-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
timeout-minutes: 8
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: "1.17"
go-version: "1.18"
# https://github.com/actions/cache/blob/main/examples.md#go---modules
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
Expand Down Expand Up @@ -80,15 +80,12 @@ jobs:
max-parallel: 4
matrix:
include:
- test: test-plugins
containerRuntimeExecutor: emissary
profile: plugins
- test: test-executor
containerRuntimeExecutor: emissary
- test: test-java-sdk
profile: minimal
- test: test-corefunctional
containerRuntimeExecutor: emissary
- test: test-python-sdk
profile: minimal
- test: test-plugins
profile: plugins
- test: test-functional
containerRuntimeExecutor: emissary
profile: minimal
Expand Down Expand Up @@ -118,10 +115,17 @@ jobs:
profile: minimal
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: "1.18"
- uses: actions/setup-java@v3
with:
java-version: '8'
distribution: adopt
- uses: actions/setup-python@v3
with:
go-version: "1.17"
- uses: actions/cache@v2
python-version: '3.x'
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
Expand All @@ -138,7 +142,7 @@ jobs:
echo " user:" >> $KUBECONFIG
echo " token: xxxxxx" >> $KUBECONFIG
until kubectl cluster-info ; do sleep 10s ; done
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: argoexec
path: /tmp
Expand Down Expand Up @@ -173,10 +177,10 @@ jobs:
GOPATH: /home/runner/go
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: "1.17"
- uses: actions/cache@v2
go-version: "1.18"
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
Expand Down Expand Up @@ -236,7 +240,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: "16"
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: ui/node_modules
key: ${{ runner.os }}-node-dep-v1-${{ hashFiles('**/yarn.lock') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
python-version: 3.9
- uses: actions/setup-go@v1
with:
go-version: '1.17'
- run: pip install mkdocs==1.2.3 mkdocs_material==8.1.9
go-version: '1.18'
- run: pip install mkdocs==1.2.4 mkdocs_material==8.1.9
- run: mkdocs build
- run: make parse-examples
- uses: peaceiris/[email protected]
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
uses: docker/setup-buildx-action@v1

- name: Cache Docker layers
uses: actions/cache@v2
uses: actions/cache@v3
id: cache
with:
path: /tmp/.buildx-cache
Expand Down Expand Up @@ -327,18 +327,18 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: "16"
- uses: actions/setup-go@v2
- uses: actions/setup-go@v3
with:
go-version: "1.17"
- uses: actions/cache@v2
go-version: "1.18"
- uses: actions/cache@v3
with:
path: ui/node_modules
key: ${{ runner.os }}-node-dep-v1-${{ hashFiles('**/yarn.lock') }}
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: /home/runner/.cache/go-build
key: GOCACHE-v2-${{ hashFiles('**/go.mod') }}
- uses: actions/cache@v2
- uses: actions/cache@v3
with:
path: /home/runner/go/pkg/mod
key: GOMODCACHE-v2-${{ hashFiles('**/go.mod') }}
Expand Down
8 changes: 1 addition & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
#syntax=docker/dockerfile:1.2

ARG DOCKER_CHANNEL=stable
ARG DOCKER_VERSION=20.10.14
# NOTE: kubectl version should be one minor version less than https://storage.googleapis.com/kubernetes-release/release/stable.txt
ARG KUBECTL_VERSION=1.22.3
ARG JQ_VERSION=1.6

FROM golang:1.17 as builder
FROM golang:1.18 as builder

RUN apt-get update && apt-get --no-install-recommends install -y \
git \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.windows
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ARG IMAGE_OS_VERSION=1809

# had issues with official golange image for windows so I'm using plain servercore
FROM mcr.microsoft.com/windows/servercore:${IMAGE_OS_VERSION} as builder
ENV GOLANG_VERSION=1.17
ENV GOLANG_VERSION=1.18
SHELL ["powershell", "-Command"]

# install chocolatey package manager
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ dist/argosay:

.PHONY: pull-images
pull-images:
docker pull golang:1.17
docker pull golang:1.18
docker pull debian:10.7-slim
docker pull mysql:8
docker pull argoproj/argosay:v1
Expand Down
2 changes: 1 addition & 1 deletion docs/running-locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Requirements

* [Go 1.17](https://golang.org/dl/)
* [Go 1.18](https://golang.org/dl/)
* [Yarn](https://classic.yarnpkg.com/en/docs/install/#mac-stable)
* [Docker](https://docs.docker.com/get-docker/)
* [protoc](http:https://google.github.io/proto-lens/installing-protoc.html)
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/argoproj/argo-workflows/v3

go 1.17
go 1.18

require (
cloud.google.com/go/storage v1.20.0
Expand Down
Loading

0 comments on commit 7d1cd54

Please sign in to comment.