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

Origin #8

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release
'on':
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
name: Build
steps:
- name: Check out the repo
uses: actions/checkout@v4

- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build image and push
uses: docker/build-push-action@v5
with:
push: true
tags: techn0mad/express-app:latest

123 changes: 0 additions & 123 deletions .github/workflows/example-application.yml

This file was deleted.

28 changes: 0 additions & 28 deletions .github/workflows/example-backend.yml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/workflows/scaling-exercise.yml

This file was deleted.

51 changes: 0 additions & 51 deletions .github/workflows/simple-web-service.yml

This file was deleted.

6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
docker-compose.yml
docker-compose.override.yml
.secrets
nginx.conf
node_modules
docker-compose.yml
3 changes: 0 additions & 3 deletions README.md

This file was deleted.

10 changes: 10 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Fetch URL: https://github.com/techn0mad/express-app-ecs.git

I logged in to AWS and did the following:
- Went to the ECS service
- Created a cluster named "HelsinginYliopisto"
- Created a task that contained the "devopsdockeruh/coursepage" Docker image in the cluster
- Configured ECS to run the task as a manual service, using the Fargate hosting service
- Once the cluster and task were up, I went to the public IP at "35.93.100.238"
to verify and view the course web page displayed by the Docker container

3 changes: 0 additions & 3 deletions example-application-cypress/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions example-application-cypress/cypress.json

This file was deleted.

5 changes: 0 additions & 5 deletions example-application-cypress/cypress/fixtures/example.json

This file was deleted.

This file was deleted.

9 changes: 0 additions & 9 deletions example-application-cypress/cypress/integration/nginx.spec.js

This file was deleted.

This file was deleted.

9 changes: 0 additions & 9 deletions example-application-cypress/cypress/integration/redis.spec.js

This file was deleted.

21 changes: 0 additions & 21 deletions example-application-cypress/cypress/plugins/index.js

This file was deleted.

Loading