Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change #1057

Closed
wants to merge 5 commits into from
Closed

Change #1057

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 16 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@

env:
global:
- COMMIT=${TRAVIS_COMMIT::6}
sudo: required
services:
- docker
script:
- export REPO=mayadataio/kubera-docs;
- docker login -u "$DOCKER_USER" -p "$DOCKER_PASS" && docker build -t $REPO:$TRAVIS_BRANCH-$COMMIT . ;
- if [ "$TRAVIS_BRANCH" = "staging" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then export REPO=mayadataio/staging-kubera-docs;
docker login -u "$DOCKER_USER" -p "$DOCKER_PASS" && docker build -t $REPO:$TRAVIS_BRANCH-$COMMIT . && docker push $REPO:$TRAVIS_BRANCH-$COMMIT;
fi
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then
docker login -u "$DOCKER_USER" -p "$DOCKER_PASS" && docker build -t $REPO:$COMMIT . && docker push $REPO;
fi
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

FROM node:14-alpine as installation
ENV NODE_ENV production

RUN apk add --no-cache python make g++
WORKDIR /usr/src/docs
COPY package*.json ./

Expand All @@ -20,6 +22,7 @@ RUN npm ci

FROM node:14-alpine as bundles
WORKDIR /usr/src/docs
RUN apk add --no-cache python make g++
# Install the files used to create the bundles
COPY package*.json ./
COPY javascripts ./javascripts
Expand All @@ -36,7 +39,7 @@ FROM node:14-alpine

# Let's make our home
WORKDIR /usr/src/docs

RUN apk add --no-cache python make g++
# Ensure our node user owns the directory we're using
RUN chown node:node /usr/src/docs -R

Expand All @@ -62,6 +65,8 @@ COPY --chown=node:node middleware ./middleware
COPY --chown=node:node translations ./translations
COPY --chown=node:node server.js ./server.js
COPY --chown=node:node package*.json ./
COPY --chown=node:node feature-flags.json ./
COPY --chown=node:node layouts ./layouts

EXPOSE 443
CMD ["node", "server.js"]
Binary file added assets/images/enterprise/navigation/kubera.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/images/enterprise/navigation/octocat-icon.png
Binary file not shown.
Binary file modified assets/images/site/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 7 additions & 12 deletions assets/images/site/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
165 changes: 0 additions & 165 deletions content/actions/creating-actions/about-actions.md

This file was deleted.

This file was deleted.

Loading