Software Development and Programming Careers (Official Discussion Thread)

Sonny Bonds

Superstar
Supporter
Joined
Apr 24, 2014
Messages
4,620
Reputation
916
Daps
13,253
Is this correct? It's a YAML file to delete an s3 bucket and copy a Gitlab project to the empty bucket. I defined the variables in Gitlab.

stages: # List of stages for jobs, and their order of execution
- staging

deploy new version to staging:
only:
refs:
- main
stage: staging
image: python:latest
allow_failure: false
before_script:
- export AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID
- export AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY
- export AWS_DEFAULT_REGION=$AWS_REGION
script: |
apt-get update -y
apt install zip -y

pip install awscli

echo "Deleting content from S3"
aws s3 rm --recursive s3://$AWS_S3_BUCKET/

echo "Uploading to S3"
aws s3 cp --recursive /public/. s3://$AWS_S3_BUCKET/

environment:
name: staging
 

Mike809

Veteran
Supporter
Joined
Oct 15, 2015
Messages
16,097
Reputation
3,651
Daps
82,072
Reppin
Bronx

Obreh Winfrey

Truly Brehthtaking
Supporter
Joined
Nov 18, 2016
Messages
20,852
Reputation
25,252
Daps
131,941
i already have the website saved but think i will stop trying to cut corners and just read cracking the interview
Been a while since I looked but it was mostly just programming problems. Nothing you won't find on Leet Code or similar.
 

Mike809

Veteran
Supporter
Joined
Oct 15, 2015
Messages
16,097
Reputation
3,651
Daps
82,072
Reppin
Bronx
how long did it take you to create it?
Well , I started it like a month and a half ago with the backend and that took me a while due to laziness.

Once I started on the front end , like 2 weeks ago is when I started putting some major progress each day. Working on the frontend motivates me more due to being able to see actual visual results.
 

cobra

Superstar
Supporter
Joined
Apr 24, 2017
Messages
11,364
Reputation
-1,281
Daps
50,029
Studying for a few interviews and the game has definitely changed


Need to know graphs, BFS, DFS and backtracking :hhh:
 
  • Dap
Reactions: F K
Top