Skip to content

Commit

Permalink
chore(release): nightly (#10217)
Browse files Browse the repository at this point in the history
* chore: release nightly

This will be the constant bleeding edge version

* ci: fix SNAPSHOT references

* fix: rust uses [SemVer](https://semver.org/) while python uses [PEP 440](https://peps.python.org/pep-0440/)

* ci: fix typo
  • Loading branch information
moabu authored Nov 21, 2024
1 parent 020573c commit c42b03d
Show file tree
Hide file tree
Showing 206 changed files with 362 additions and 362 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:
inputs:
version:
description: 'Version tag (e.g."v1.1.6")'
default: "v1.1.6"
default: "nightly"
required: false
concurrency:
group: run-once
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
STABLE=$(echo "${TAGS}" | grep -v -- "nightly" | tail -1)
echo "Latest is $LATEST and Stable is $STABLE"
# remove below two lines after first release
#LATEST="head"
LATEST="nightly"
#STABLE="head"
mike alias -u head main
mike alias -u "${STABLE}" stable
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-nightly-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
sudo cp gh_${VERSION}_linux_amd64/bin/gh /usr/local/bin/
gh version
echo "${{ secrets.MOAUTO_WORKFLOW_TOKEN }}" | gh auth login --with-token
NIGHTLY_VERSION=$(cat docker-jans-auth-server/Dockerfile | grep "ENV CN_VERSION" | awk -F "[=-]" '{print $2}')
gh release delete v${NIGHTLY_VERSION}.nightly --cleanup-tag --yes || echo "v${NIGHTLY_VERSION}.nightly" does not exist
gh release delete v${NIGHTLY_VERSION}.nightly --cleanup-tag --yes || echo "v${NIGHTLY_VERSION}.nightly" does not exist
git push --delete origin v${NIGHTLY_VERSION}.nightly || echo "v${NIGHTLY_VERSION}.nightly" does not exist
gh release create v${NIGHTLY_VERSION}.nightly --generate-notes --prerelease --title "v${NIGHTLY_VERSION}.nightly"
NIGHTLY_VERSION="nightly"
gh release delete ${NIGHTLY_VERSION} --cleanup-tag --yes || echo "v${NIGHTLY_VERSION}" does not exist
gh release delete ${NIGHTLY_VERSION} --cleanup-tag --yes || echo "v${NIGHTLY_VERSION}" does not exist
git push --delete origin ${NIGHTLY_VERSION} || echo "v${NIGHTLY_VERSION}" does not exist
gh release create ${NIGHTLY_VERSION} --generate-notes --prerelease --title "${NIGHTLY_VERSION}"
6 changes: 3 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
- name: Build ${{ matrix.service }}
run: |
if [ "${{ github.event_name }}" == "pull_request" ]; then
mvn -f ${{ matrix.service }}/pom.xml -Dcfg=${{ env.PROFILE_NAME }} -Dmaven.test.skip=${{ matrix.maven_skip_tests }} clean install -Drevision=${{ github.head_ref }}-SNAPSHOT
mvn -f ${{ matrix.service }}/pom.xml -Dcfg=${{ env.PROFILE_NAME }} -Dmaven.test.skip=${{ matrix.maven_skip_tests }} clean install -Drevision=${{ github.head_ref }}-nightly
else
mvn -f ${{ matrix.service }}/pom.xml -Dcfg=${{ env.PROFILE_NAME }} -Dmaven.test.skip=${{ matrix.maven_skip_tests }} clean install
fi
Expand Down Expand Up @@ -146,11 +146,11 @@ jobs:
egress-policy: audit
- name: Clean up PR assets
run: |
# List all SNAPSHOT versions
# List all nightly versions
versions=$(curl -s -H "Authorization: token ${{ secrets.MOAUTO_WORKFLOW_TOKEN }}" "https://maven.pkg.github.com/JanssenProject/jans/maven-metadata.xml" | grep -oP '(?<=<version>)[^<]+')
for version in $versions; do
if [[ $version == *-SNAPSHOT ]]; then
if [[ $version == *-nightly ]]; then
# Delete the version from GitHub Packages
curl -X DELETE -H "Authorization: token ${{ secrets.MOAUTO_WORKFLOW_TOKEN }}" "https://maven.pkg.github.com/JanssenProject/jans/io/jans/${{ matrix.service.project }}/$version"
fi
Expand Down
2 changes: 1 addition & 1 deletion agama/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>io.jans</groupId>
<artifactId>agama</artifactId>
<packaging>pom</packaging>
<version>1.1.6</version>
<version>0.0.0-nightly</version>
<name>agama parent</name>

<prerequisites>
Expand Down
2 changes: 1 addition & 1 deletion agama/transpiler/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<parent>
<groupId>io.jans</groupId>
<artifactId>agama</artifactId>
<version>1.1.6</version>
<version>0.0.0-nightly</version>
</parent>

<properties>
Expand Down
8 changes: 4 additions & 4 deletions charts/janssen-all-in-one/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ annotations:
artifacthub.io/containsSecurityUpdates: 'true'
artifacthub.io/images: |
- name: all-in-one
image: ghcr.io/janssenproject/jans/all-in-one:1.1.6-1
image: ghcr.io/janssenproject/jans/all-in-one:0.0.0-nightly
artifacthub.io/license: Apache-2.0
artifacthub.io/prerelease: 'false'
artifacthub.io/prerelease: 'true'
catalog.cattle.io/certified: partner
catalog.cattle.io/release-name: janssen-all-in-one
catalog.cattle.io/display-name: Janssen Cloud Identity and Access Management All-in-One
apiVersion: v2
appVersion: "1.1.6"
appVersion: "0.0.0-nightly"
icon: >-
https://raw.githubusercontent.com/JanssenProject/jans/main/docs/assets/logo/janssen_project_favicon_transparent_50px_50px.png
home: https://jans.io
Expand All @@ -22,4 +22,4 @@ maintainers:
email: [email protected]
description: Janssen Access and Identity Management All-in-One Chart. This chart deploys the selected janssen microservice all in one deployment.
name: janssen-all-in-one
version: 1.1.6
version: 0.0.0-nightly
12 changes: 6 additions & 6 deletions charts/janssen-all-in-one/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# janssen-all-in-one

![Version: 1.1.6](https://img.shields.io/badge/Version-1.1.6-informational?style=flat-square) ![AppVersion: 1.1.6](https://img.shields.io/badge/AppVersion-1.1.6-informational?style=flat-square)
![Version: 0.0.0-nightly](https://img.shields.io/badge/Version-0.0.0--nightly-informational?style=flat-square) ![AppVersion: 0.0.0-nightly](https://img.shields.io/badge/AppVersion-0.0.0--nightly-informational?style=flat-square)

Janssen Access and Identity Management All-in-One Chart. This chart deploys the selected janssen microservice all in one deployment.

Expand Down Expand Up @@ -30,7 +30,7 @@ Kubernetes: `>=v1.22.0-0`
| adminPassword | string | `"Test1234#"` | Admin password to log in to the UI. |
| alb.ingress | bool | `false` | switches the service to Nodeport for ALB ingress |
| auth-server | object | `{"appLoggers":{"auditStatsLogLevel":"INFO","auditStatsLogTarget":"FILE","authLogLevel":"INFO","authLogTarget":"STDOUT","enableStdoutLogPrefix":"true","httpLogLevel":"INFO","httpLogTarget":"FILE","persistenceDurationLogLevel":"INFO","persistenceDurationLogTarget":"FILE","persistenceLogLevel":"INFO","persistenceLogTarget":"FILE","scriptLogLevel":"INFO","scriptLogTarget":"FILE"},"authEncKeys":"RSA1_5 RSA-OAEP","authSigKeys":"RS256 RS384 RS512 ES256 ES384 ES512 PS256 PS384 PS512","enabled":true,"ingress":{"authServerAdditionalAnnotations":{},"authServerEnabled":true,"authServerLabels":{},"deviceCodeAdditionalAnnotations":{},"deviceCodeEnabled":true,"deviceCodeLabels":{},"firebaseMessagingAdditionalAnnotations":{},"firebaseMessagingEnabled":true,"firebaseMessagingLabels":{},"lockAdditionalAnnotations":{},"lockConfigAdditionalAnnotations":{},"lockConfigEnabled":false,"lockConfigLabels":{},"lockEnabled":false,"lockLabels":{},"openidAdditionalAnnotations":{},"openidConfigEnabled":true,"openidConfigLabels":{},"u2fAdditionalAnnotations":{},"u2fConfigEnabled":true,"u2fConfigLabels":{},"uma2AdditionalAnnotations":{},"uma2ConfigEnabled":true,"uma2ConfigLabels":{},"webdiscoveryAdditionalAnnotations":{},"webdiscoveryEnabled":true,"webdiscoveryLabels":{},"webfingerAdditionalAnnotations":{},"webfingerEnabled":true,"webfingerLabels":{}},"lockEnabled":false}` | Parameters used globally across all services helm charts. |
| auth-server-key-rotation | object | `{"additionalAnnotations":{},"additionalLabels":{},"customCommand":[],"customScripts":[],"dnsConfig":{},"dnsPolicy":"","enabled":true,"image":{"pullPolicy":"IfNotPresent","pullSecrets":[],"repository":"ghcr.io/janssenproject/jans/certmanager","tag":"1.1.6-1"},"initKeysLife":48,"keysLife":48,"keysPushDelay":0,"keysPushStrategy":"NEWER","keysStrategy":"NEWER","lifecycle":{},"resources":{"limits":{"cpu":"300m","memory":"300Mi"},"requests":{"cpu":"300m","memory":"300Mi"}},"usrEnvs":{"normal":{},"secret":{}},"volumeMounts":[],"volumes":[]}` | Responsible for regenerating auth-keys per x hours |
| auth-server-key-rotation | object | `{"additionalAnnotations":{},"additionalLabels":{},"customCommand":[],"customScripts":[],"dnsConfig":{},"dnsPolicy":"","enabled":true,"image":{"pullPolicy":"IfNotPresent","pullSecrets":[],"repository":"ghcr.io/janssenproject/jans/certmanager","tag":"0.0.0-nightly"},"initKeysLife":48,"keysLife":48,"keysPushDelay":0,"keysPushStrategy":"NEWER","keysStrategy":"NEWER","lifecycle":{},"resources":{"limits":{"cpu":"300m","memory":"300Mi"},"requests":{"cpu":"300m","memory":"300Mi"}},"usrEnvs":{"normal":{},"secret":{}},"volumeMounts":[],"volumes":[]}` | Responsible for regenerating auth-keys per x hours |
| auth-server-key-rotation.additionalAnnotations | object | `{}` | Additional annotations that will be added across the gateway in the format of {cert-manager.io/issuer: "letsencrypt-prod"} |
| auth-server-key-rotation.additionalLabels | object | `{}` | Additional labels that will be added across the gateway in the format of {mylabel: "myapp"} |
| auth-server-key-rotation.customCommand | list | `[]` | Add custom jobs's command. If passed, it will override the default conditional command. |
Expand All @@ -41,7 +41,7 @@ Kubernetes: `>=v1.22.0-0`
| auth-server-key-rotation.image.pullPolicy | string | `"IfNotPresent"` | Image pullPolicy to use for deploying. |
| auth-server-key-rotation.image.pullSecrets | list | `[]` | Image Pull Secrets |
| auth-server-key-rotation.image.repository | string | `"ghcr.io/janssenproject/jans/certmanager"` | Image to use for deploying. |
| auth-server-key-rotation.image.tag | string | `"1.1.6-1"` | Image tag to use for deploying. |
| auth-server-key-rotation.image.tag | string | `"0.0.0-nightly"` | Image tag to use for deploying. |
| auth-server-key-rotation.initKeysLife | int | `48` | The initial auth server key rotation keys life in hours |
| auth-server-key-rotation.keysLife | int | `48` | Auth server key rotation keys life in hours |
| auth-server-key-rotation.keysPushDelay | int | `0` | Delay (in seconds) before pushing private keys to Auth server |
Expand Down Expand Up @@ -256,7 +256,7 @@ Kubernetes: `>=v1.22.0-0`
| image.pullPolicy | string | `"IfNotPresent"` | Image pullPolicy to use for deploying. |
| image.pullSecrets | list | `[]` | Image Pull Secrets |
| image.repository | string | `"ghcr.io/janssenproject/jans/all-in-one"` | Image to use for deploying. |
| image.tag | string | `"1.1.6-1"` | Image tag to use for deploying. |
| image.tag | string | `"0.0.0-nightly"` | Image tag to use for deploying. |
| isFqdnRegistered | bool | `false` | Boolean flag to enable mapping lbIp to fqdn inside pods on clouds that provide static ip for load balancers. On cloud that provide only addresses to the LB this flag will enable a script to actively scan config.configmap.lbAddr and update the hosts file inside the pods automatically. |
| istio.additionalAnnotations | object | `{}` | Additional annotations that will be added across the gateway in the format of {cert-manager.io/issuer: "letsencrypt-prod"} |
| istio.additionalLabels | object | `{}` | Additional labels that will be added across the gateway in the format of {mylabel: "myapp"} |
Expand All @@ -265,7 +265,7 @@ Kubernetes: `>=v1.22.0-0`
| istio.ingress | bool | `false` | Boolean flag that enables using istio gateway for Janssen. This assumes istio ingress is installed and hence the LB is available. |
| istio.namespace | string | `"istio-system"` | The namespace istio is deployed in. The is normally istio-system. |
| istio.tlsSecretName | string | `"istio-tls-certificate"` | |
| kc-scheduler | object | `{"additionalAnnotations":{},"additionalLabels":{},"customCommand":[],"customScripts":[],"dnsConfig":{},"dnsPolicy":"","enabled":false,"image":{"pullPolicy":"IfNotPresent","pullSecrets":[],"repository":"ghcr.io/janssenproject/jans/kc-scheduler","tag":"1.1.6-1"},"interval":10,"lifecycle":{},"resources":{"limits":{"cpu":"300m","memory":"300Mi"},"requests":{"cpu":"300m","memory":"300Mi"}},"usrEnvs":{"normal":{},"secret":{}},"volumeMounts":[],"volumes":[]}` | Responsible for synchronizing Keycloak SAML clients |
| kc-scheduler | object | `{"additionalAnnotations":{},"additionalLabels":{},"customCommand":[],"customScripts":[],"dnsConfig":{},"dnsPolicy":"","enabled":false,"image":{"pullPolicy":"IfNotPresent","pullSecrets":[],"repository":"ghcr.io/janssenproject/jans/kc-scheduler","tag":"0.0.0-nightly"},"interval":10,"lifecycle":{},"resources":{"limits":{"cpu":"300m","memory":"300Mi"},"requests":{"cpu":"300m","memory":"300Mi"}},"usrEnvs":{"normal":{},"secret":{}},"volumeMounts":[],"volumes":[]}` | Responsible for synchronizing Keycloak SAML clients |
| kc-scheduler.additionalAnnotations | object | `{}` | Additional annotations that will be added across the gateway in the format of {cert-manager.io/issuer: "letsencrypt-prod"} |
| kc-scheduler.additionalLabels | object | `{}` | Additional labels that will be added across the gateway in the format of {mylabel: "myapp"} |
| kc-scheduler.customCommand | list | `[]` | Add custom job's command. If passed, it will override the default conditional command. |
Expand All @@ -276,7 +276,7 @@ Kubernetes: `>=v1.22.0-0`
| kc-scheduler.image.pullPolicy | string | `"IfNotPresent"` | Image pullPolicy to use for deploying. |
| kc-scheduler.image.pullSecrets | list | `[]` | Image Pull Secrets |
| kc-scheduler.image.repository | string | `"ghcr.io/janssenproject/jans/kc-scheduler"` | Image to use for deploying. |
| kc-scheduler.image.tag | string | `"1.1.6-1"` | Image tag to use for deploying. |
| kc-scheduler.image.tag | string | `"0.0.0-nightly"` | Image tag to use for deploying. |
| kc-scheduler.interval | int | `10` | Interval of running the scheduler (in minutes) |
| kc-scheduler.resources | object | `{"limits":{"cpu":"300m","memory":"300Mi"},"requests":{"cpu":"300m","memory":"300Mi"}}` | Resource specs. |
| kc-scheduler.resources.limits.cpu | string | `"300m"` | CPU limit. |
Expand Down
6 changes: 3 additions & 3 deletions charts/janssen-all-in-one/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ auth-server-key-rotation:
# -- Image to use for deploying.
repository: ghcr.io/janssenproject/jans/certmanager
# -- Image tag to use for deploying.
tag: 1.1.6-1
tag: 0.0.0-nightly
# -- Image Pull Secrets
pullSecrets: [ ]
# -- Auth server key rotation keys life in hours
Expand Down Expand Up @@ -665,7 +665,7 @@ image:
# -- Image to use for deploying.
repository: ghcr.io/janssenproject/jans/all-in-one
# -- Image tag to use for deploying.
tag: 1.1.6-1
tag: 0.0.0-nightly
# -- Image Pull Secrets
pullSecrets: [ ]
# -- Service replica number.
Expand Down Expand Up @@ -745,7 +745,7 @@ kc-scheduler:
# -- Image to use for deploying.
repository: ghcr.io/janssenproject/jans/kc-scheduler
# -- Image tag to use for deploying.
tag: 1.1.6-1
tag: 0.0.0-nightly
# -- Image Pull Secrets
pullSecrets: [ ]
# -- Resource specs.
Expand Down
54 changes: 27 additions & 27 deletions charts/janssen/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,34 @@ annotations:
artifacthub.io/containsSecurityUpdates: 'true'
artifacthub.io/images: |
- name: auth-server
image: ghcr.io/janssenproject/jans/auth-server:1.1.6-1
image: ghcr.io/janssenproject/jans/auth-server:0.0.0-nightly
- name: auth-server-key-rotation
image: ghcr.io/janssenproject/jans/certmanager:1.1.6-1
image: ghcr.io/janssenproject/jans/certmanager:0.0.0-nightly
- name: configuration-manager
image: ghcr.io/janssenproject/jans/configurator:1.1.6-1
image: ghcr.io/janssenproject/jans/configurator:0.0.0-nightly
- name: config-api
image: ghcr.io/janssenproject/jans/config-api:1.1.6-1
image: ghcr.io/janssenproject/jans/config-api:0.0.0-nightly
- name: fido2
image: ghcr.io/janssenproject/jans/fido2:1.1.6-1
image: ghcr.io/janssenproject/jans/fido2:0.0.0-nightly
- name: persistence
image: ghcr.io/janssenproject/jans/persistence-loader:1.1.6-1
image: ghcr.io/janssenproject/jans/persistence-loader:0.0.0-nightly
- name: casa
image: ghcr.io/janssenproject/jans/casa:1.1.6-1
image: ghcr.io/janssenproject/jans/casa:0.0.0-nightly
- name: scim
image: ghcr.io/janssenproject/jans/scim:1.1.6-1
image: ghcr.io/janssenproject/jans/scim:0.0.0-nightly
- name: link
image: ghcr.io/janssenproject/jans/link:1.1.6-1
image: ghcr.io/janssenproject/jans/link:0.0.0-nightly
- name: saml
image: ghcr.io/janssenproject/jans/saml:1.1.6-1
image: ghcr.io/janssenproject/jans/saml:0.0.0-nightly
- name: kc-scheduler
image: ghcr.io/janssenproject/jans/kc-scheduler:1.1.6-1
image: ghcr.io/janssenproject/jans/kc-scheduler:0.0.0-nightly
artifacthub.io/license: Apache-2.0
artifacthub.io/prerelease: 'false'
artifacthub.io/prerelease: 'true'
catalog.cattle.io/certified: partner
catalog.cattle.io/release-name: janssen
catalog.cattle.io/display-name: Janssen Cloud Identity and Access Management Microservices
apiVersion: v2
appVersion: "1.1.6"
appVersion: "0.0.0-nightly"
icon: >-
https://raw.githubusercontent.com/JanssenProject/jans/main/docs/assets/logo/janssen_project_favicon_transparent_50px_50px.png
home: https://jans.io
Expand All @@ -42,56 +42,56 @@ maintainers:
email: [email protected]
description: Janssen Access and Identity Management Microservices Chart. This chart deploys each janssen microservice as a separate deployment.
name: janssen
version: 1.1.6
version: 0.0.0-nightly
dependencies:
- name: casa
version: 1.1.6
version: 0.0.0-nightly
condition: global.casa.enabled

- name: config
condition: global.config.enabled
version: 1.1.6
version: 0.0.0-nightly

- name: config-api
condition: global.config-api.enabled
version: 1.1.6
version: 0.0.0-nightly

- name: auth-server
condition: global.auth-server.enabled
version: 1.1.6
version: 0.0.0-nightly

- name: fido2
condition: global.fido2.enabled
version: 1.1.6
version: 0.0.0-nightly

- name: scim
condition: global.scim.enabled
version: 1.1.6
version: 0.0.0-nightly

- name: nginx-ingress
condition: global.nginx-ingress.enabled
version: 1.1.6
version: 0.0.0-nightly

- name: auth-server-key-rotation
condition: global.auth-server-key-rotation.enabled
version: 1.1.6
version: 0.0.0-nightly

- name: persistence
condition: global.persistence.enabled
version: 1.1.6
version: 0.0.0-nightly

- name: link
condition: global.link.enabled
version: 1.1.6
version: 0.0.0-nightly

- name: saml
condition: global.saml.enabled
version: 1.1.6
version: 0.0.0-nightly

- name: cn-istio-ingress
condition: global.istio.ingress
version: 1.1.6
version: 0.0.0-nightly

- name: kc-scheduler
condition: global.kc-scheduler.enabled
version: 1.1.6
version: 0.0.0-nightly
Loading

0 comments on commit c42b03d

Please sign in to comment.