Skip to content

Commit 241f616

Browse files
authored
Merge branch 'project-codeflare:main' into instascale-hypershift-e2e
2 parents 9adede8 + 89efe67 commit 241f616

26 files changed

+221
-484
lines changed

.github/workflows/auto-add-issues.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/e2e_tests.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- name: Set Go
4646
uses: actions/setup-go@v3
4747
with:
48-
go-version: v1.19
48+
go-version: v1.20
4949

5050
- name: Set up gotestfmt
5151
uses: gotesttools/gotestfmt-action@v2
@@ -92,6 +92,12 @@ jobs:
9292
echo "Printing KubeRay operator logs"
9393
kubectl logs -n ray-system --tail -1 -l app.kubernetes.io/name=kuberay | tee ${CODEFLARE_TEST_OUTPUT_DIR}/kuberay.log
9494
95+
- name: Export all KinD pod logs
96+
uses: ./common/github-actions/kind-export-logs
97+
if: always() && steps.deploy.outcome == 'success'
98+
with:
99+
output-directory: ${CODEFLARE_TEST_OUTPUT_DIR}
100+
95101
- name: Upload logs
96102
uses: actions/upload-artifact@v3
97103
if: always() && steps.deploy.outcome == 'success'

.github/workflows/olm_tests.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Set Go
4545
uses: actions/setup-go@v3
4646
with:
47-
go-version: v1.19
47+
go-version: v1.20
4848

4949
- name: Set up gotestfmt
5050
uses: gotesttools/gotestfmt-action@v2
@@ -185,6 +185,12 @@ jobs:
185185
echo "Printing KubeRay operator logs"
186186
kubectl logs -n ray-system --tail -1 -l app.kubernetes.io/name=kuberay | tee ${CODEFLARE_TEST_OUTPUT_DIR}/kuberay.log
187187
188+
- name: Export all KinD pod logs
189+
uses: ./common/github-actions/kind-export-logs
190+
if: always() && steps.deploy.outcome == 'success'
191+
with:
192+
output-directory: ${CODEFLARE_TEST_OUTPUT_DIR}
193+
188194
- name: Upload logs
189195
uses: actions/upload-artifact@v3
190196
if: always() && steps.deploy.outcome == 'success'

.github/workflows/operator-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Set Go
2323
uses: actions/setup-go@v3
2424
with:
25-
go-version: v1.19
25+
go-version: v1.20
2626

2727
- name: Login to Quay.io
2828
uses: redhat-actions/podman-login@v1

.github/workflows/precommit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set Go
2727
uses: actions/setup-go@v3
2828
with:
29-
go-version: v1.19
29+
go-version: v1.20
3030

3131
- name: Activate cache
3232
uses: actions/cache@v3

.github/workflows/tag-and-build.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
- name: Set Go
6565
uses: actions/setup-go@v3
6666
with:
67-
go-version: v1.19
67+
go-version: v1.20
6868

6969
- name: Verify that release doesn't exist yet
7070
shell: bash {0}
@@ -102,13 +102,22 @@ jobs:
102102
sed -i -E "s/(.*INSTASCALE_VERSION \?= ).*/\1${{ github.event.inputs.instascale-version }}/" Makefile
103103
sed -i -E "s/(.*KUBERAY_VERSION \?= ).*/\1${{ github.event.inputs.kuberay-version }}/" Makefile
104104
105+
- name: Update image version in params.env
106+
run: |
107+
VERSION=${{ github.event.inputs.version }} perl -i -pe 's/:(.*)$/:$ENV{"VERSION"}/' config/manager/params.env
108+
shell: bash
109+
105110
- name: Login to Quay.io
106111
uses: redhat-actions/podman-login@v1
107112
with:
108113
username: ${{ secrets.QUAY_ID }}
109114
password: ${{ secrets.QUAY_TOKEN }}
110115
registry: quay.io
111116

117+
- name: Align go.mod and go.sum dependencies for released components
118+
run: |
119+
make modules
120+
112121
- name: Image Build and Push
113122
run: |
114123
make build
@@ -134,7 +143,7 @@ jobs:
134143
uses: stefanzweifel/git-auto-commit-action@v4
135144
with:
136145
commit_message: Update dependency versions for release ${{ github.event.inputs.version }}
137-
file_pattern: 'README.md *.yaml Makefile go.mod go.sum'
146+
file_pattern: 'README.md *.yaml Makefile go.mod go.sum *.env'
138147
create_branch: true
139148
branch: ${{ env.PR_BRANCH_NAME }}
140149

.github/workflows/unit_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set Go
2828
uses: actions/setup-go@v3
2929
with:
30-
go-version: v1.19
30+
go-version: v1.20
3131

3232
- name: Activate cache
3333
uses: actions/cache@v3

.github/workflows/verify_generated_files.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set Go
2525
uses: actions/setup-go@v3
2626
with:
27-
go-version: v1.19
27+
go-version: v1.20
2828
- name: Verify that imports are organized
2929
run: make verify-imports
3030

@@ -35,6 +35,6 @@ jobs:
3535
- name: Set Go
3636
uses: actions/setup-go@v3
3737
with:
38-
go-version: v1.19
38+
go-version: v1.20
3939
- name: Verify that the latest WebhookConfigurations, ClusterRoles, and CustomResourceDefinitions have been generated
4040
run: make manifests && git diff --exit-code

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Here are a few things to go over before getting started with CodeFlare Operator
55
## Environment setup
66

77
The following should be installed in your working environment:
8-
- Go 1.19.x
8+
- Go 1.20.x
99
- [Download release](https://go.dev/dl/)
1010
- [Install Instructions](https://go.dev/doc/install)
1111
- [Operator SDK](https://sdk.operatorframework.io/docs/installation/)

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM registry.access.redhat.com/ubi8/go-toolset:1.19.13 as builder
2+
FROM registry.access.redhat.com/ubi8/go-toolset:1.20.10 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

0 commit comments

Comments
 (0)