Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump tink to v0.10.0 #3087

Merged
merged 1 commit into from
Apr 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions UPSTREAM_PROJECTS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ projects:
go_version: "1.21"
- name: tink
versions:
- tag: v0.8.0
go_version: "1.18"
- tag: v0.10.0
go_version: "1.21"
- org: torvalds
repos:
- name: linux
Expand Down
524 changes: 261 additions & 263 deletions projects/tinkerbell/tink/ATTRIBUTION.txt

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions projects/tinkerbell/tink/CHECKSUMS
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
3893559a553a18127be05e43b0bfd368e851ab1340780857fb65b47d4755be06 _output/bin/tink/linux-amd64/tink-controller
df2796a3e795a8fce5c8fef21836e08eafdac30f07c91942f48c6d76d49371b8 _output/bin/tink/linux-amd64/tink-server
9a27167b56c9427535f4f03c334c549eec2659097d068fb47a3adac6631d7954 _output/bin/tink/linux-amd64/tink-worker
bd0bc8d8057d3de7a3313800b148a4dda808108d491ea2f7ff474476c628155d _output/bin/tink/linux-arm64/tink-controller
3c0ae4230ab42acdd86b27b8289648216060f04bc428d86fa28853076c924842 _output/bin/tink/linux-arm64/tink-server
51b571956a06aeecbfd6de67022812455e9e6deee68800773c24d79c6c8913b5 _output/bin/tink/linux-arm64/tink-worker
fc9c4114e05b2b68cc1b9fcdf90b0d82ebf36361b09f1dae8061d804f7f581d9 _output/bin/tink/linux-amd64/tink-controller
8426147fdb84c18013d317da3ef3aea1c5670c7791ef953785a8133c9172114a _output/bin/tink/linux-amd64/tink-server
9b5557c2cc897586f4adc160600ecaa6bec6751828f8432b8dbc30e0884b8374 _output/bin/tink/linux-amd64/tink-worker
7b366ad77500d8ebab51e49a49fed9b8b1b39117bf06d8c5125612982987e4db _output/bin/tink/linux-arm64/tink-controller
3ed854d3365327fdaee59ea919af8f63bcb2879616a0636d0991dd0428841f13 _output/bin/tink/linux-arm64/tink-server
f5f4e04ed768ac629d639391380178f42e16aa3db81d2b2be82099c66912c6f4 _output/bin/tink/linux-arm64/tink-worker
2 changes: 1 addition & 1 deletion projects/tinkerbell/tink/GIT_TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.8.0
v0.10.0
2 changes: 1 addition & 1 deletion projects/tinkerbell/tink/GOLANG_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.18
1.21
1 change: 0 additions & 1 deletion projects/tinkerbell/tink/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ VERSION?=$(shell git -C $(REPO) rev-parse --short HEAD)
EXTRA_GO_LDFLAGS=-X main.version=$(VERSION)

HAS_S3_ARTIFACTS=true
EXCLUDE_FROM_UPGRADE_BUILDSPEC=true

include $(BASE_DIRECTORY)/Common.mk

Expand Down
2 changes: 1 addition & 1 deletion projects/tinkerbell/tink/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## **Tink**
![Version](https://img.shields.io/badge/version-v0.8.0-blue)
![Version](https://img.shields.io/badge/version-v0.10.0-blue)
![Build Status](https://codebuild.us-west-2.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoiUmxrMmd4b2N6dk02TDRPVlVXQ1N3aEhsRzAxWFBtZ1Y1VVNXWEtVZlVNS0tkQlZ4MHFuNXJiWld0ZFMvVzVmMzZxWjhKK3FERWdQeEV6RWd6WFZBcGM0PSIsIml2UGFyYW1ldGVyU3BlYyI6ImEvZEhCemJsQXJWZXVmc2kiLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D&branch=main)

[Tink](https://github.com/tinkerbell/tink) consists of the tink-server, tink-controller and tink-worker. The tink-worker and tink-server communicate over gRPC, and are responsible for processing workflows. Tink-controller is Kubernetes controller that is responsible for reconciling Tinkerbell hardwares, templates and workflows. The CLI is the user-interactive piece for creating workflows and their building blocks, templates and hardware data.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
From f13510723306d174b108f76e6b0bd482905a99f8 Mon Sep 17 00:00:00 2001
From: Ahree Hong <ahreeh@amazon.com>
Date: Tue, 16 Apr 2024 17:31:46 -0700
Subject: [PATCH] Remove .ONESHELL from Makefile

Signed-off-by: Ahree Hong <ahreeh@amazon.com>
---
Makefile | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/Makefile b/Makefile
index b29fe5c..bfa60fa 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,6 @@ PATH := $(PATH):$(PWD)/bin
# Use bash instead of plain sh and treat the shell as one shell script invocation.
SHELL := bash
.SHELLFLAGS := -o pipefail -euc
-.ONESHELL:

# Second expansion is used by the image targets to depend on their respective binaries. It is
# necessary because automatic variables are not set on first expansion.
@@ -159,15 +158,16 @@ out/release/default/kustomization.yaml: config/default/kustomization.yaml
mkdir -p out/
cp -a config/ out/release/

-out/release/tink.yaml: generate-manifests out/release/default/kustomization.yaml
- (
- cd out/release/default && \
- $(KUSTOMIZE) edit set image server=$(TINK_SERVER_IMAGE):$(TINK_CONTROLLER_TAG) controller=$(TINK_CONTROLLER_IMAGE):$(TINK_CONTROLLER_TAG) && \
- $(KUSTOMIZE) edit set namespace $(NAMESPACE) \
- )
+out/release/tink.yaml: generate-manifests out/release/default/kustomization.yaml set-manifest
$(KUSTOMIZE) build out/release/default -o $@
prettier --write $@

+.PHONY: set-manifest
+set-manifest:
+ cd out/release/default && \
+ $(KUSTOMIZE) edit set image server=$(TINK_SERVER_IMAGE):$(TINK_CONTROLLER_TAG) controller=$(TINK_CONTROLLER_IMAGE):$(TINK_CONTROLLER_TAG) && \
+ $(KUSTOMIZE) edit set namespace $(NAMESPACE)
+
.PHONY: release-manifests
release-manifests: out/release/tink.yaml ## Builds the manifests to publish with a release.

--
2.40.0

This file was deleted.

2 changes: 1 addition & 1 deletion projects/tinkerbell/tinkerbell-chart/GIT_TAG
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.4
0.2.5
2 changes: 1 addition & 1 deletion projects/tinkerbell/tinkerbell-chart/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# **Tinkerbell Stack Helm Chart**
![Version](https://img.shields.io/badge/version-0.2.4-blue)
![Version](https://img.shields.io/badge/version-0.2.5-blue)
![Build Status](https://codebuild.us-west-2.amazonaws.com/badges?uuid=eyJlbmNyeXB0ZWREYXRhIjoic0w3TWw2ZDdFblpMMDZtamh2S3RiNmVwbTdRaDVlbmgxWGZkVi9WdGZjMDgvL2J2a1ZGSXJoMVV2dWJlNWZpbjV5Z3k4THRjZ0VyWUlBM0RLTUNWaE4wPSIsIml2UGFyYW1ldGVyU3BlYyI6IllIWGJ1SDFRZm1HM0dnK1giLCJtYXRlcmlhbFNldFNlcmlhbCI6MX0%3D&branch=main)

## Updating
Expand Down
2 changes: 1 addition & 1 deletion projects/tinkerbell/tinkerbell-chart/chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.4
version: 0.2.5

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ spec:
containers:
- args:
- --backend=kubernetes
- --tls=false
{{- range .Values.tinkServer.args }}
- {{ . }}
{{- end }}
Expand Down
2 changes: 1 addition & 1 deletion projects/tinkerbell/tinkerbell-chart/helm/sedfile.template
Original file line number Diff line number Diff line change
@@ -1 +1 @@
s,0.2.4,${IMAGE_TAG},g
s,0.2.5,${IMAGE_TAG},g
8 changes: 8 additions & 0 deletions tools/version-tracker/buildspecs/upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,13 @@ batch:
variables:
PROJECT_PATH: projects/tinkerbell/rufio
CLONE_URL: https://git-codecommit.us-west-2.amazonaws.com/v1/repos/tinkerbell.rufio
- identifier: tinkerbell_tink
env:
type: ARM_CONTAINER
compute-type: BUILD_GENERAL1_SMALL
variables:
PROJECT_PATH: projects/tinkerbell/tink
CLONE_URL: https://git-codecommit.us-west-2.amazonaws.com/v1/repos/tinkerbell.tink
- identifier: vmware_govmomi
env:
type: ARM_CONTAINER
Expand Down Expand Up @@ -590,6 +597,7 @@ batch:
- replicatedhq_troubleshoot
- tinkerbell_hegel
- tinkerbell_rufio
- tinkerbell_tink
- vmware_govmomi
version: 0.2
env:
Expand Down