Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
geosphere-deploy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cspp_geo
geosphere
geosphere-deploy
Commits
b098b064
Verified
Commit
b098b064
authored
3 years ago
by
David Hoese
Browse files
Options
Downloads
Patches
Plain Diff
Try helm base rewrite again
parent
5aa2724f
No related branches found
Branches containing commit
Tags
gamma-test-r20220119_1844
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
helpers/helm_base.yaml
+4
-1
4 additions, 1 deletion
helpers/helm_base.yaml
with
4 additions
and
1 deletion
helpers/helm_base.yaml
+
4
−
1
View file @
b098b064
...
...
@@ -8,10 +8,12 @@
-
ENV_FILE="ci_env.sh"
-
echo "export KUBECONFIG=\"$kubekorner_k3s_config\"" >> $ENV_FILE
-
echo "export HELM_EXPERIMENTAL_OCI=\"1\"" >> $ENV_FILE
-
source $ENV_FILE
-
docker info
-
docker login -u ${CI_REGISTRY_USER} -p ${CI_REGISTRY_PASSWORD} ${CI_REGISTRY}
-
if [[ $CI_COMMIT_TAG =~ ^gamma-test-r[0-9]+_[0-9]+ ]]; then
echo "export KUBECONFIG=\"$GAMMA_GEOSPHERE_TEST_CONFIG\"" >> $ENV_FILE;
source $ENV_FILE;
kubectl config set-context $(kubectl config current-context) --namespace=${GAMMA_GEOSPHERE_TEST_NAMESPACE};
kubectl config view --minify;
kubectl auth can-i --list;
...
...
@@ -22,6 +24,7 @@
# for more information.
-
if [[ $CI_COMMIT_TAG =~ ^gcp-r[0-9]+_[0-9]+ ]]; then
echo "export KUBECONFIG=\"/root/.kube/config\"" >> $ENV_FILE;
source $ENV_FILE;
gcloud --verbosity=debug auth activate-service-account "${GEOSPHERE_DEPLOY_GCP_SA_EMAIL}" --key-file="${GEOSPHERE_DEPLOY_GCP_SA_KEY}";
gcloud --verbosity=debug config set project "${GEOSPHERE_DEPLOY_GCP_PROJECT_NAME}";
gcloud --verbosity=debug container clusters get-credentials "${GEOSPHERE_DEPLOY_GCP_CLUSTER_NAME}" --zone "${GEOSPHERE_DEPLOY_GCP_ZONE_NAME}";
...
...
@@ -31,6 +34,7 @@
echo "export AWS_ACCESS_KEY_ID=$GEOSPHERE_DEPLOY_AWS_ACCESS_KEY_ID" >> $ENV_FILE;
echo "export AWS_SECRET_ACCESS_KEY=$GEOSPHERE_DEPLOY_AWS_SECRET_ACCESS_KEY" >> $ENV_FILE;
echo "export AWS_DEFAULT_REGION=$GEOSPHERE_DEPLOY_AWS_DEFAULT_REGION" >> $ENV_FILE;
source $ENV_FILE;
aws configure set aws_access_key_id "$AWS_ACCESS_KEY_ID";
aws configure set aws_secret_access_key "$AWS_SECRET_ACCESS_KEY";
aws configure set default.region "$AWS_DEFAULT_REGION";
...
...
@@ -41,5 +45,4 @@
kubectl config view --minify;
fi;
fi
-
source $ENV_FILE
-
helm registry login -u ${CI_REGISTRY_USER} -p ${CI_JOB_TOKEN} ${CI_REGISTRY}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment