Skip to content

Instantly share code, notes, and snippets.

View Jasstkn's full-sized avatar
🐒
chaos monkey

Maria Kotliarevskaia Jasstkn

🐒
chaos monkey
View GitHub Profile
@Jasstkn
Jasstkn / index.html
Created July 20, 2017 22:04
Story of feminism
<html>
<body>
<div class="image">
<img src="https://s18.postimg.org/tqg8prfvd/feminism_definition.jpg" alt>
</div>
<p> <b> Feminist </b> movements have campaigned and continue to campaign for <strong> womens rights </strong>, including the right to vote, to hold public office, to work, to earn fair wages or equal pay, to own property, to receive education, to enter
contracts, to have equal rights within marriage, and to have maternity leave. Feminists have also worked to promote bodily autonomy and integrity, and to protect women and girls from <strong> rape, sexual harassment, and domestic violence. </strong> </p>
<h1> What is women's march? </h1>
<div class="slideshow-container">
<div class="mySlides fade">
@Jasstkn
Jasstkn / scenario-lint.yml
Created March 10, 2021 06:45
molecule.yml for lint scenario
---
scenario:
name: lint
test_sequence:
- lint
driver:
name: docker
platforms:
- name: instance
image: geerlingguy/docker-${MOLECULE_DISTRO}-ansible:latest
@Jasstkn
Jasstkn / scenario-oh-my-zsh.yml
Created March 10, 2021 07:05
molecule.yml for oh-my-zsh scenario
---
scenario:
name: oh-my-zsh
test_sequence:
- create
- converge
- idempotence
- verify
driver:
name: docker
@Jasstkn
Jasstkn / converge.yml
Last active March 10, 2021 07:34
converge.yml for oh-my-zsh scenario
---
- name: Converge
hosts: all
pre_tasks:
- name: update apt cache
apt:
update_cache: yes
when: ansible_os_family == 'Debian'
changed_when: no
@Jasstkn
Jasstkn / test_role.py
Created March 10, 2021 07:45
test_role.py
import pytest
@pytest.mark.parametrize('username', [
'test_usr1',
'test_usr2',
'test_usr5',
])
def test_oh_my_zsh_install(host, username):
oh_my_zsh = host.file('/home/' + username + '/.oh-my-zsh')
@Jasstkn
Jasstkn / lint.yml
Created March 10, 2021 08:41
GA job for lint
jobs:
lint:
name: molecule lint
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
...
- name: Molecule test
run: |
@Jasstkn
Jasstkn / molecule-test.yml
Created March 10, 2021 08:43
molecule-test.yml
molecule-test:
name: molecule test
runs-on: ubuntu-latest
strategy:
matrix:
distro:
- ubuntu2004
- ubuntu1804
scenario:
- oh-my-zsh
version: 0.18.0
.options: &options
namespace: microservices-demo
wait: true
timeout: 300s
create_namespace: true
releases:
{{- with readFile "releases.yaml" | fromYaml | get "releases" }}
releases:
- name: adservice
- name: cartservice
- name: checkoutservice
- name: currencyservice
- name: emailservice
- name: frontend
- name: paymentservice
- name: productcatalogservice
- name: recommendationservice
version: 0.18.0
.options: &options
namespace: microservices-demo
wait: true
timeout: 300s
create_namespace: true
releases: