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/02/04 11:11:05 UTC
[camel-k] 03/05: Enable Apache Snapshot repository by default
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
commit 3c99d93eded8071b09435fa41d2718f771b1db5b
Author: lburgazzoli <lb...@gmail.com>
AuthorDate: Mon Feb 3 16:39:49 2020 +0100
Enable Apache Snapshot repository by default
---
.github/workflows/pr-kind.yml | 4 ++++
.github/workflows/pr-knative.yml | 4 ++++
script/travis_build.sh | 1 +
3 files changed, 9 insertions(+)
diff --git a/.github/workflows/pr-kind.yml b/.github/workflows/pr-kind.yml
index 0abd374..7e20040 100644
--- a/.github/workflows/pr-kind.yml
+++ b/.github/workflows/pr-kind.yml
@@ -86,6 +86,10 @@ jobs:
export IMAGE=${CAMEL_K_REGISTRY}:5000/apache/camel-k:$(make version)
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
+
echo "installing camel k cluster resources"
./kamel install --cluster-setup
diff --git a/.github/workflows/pr-knative.yml b/.github/workflows/pr-knative.yml
index 5bc168f..53d2aed 100644
--- a/.github/workflows/pr-knative.yml
+++ b/.github/workflows/pr-knative.yml
@@ -103,6 +103,10 @@ jobs:
export IMAGE=${CAMEL_K_REGISTRY}:5000/apache/camel-k:$(make version)
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
+
echo "installing camel k cluster resources"
./kamel install --cluster-setup
diff --git a/script/travis_build.sh b/script/travis_build.sh
index d8cc6b0..60c1f2e 100755
--- a/script/travis_build.sh
+++ b/script/travis_build.sh
@@ -77,6 +77,7 @@ export IMAGE=docker.io/apache/camel-k:$(make version)
docker build -t "${IMAGE}" -f build/Dockerfile .
echo "installing camel k cluster resources"
+export KAMEL_INSTALL_MAVEN_REPOSITORIES=https://repository.apache.org/content/repositories/snapshots@id=apache-snapshots@snapshots
./kamel install --cluster-setup
oc login -u developer