Skip to content

Commit d7bf393

Browse files
tegiozcynthia-sg
andauthored
Fix gitpod environment (#2758)
Signed-off-by: Sergio Castaño Arteaga <[email protected]> Signed-off-by: Cintia Sanchez Garcia <[email protected]> Co-authored-by: Sergio Castaño Arteaga <[email protected]> Co-authored-by: Cintia Sanchez Garcia <[email protected]>
1 parent 910d2d0 commit d7bf393

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

.gitpod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ tasks:
1212
- name: Backend
1313
init: |
1414
echo -e "\n- Setting up database..\n"
15-
cd && go get -u github.com/jackc/tern
15+
cd && go install github.com/jackc/tern@latest
1616
cd /tmp && git clone https://github.com/pgpartman/pg_partman && cd pg_partman && sudo make NO_BGW=1 install
1717
psql -c 'create database hub'
1818
cd /workspace/hub/database/migrations && TERN_CONF=/workspace/hub/.gitpod/tern.conf ./migrate.sh

.gitpod/Dockerfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
FROM gitpod/workspace-postgres
22

3-
RUN wget https://github.com/aquasecurity/trivy/releases/download/v0.36.1/trivy_0.36.1_Linux-64bit.deb && \
4-
sudo dpkg -i trivy_0.36.1_Linux-64bit.deb
5-
RUN sudo wget https://github.com/operator-framework/operator-registry/releases/download/v1.26.2/linux-amd64-opm -O /usr/local/bin/opm && \
6-
sudo chmod +x /usr/local/bin/opm
3+
RUN wget https://github.com/aquasecurity/trivy/releases/download/v0.36.1/trivy_0.36.1_Linux-64bit.deb \
4+
&& sudo dpkg -i trivy_0.36.1_Linux-64bit.deb
5+
RUN sudo wget https://github.com/operator-framework/operator-registry/releases/download/v1.26.2/linux-amd64-opm -O /usr/local/bin/opm \
6+
&& sudo chmod +x /usr/local/bin/opm
7+
RUN wget https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-linux-x86_64-2.11.0.tar.gz \
8+
&& sudo tar -C /usr/local -xzf libtensorflow-cpu-linux-x86_64-2.11.0.tar.gz \
9+
&& sudo ldconfig /usr/local/lib

.gitpod/hub.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,14 @@ server:
1212
shutdownTimeout: 10s
1313
webBuildPath: ../../web/build
1414
widgetBuildPath: ../../widget/build
15+
theme:
16+
colors:
17+
primary: "#417598"
18+
secondary: "#2D4857"
19+
images:
20+
appleTouchIcon192: "/static/media/logo192_v2.png"
21+
appleTouchIcon512: "/static/media/logo512_v2.png"
22+
openGraphImage: "/static/media/artifactHub_v2.png"
23+
shortcutIcon: "/static/media/logo_v2.png"
24+
websiteLogo: "/static/media/logo/artifacthub-brand-white.svg"
25+
siteName: "Artifact Hub"

.gitpod/tracker.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ tracker:
1414
repositoriesNames: []
1515
repositoriesKinds: []
1616
bypassDigestCheck: false
17+
categoryModelPath: ../../ml/category/model

0 commit comments

Comments
 (0)