You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by nf...@apache.org on 2020/06/05 17:34:20 UTC
[camel-k] branch master updated: chore(ci): fix ci repository
configuration
This is an automated email from the ASF dual-hosted git repository.
nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/master by this push:
new 5aee2e5 chore(ci): fix ci repository configuration
5aee2e5 is described below
commit 5aee2e53cab9d543c7e846e5b738d170940dd266
Author: Nicola Ferraro <ni...@gmail.com>
AuthorDate: Fri Jun 5 17:54:00 2020 +0200
chore(ci): fix ci repository configuration
---
.github/workflows/builder.yml | 4 ++--
.github/workflows/knative.yml | 8 ++++----
.github/workflows/kubernetes.yml | 4 ++--
.github/workflows/openshift.yml | 4 ++--
4 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml
index 6a4dc40..acd1520 100644
--- a/.github/workflows/builder.yml
+++ b/.github/workflows/builder.yml
@@ -117,8 +117,8 @@ jobs:
docker build -t "${LOCAL_IMAGE}" -f build/Dockerfile .
docker push ${LOCAL_IMAGE}
- # Make the Apache Snapshots repository enabled by efault
- export KAMEL_INSTALL_MAVEN_REPOSITORIES=https://repository.apache.org/content/repositories/snapshots@id=apache-snapshots@snapshots
+ # Make the Apache Snapshots or Apache Staging repository enabled by default
+ export KAMEL_INSTALL_MAVEN_REPOSITORIES=$(make get-staging-repo)
echo "installing camel k cluster resources"
./kamel install --cluster-setup
diff --git a/.github/workflows/knative.yml b/.github/workflows/knative.yml
index 11974a7..61ef9ae 100644
--- a/.github/workflows/knative.yml
+++ b/.github/workflows/knative.yml
@@ -152,8 +152,8 @@ jobs:
docker build -t "${LOCAL_IMAGE}" -f build/Dockerfile .
docker push ${LOCAL_IMAGE}
- # Make the Apache Snapshots repository enabled by efault
- export KAMEL_INSTALL_MAVEN_REPOSITORIES=https://repository.apache.org/content/repositories/snapshots@id=apache-snapshots@snapshots
+ # Make the Apache Snapshots or Apache Staging repository enabled by default
+ export KAMEL_INSTALL_MAVEN_REPOSITORIES=$(make get-staging-repo)
echo "installing camel k cluster resources"
./kamel install --cluster-setup
@@ -301,8 +301,8 @@ jobs:
docker build -t "${LOCAL_IMAGE}" -f build/Dockerfile .
docker push ${LOCAL_IMAGE}
- # Make the Apache Snapshots repository enabled by efault
- export KAMEL_INSTALL_MAVEN_REPOSITORIES=https://repository.apache.org/content/repositories/snapshots@id=apache-snapshots@snapshots
+ # Make the Apache Snapshots or Apache Staging repository enabled by default
+ export KAMEL_INSTALL_MAVEN_REPOSITORIES=$(make get-staging-repo)
echo "Making kamel global"
sudo mv kamel /usr/local/bin/
diff --git a/.github/workflows/kubernetes.yml b/.github/workflows/kubernetes.yml
index c923944..a0037e8 100644
--- a/.github/workflows/kubernetes.yml
+++ b/.github/workflows/kubernetes.yml
@@ -114,8 +114,8 @@ jobs:
docker build -t "${LOCAL_IMAGE}" -f build/Dockerfile .
docker push ${LOCAL_IMAGE}
- # Make the Apache Snapshots repository enabled by efault
- export KAMEL_INSTALL_MAVEN_REPOSITORIES=https://repository.apache.org/content/repositories/snapshots@id=apache-snapshots@snapshots
+ # Make the Apache Snapshots or Apache Staging repository enabled by default
+ export KAMEL_INSTALL_MAVEN_REPOSITORIES=$(make get-staging-repo)
echo "installing camel k cluster resources"
./kamel install --cluster-setup
diff --git a/.github/workflows/openshift.yml b/.github/workflows/openshift.yml
index 400d38a..6e56e0a 100644
--- a/.github/workflows/openshift.yml
+++ b/.github/workflows/openshift.yml
@@ -141,8 +141,8 @@ jobs:
export IMAGE=docker.io/apache/camel-k:$(make version)
docker build -t "${IMAGE}" -f build/Dockerfile .
- # Make the Apache Snapshots repository enabled by efault
- export KAMEL_INSTALL_MAVEN_REPOSITORIES=https://repository.apache.org/content/repositories/snapshots@id=apache-snapshots@snapshots
+ # Make the Apache Snapshots or Apache Staging repository enabled by default
+ export KAMEL_INSTALL_MAVEN_REPOSITORIES=$(make get-staging-repo)
echo "installing camel k cluster resources"
./kamel install --cluster-setup