-
Notifications
You must be signed in to change notification settings - Fork 0
VER-3: repo update. #9
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove all the helm stuff.
You have missed some node-version changes in the workflow.
Add a new docker-build workflow to the test.yaml
.github/workflows/release.yml
Outdated
- uses: actions/checkout@master | ||
- uses: actions/setup-node@master | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Node version
.github/workflows/release.yml
Outdated
- uses: actions/checkout@master | ||
- uses: actions/setup-node@master | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Node version
.github/workflows/tests.yml
Outdated
- uses: actions/checkout@master | ||
- uses: actions/setup-node@master | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
node version
.github/workflows/tests.yml
Outdated
- uses: actions/checkout@master | ||
- uses: actions/setup-node@master | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16.x |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
node version
scripts/check-version.sh
Outdated
local HELM_CHART_VERSION=$(yq eval -o y '.version' ./helm/veritable-acapy-proxy/Chart.yaml) | ||
local HELM_CHART_APP_VERSION=$(yq eval -o y '.appVersion' ./helm/veritable-acapy-proxy/Chart.yaml) | ||
|
||
if [ "$PACKAGE_VERSION" != "$PACKAGE_LOCK_VERSION" ] || | ||
[ "v$PACKAGE_VERSION" != "$HELM_VALUES_TAG_VERSION" ] || | ||
[ "$PACKAGE_VERSION" != "$HELM_CHART_VERSION" ] || | ||
[ "$PACKAGE_VERSION" != "$HELM_CHART_APP_VERSION" ]; then | ||
echo "Inconsistent versions detected" | ||
echo "PACKAGE_VERSION: $PACKAGE_VERSION" | ||
echo "PACKAGE_LOCK_VERSION: $PACKAGE_LOCK_VERSION" | ||
echo "HELM_VALUES_TAG_VERSION: $HELM_VALUES_TAG_VERSION" | ||
echo "HELM_CHART_VERSION: $HELM_CHART_VERSION" | ||
echo "HELM_CHART_APP_VERSION: $HELM_CHART_APP_VERSION" | ||
exit 1 | ||
[ "v$PACKAGE_VERSION" != "$HELM_VALUES_TAG_VERSION" ] || | ||
[ "$PACKAGE_VERSION" != "$HELM_CHART_VERSION" ] || | ||
[ "$PACKAGE_VERSION" != "$HELM_CHART_APP_VERSION" ]; then | ||
echo "Inconsistent versions detected" | ||
echo "PACKAGE_VERSION: $PACKAGE_VERSION" | ||
echo "PACKAGE_LOCK_VERSION: $PACKAGE_LOCK_VERSION" | ||
exit 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove all the helm references
apiVersion: v2 | ||
name: veritable-acapy-proxy | ||
appVersion: '1.1.0' | ||
appVersion: '1.1.1' | ||
description: A Helm chart for veritable-acapy-proxy | ||
version: '1.1.0' | ||
version: '1.1.1' | ||
type: application | ||
maintainers: | ||
- name: digicatapult |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete the helm folder
.github/workflows/tests.yml
Outdated
- name: Set up chart-testing | ||
uses: helm/[email protected] | ||
- name: Setup Minikube | ||
uses: manusa/actions-setup-minikube@v2.3.0 | ||
uses: manusa/actions-setup-minikube@v2.7.2 | ||
with: | ||
minikube version: 'v1.17.1' | ||
kubernetes version: 'v1.19.2' | ||
minikube version: 'v1.28.0' | ||
kubernetes version: 'v1.25.4' | ||
- name: Login to minikube docker registry | ||
run: eval $(minikube -p minikube docker-env) | ||
run: eval $(minikube -p minikube docker-env --unset) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete all the helm testing
.github/workflows/release.yml
Outdated
- name: Set up chart-testing | ||
uses: helm/[email protected] | ||
- name: Setup Minikube | ||
uses: manusa/actions-setup-minikube@v2.3.0 | ||
uses: manusa/actions-setup-minikube@v2.7.2 | ||
with: | ||
minikube version: 'v1.17.1' | ||
kubernetes version: 'v1.19.2' | ||
minikube version: 'v1.28.0' | ||
kubernetes version: 'v1.25.4' | ||
- name: Login to minikube docker registry | ||
run: eval $(minikube -p minikube docker-env) | ||
run: eval $(minikube -p minikube docker-env --unset) | ||
- name: Build and Publish image | ||
uses: docker/build-push-action@v2 | ||
with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete all the helm testing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in release.yaml line 127 needs altering
needs: [preconditions, helm-lint, helm-test, lint, dependency-check, tests, check-version]
echo "::set-output name=REPO_NAME::$REPO_NAME" | ||
echo "::set-output name=ORG_NAME::$ORG_NAME" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update to new output setting notation
What
mock-jwks
due to the need of ESM modules, please find error below