[gnome-runtime-images] Add rust-bundle for the 3.30 runtime



commit 902483e9a0b8ef79f9a43ec0ac020da74089a220
Author: Jordan Petridis <jpetridis gnome org>
Date:   Mon Oct 1 23:37:51 2018 +0300

    Add rust-bundle for the 3.30 runtime

 .gitlab-ci.yml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d7004d9..1a153f1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -100,4 +100,18 @@ rust 3.28:
         - sed -e "s|@BASE_IMAGE@|$BASE_IMAGE|" sdk-bundles/rust-bundle.template > sdk-bundles/rust.yml
         # specify the branch
         - echo -n "//1.6" >> sdk-bundles/rust.yml
+    <<: *build
+
+rust 3.30:
+    stage: rust_bundle
+    before_script:
+        # https://stackoverflow.com/questions/2264428/converting-string-to-lower-case-in-bash#2264537
+        - export NAMESPACE="$(echo "${CI_PROJECT_NAMESPACE}" | tr A-Z a-z)"
+        - export IMAGE="${CI_REGISTRY}/${NAMESPACE}/${CI_PROJECT_NAME}/rust_bundle:3.30"
+        - export OCI_YML="sdk-bundles/rust.yml"
+
+        - export BASE_IMAGE="registry.gitlab.gnome.org/gnome/gnome-runtime-images/gnome:3.30"
+        - sed -e "s|@BASE_IMAGE@|$BASE_IMAGE|" sdk-bundles/rust-bundle.template > sdk-bundles/rust.yml
+        # specify the branch
+        - echo -n "//18.08" >> sdk-bundles/rust.yml
     <<: *build
\ No newline at end of file


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]