Skip to content

vixtech/frontend-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

VIX FRONTEND TEST

Requirements

  • Have an account on Docker Hub
  • Have Docker installed
  • Have docker-compose installed
  • Do not have services running on the ports (9191, 8181, 8080 and 2222)

Test

We will provide a docker image for you, this image will have an enviroment like we have on VIX. It will have:

  • GITEA - software development version control.
  • Staging Environment - When you merge something on master this environment will be updated whitin the master branch. (This is not your dev/local env.)
  • Drone - Continuos Integration/Continuos Delivery
  • SSH - Secure Shell

Step by Step

In order to proceed here you have to have all the requirements.

Clone the Repo
git clone https://github.com/vixtech/frontend-test.git

Run the docker image

Inside the project directory.

docker-compose up

Access all the services with your browser

  • Gitea (User: candidate, Password: changeit)

The Gitea works like GitHub, you will use the provided user/password to login, and there you will have a repository with some issues to resolve. We expect that you create 1 Pull Request per issue. When all tests of the Pull Request CI/CD pass you can merge the PR yourself. We also expect that you match the PR in the issue and may update the issue with additional info.

All the code that is merged to master is deployed in this environment.

Drone is our CI/CD application, it will run the pipeline for all commit we push to the repo.

After you solve the test

Commit the available container by just executing this command:

Change the change-here-for-your-docker-hub-username for your docker-hub username

docker commit $(docker ps | grep frontend-test | awk '{print $1}') change-here-for-your-docker-hub-username/frontend-test

Then make a docker login:

docker login

Then push the image.

Change the change-here-for-your-docker-hub-username for your docker-hub username

docker push change-here-for-your-docker-hub-username/frontend-test

Send us back the name of your image, like:

change-here-for-your-docker-hub-username/frontend-test

Commom problems

  • drone cookie error (just clear the site data)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published