Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Commit

Permalink
Rename Lagoon to Lagoobernetes
Browse files Browse the repository at this point in the history
  • Loading branch information
Schnitzel committed Apr 1, 2020
1 parent bcfb943 commit 87bdd57
Show file tree
Hide file tree
Showing 837 changed files with 5,565 additions and 20,839 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Explain the **details** for making this change. What existing problem does the p

<!--
# Changelog Entry
Lagoon is using "Release Drafter" to create changelogs using PR titles and labels
Lagoobernetes is using "Release Drafter" to create changelogs using PR titles and labels
Please ensure that this PR has a concise and descriptive title - they can be edited after merging, but not after release.
Please ensure that this PR has the correct [0-9]-subsystem label(s) attached - this can be edited after merging if needed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
kind: Template
metadata:
creationTimestamp: null
name: lagoon-secret-environment-template
name: lagoobernetes-secret-environment-template
parameters:
- name: HARBOR_CORE_SECRET
description: The secret used to connect to harbor's core service
Expand Down Expand Up @@ -36,7 +36,7 @@ parameters:
- name: PROJECT
description: Which project this belongs to, original value
required: true
- name: LAGOON_GIT_SHA
- name: LAGOOBERNETES_GIT_SHA
description: git hash sha of the current deployment
required: true
- name: OPENSHIFT_PROJECT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ apiVersion: v1
kind: Template
metadata:
creationTimestamp: null
name: lagoon-secret-environment-template
name: lagoobernetes-secret-environment-template
parameters:
- name: KEYCLOAK_LAGOON_ADMIN_PASSWORD
- name: KEYCLOAK_LAGOOBERNETES_ADMIN_PASSWORD
description: super admin password of keycloak
generate: expression
from: "[a-zA-Z0-9]{32}"
Expand Down Expand Up @@ -32,7 +32,7 @@ parameters:
- name: PROJECT
description: Which project this belongs to, original value
required: true
- name: LAGOON_GIT_SHA
- name: LAGOOBERNETES_GIT_SHA
description: git hash sha of the current deployment
required: true
- name: OPENSHIFT_PROJECT
Expand All @@ -42,9 +42,9 @@ objects:
- kind: Secret
apiVersion: v1
metadata:
name: keycloak-lagoon-admin-password
name: keycloak-lagoobernetes-admin-password
stringData:
KEYCLOAK_LAGOON_ADMIN_PASSWORD: ${KEYCLOAK_LAGOON_ADMIN_PASSWORD}
KEYCLOAK_LAGOOBERNETES_ADMIN_PASSWORD: ${KEYCLOAK_LAGOOBERNETES_ADMIN_PASSWORD}
- kind: Secret
apiVersion: v1
metadata:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
kind: Template
metadata:
creationTimestamp: null
name: lagoon-secret-environment-template
name: lagoobernetes-secret-environment-template
parameters:
- name: LOGSDB_ADMIN_PASSWORD
description: admin password of logs-db
Expand All @@ -24,7 +24,7 @@ parameters:
- name: PROJECT
description: Which project this belongs to, original value
required: true
- name: LAGOON_GIT_SHA
- name: LAGOOBERNETES_GIT_SHA
description: git hash sha of the current deployment
required: true
- name: OPENSHIFT_PROJECT
Expand Down
6 changes: 3 additions & 3 deletions .lagoon.secrets.yaml → .lagoobernetes.secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v1
kind: Template
metadata:
creationTimestamp: null
name: lagoon-secret-environment-template
name: lagoobernetes-secret-environment-template
parameters:
- name: JWTSECRET
description: JSON Web Token generation secret
Expand Down Expand Up @@ -36,7 +36,7 @@ parameters:
- name: PROJECT
description: Which project this belongs to, original value
required: true
- name: LAGOON_GIT_SHA
- name: LAGOOBERNETES_GIT_SHA
description: git hash sha of the current deployment
required: true
- name: OPENSHIFT_PROJECT
Expand All @@ -60,7 +60,7 @@ objects:
metadata:
name: rabbitmq-username
stringData:
RABBITMQ_USERNAME: lagoon
RABBITMQ_USERNAME: lagoobernetes
- kind: Secret
apiVersion: v1
metadata:
Expand Down
14 changes: 7 additions & 7 deletions .lagoon.yml → .lagoobernetes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@ docker-compose-yaml: docker-compose.yaml

additional-yaml:
secrets:
path: .lagoon.secrets.yaml
path: .lagoobernetes.secrets.yaml
command: create
ignore_error: true

logs-db-secrets:
path: .lagoon.logs-db-secrets.yaml
path: .lagoobernetes.logs-db-secrets.yaml
command: create
ignore_error: true

keycloak-secrets:
path: .lagoon.keycloak-secrets.yaml
path: .lagoobernetes.keycloak-secrets.yaml
command: create
ignore_error: true

harbor-secrets:
path: .lagoon.harbor-secrets.yaml
path: .lagoobernetes.harbor-secrets.yaml
command: create
ignore_error: true
tasks:
Expand Down Expand Up @@ -45,8 +45,8 @@ environments:
logs-db: elasticsearch-cluster
logs-collector: custom
templates:
logs-db: services/logs-db/.lagoon.cluster.yml
logs-forwarder: services/logs-forwarder/.lagoon.multi.yml
logs-db: services/logs-db/.lagoobernetes.cluster.yml
logs-forwarder: services/logs-forwarder/.lagoobernetes.multi.yml
rollouts:
logs-db: statefulset
logs-forwarder: statefulset
Expand All @@ -63,6 +63,6 @@ environments:
types:
logs-db: elasticsearch-cluster
templates:
logs-db: services/logs-db/.lagoon.cluster.yml
logs-db: services/logs-db/.lagoobernetes.cluster.yml
rollouts:
logs-db: statefulset
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ node {

withEnv(['AWS_BUCKET=jobs.amazeeio.services', 'AWS_DEFAULT_REGION=us-east-2']) {
withCredentials([
usernamePassword(credentialsId: 'aws-s3-lagoon', usernameVariable: 'AWS_ACCESS_KEY_ID', passwordVariable: 'AWS_SECRET_ACCESS_KEY'),
usernamePassword(credentialsId: 'aws-s3-lagoobernetes', usernameVariable: 'AWS_ACCESS_KEY_ID', passwordVariable: 'AWS_SECRET_ACCESS_KEY'),
string(credentialsId: 'SKIP_IMAGE_PUBLISH', variable: 'SKIP_IMAGE_PUBLISH')
]) {
try {
Expand Down Expand Up @@ -89,13 +89,13 @@ node {
}
}
},
'3 push images to amazeeiolagoon': {
stage ('push images to amazeeiolagoon/*') {
'3 push images to amazeeiolagoobernetes': {
stage ('push images to amazeeiolagoobernetes/*') {
withCredentials([string(credentialsId: 'amazeeiojenkins-dockerhub-password', variable: 'PASSWORD')]) {
try {
if (env.SKIP_IMAGE_PUBLISH != 'true') {
sh 'docker login -u amazeeiojenkins -p $PASSWORD'
sh "make -O${SYNC_MAKE_OUTPUT} -j4 publish-amazeeiolagoon-baseimages publish-amazeeiolagoon-serviceimages BRANCH_NAME=${SAFEBRANCH_NAME}"
sh "make -O${SYNC_MAKE_OUTPUT} -j4 publish-amazeeiolagoobernetes-baseimages publish-amazeeiolagoobernetes-serviceimages BRANCH_NAME=${SAFEBRANCH_NAME}"
} else {
sh 'echo "skipped because of SKIP_IMAGE_PUBLISH env variable"'
}
Expand Down
Loading

0 comments on commit 87bdd57

Please sign in to comment.